Date: Fri, 14 Dec 2012 15:13:18 GMT From: Robert Schulze <rs@bytecamp.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/174436: Jails with numbers as names don't work Message-ID: <201212141513.qBEFDIrx050902@red.freebsd.org> Resent-Message-ID: <201212141520.qBEFK01e059129@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174436 >Category: misc >Synopsis: Jails with numbers as names don't work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 14 15:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Robert Schulze >Release: 9.1-PRERELEASE >Organization: bytecamp GmbH >Environment: FreeBSD xxxxx 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r244185M: Fri Dec 14 14:14:25 CET 2012 root@xxxxx:/usr/obj/usr/src/sys/TEST amd64 >Description: When configuring jails with numbers as their names, one can't start a jail named "0" (system panics) or "1" (cannot start jail "1"). Maybe this could just be documented, or better an error message should be printed by /etc/rc.d/jail, that numbers can't be used as jail names. This problem exists in previous versions of FreeBSD, too. >How-To-Repeat: /etc/rc.conf: jail_0_rootdir="/mnt/jail-0" jail_0_hostname="foobar0.example.com" jail_0_ip="nn.yy.zz.aa" jail_0_devfs_enable="YES" jail_0_interface="em0" jail_1_rootdir="/mnt/jail-1" jail_1_hostname="foobar1.example.com" jail_1_ip="nn.yy.zz.aa" jail_1_devfs_enable="YES" jail_1_interface="em0 # /etc/rc.d/jail start 0 -> panic # /etc/rc.d/jail start 1 Configuring jails:. Starting jails: cannot start jail "1": >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212141513.qBEFDIrx050902>