misc/174436: Jails with numbers as names don't work
Robert Schulze
rs at bytecamp.net
Fri Dec 14 15:20:01 UTC 2012
>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 at 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:
More information about the freebsd-bugs
mailing list