Re: Jail testers needed (rc.d/jail)

From: Karol Kwiatkowski <freebsd_at_orchid.homeunix.org>
Date: Fri, 12 May 2006 13:15:51 +0200
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.32

Success 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


Received on Fri May 12 2006 - 09:16:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC