Hey lists, Two or three days before the CVS tree has been tagged for FreeBSD 6.1-RELEASE, I've committed a broken version of the jail rc.d script. The symptoms are: - an ifconfig error message if you don't define a jail_interface and have at least one jail configured, this one is harmless. - a problem with one of the following variable: jail_exec, jail_exec_start, jail_exec_stop, jail_flags and especially jail_fstab; if you have at least two jails configured. I committed yesterday a fix that should supposedly fix both of these issues so I'd need all jail users running either FreeBSD 6.1-RELEASE or 6-STABLE (older than two days) to try the new script [1] and report the result, either successful or not. Once I'll get enough successful reports, I'll contact the Release Engineering team to make sure the patch makes it to the RELENG_6_1 branch. Sorry for the inconvenience. Note: Keep me CC'ed as I'm not (yet) subscribed to these lists. [1] http://cvsweb.freebsd.org/src/etc/rc.d/jail?rev=1.32 -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060512/8b882e2c/attachment.pgp
On 12/05/2006 11:21, Florent Thoumie wrote:> Hey lists, > > Two or three days before the CVS tree has been tagged for FreeBSD > 6.1-RELEASE, I've committed a broken version of the jail rc.d script. > > The symptoms are: > > - an ifconfig error message if you don't define a jail_interface and > have at least one jail configured, this one is harmless. > - a problem with one of the following variable: jail_exec, > jail_exec_start, jail_exec_stop, jail_flags and especially jail_fstab; > if you have at least two jails configured. > > I committed yesterday a fix that should supposedly fix both of these > issues so I'd need all jail users running either FreeBSD 6.1-RELEASE or > 6-STABLE (older than two days) to try the new script [1] and report the > result, either successful or not. Once I'll get enough successful > reports, I'll contact the Release Engineering team to make sure the > patch makes it to the RELENG_6_1 branch. > > Sorry for the inconvenience. > > Note: Keep me CC'ed as I'm not (yet) subscribed to these lists. > > [1] http://cvsweb.freebsd.org/src/etc/rc.d/jail?rev=1.32Success on 6.1-RELEASE. I've got 2 jails and was hit by the first issue (ifconfig one). With rc.d/jail rev=1.32 all works fine (rc.conf jails setup below). Let me know if you need more informations. Thanks! Karol /etc/rc.conf: ifconfig_rl2_alias1="inet 10.0.0.1 netmask 0xffffffff" ifconfig_rl2_alias2="inet 10.0.0.2 netmask 0xffffffff" jail_enable="YES" jail_set_hostname_allow="NO" jail_list="apache ssh" jail_apache_rootdir="/data/jails/10.0.0.1" jail_apache_hostname="www.my.server" jail_apache_ip="10.0.0.1" jail_apache_exec="/bin/sh /etc/rc" jail_apache_devfs_enable="YES" jail_apache_fdescfs_enable="NO" jail_apache_procfs_enable="NO" jail_ssh_rootdir="/data/jails/10.0.0.2" jail_ssh_hostname="ssh.my.server" jail_ssh_ip="10.0.0.2" jail_ssh_exec="/bin/sh /etc/rc" jail_ssh_devfs_enable="YES" jail_ssh_fdescfs_enable="NO" jail_ssh_procfs_enable="NO" -- Karol Kwiatkowski <freebsd at orchid dot homeunix dot org> OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060512/60b56f26/signature.pgp
On Fri, May 12, 2006 at 10:21:41AM +0100, Florent Thoumie wrote:> Hey lists, > > Two or three days before the CVS tree has been tagged for FreeBSD > 6.1-RELEASE, I've committed a broken version of the jail rc.d script. > > The symptoms are: > > - an ifconfig error message if you don't define a jail_interface and > have at least one jail configured, this one is harmless. > - a problem with one of the following variable: jail_exec, > jail_exec_start, jail_exec_stop, jail_flags and especially jail_fstab; > if you have at least two jails configured. > > I committed yesterday a fix that should supposedly fix both of these > issues so I'd need all jail users running either FreeBSD 6.1-RELEASE or > 6-STABLE (older than two days) to try the new script [1] and report the > result, either successful or not. Once I'll get enough successful > reports, I'll contact the Release Engineering team to make sure the > patch makes it to the RELENG_6_1 branch.I hit both the ifconfig issue and an issue where rc.d/jail would not start all of my defined jails. Both issues appear to be fixed with the latest version of jail from CVS. Thanks! Dan