misc/174436: [jail] Jails with numbers as names don't work
Robert Schulze
rs at bytecamp.net
Tue Dec 18 09:50:01 UTC 2012
The following reply was made to PR kern/174436; it has been noted by GNATS.
From: Robert Schulze <rs at bytecamp.net>
To: Mateusz Guzik <mjguzik at gmail.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: misc/174436: [jail] Jails with numbers as names don't work
Date: Tue, 18 Dec 2012 10:48:18 +0100
Hi,
Am 17.12.2012 22:31, schrieb Mateusz Guzik:
>
> Can you send me your kernel or put somewhere for download?
>
> If not, provide output of the following:
> # addr2line -e /boot/kernel/kernel 0xffffffff804debff
> # addr2line -e /boot/kernel/kernel 0xffffffff804dbef6
# addr2line -e /boot/kernel/kernel 0xffffffff804debff
/usr/src/sys/kern/kern_jail.c:1848
# addr2line -e /boot/kernel/kernel 0xffffffff804dbef6
/usr/src/sys/kern/kern_jail.c:4537
Shall I build GENERIC on this machine and try again?
>
> Also I don't think that '0' has any significance here. Can you change it
> to something else and try again? Can you try with different IP?
> Preferably 127.0.0.2 on lo0.
# vi /etc/rc.conf
jail_0_rootdir="/mnt/jail-0"
jail_0_hostname="foobar.example.com"
jail_0_ip="127.0.0.2"
jail_0_devfs_enable="YES"
jail_0_interface="lo0"
# /etc/rc.d/jail onestart 0
Configuring jails:.
Starting jails:
-> SAME panic
# vi /etc/rc.conf
jail_j0_rootdir="/mnt/jail-0"
jail_j0_hostname="foobar.example.com"
jail_j0_ip="127.0.0.2"
jail_j0_devfs_enable="YES"
jail_j0_interface="lo0"
# /etc/rc.d/jail onestart j0
Configuring jails:.
Starting jails:
foobar.example.com
-> NO panic.
# jls
JID IP Address Hostname Path
1 127.0.0.2 foobar.example.com /mnt/jail-0
with kind regards,
Robert Schulze
More information about the freebsd-jail
mailing list