Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 13:15:51 +0200
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        Florent Thoumie <flz@freebsd.org>
Cc:        freebsd-current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Jail testers needed (rc.d/jail)
Message-ID:  <44646E67.1010308@orchid.homeunix.org>
In-Reply-To: <1147425701.27355.15.camel@mayday.esat.net>
References:  <1147425701.27355.15.camel@mayday.esat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFAAC5ED35B16A254D52073DB
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

On 12/05/2006 11:21, Florent Thoumie wrote:
> Hey lists,
>=20
> 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.
>=20
> The symptoms are:
>=20
> - 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.
>=20
> 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=3D1.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=3D1.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=3D"inet 10.0.0.1 netmask 0xffffffff"
ifconfig_rl2_alias2=3D"inet 10.0.0.2 netmask 0xffffffff"
jail_enable=3D"YES"
jail_set_hostname_allow=3D"NO"
jail_list=3D"apache ssh"
jail_apache_rootdir=3D"/data/jails/10.0.0.1"
jail_apache_hostname=3D"www.my.server"
jail_apache_ip=3D"10.0.0.1"
jail_apache_exec=3D"/bin/sh /etc/rc"
jail_apache_devfs_enable=3D"YES"
jail_apache_fdescfs_enable=3D"NO"
jail_apache_procfs_enable=3D"NO"
jail_ssh_rootdir=3D"/data/jails/10.0.0.2"
jail_ssh_hostname=3D"ssh.my.server"
jail_ssh_ip=3D"10.0.0.2"
jail_ssh_exec=3D"/bin/sh /etc/rc"
jail_ssh_devfs_enable=3D"YES"
jail_ssh_fdescfs_enable=3D"NO"
jail_ssh_procfs_enable=3D"NO"


--=20
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc


--------------enigFAAC5ED35B16A254D52073DB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEZG5uezeoPAwGIYsRAq3cAJ9B64jbuRN2U00j532ZohnoHge7eACdF9Te
zhLHLbbcEEih45XCAhDH3Xs=
=53fG
-----END PGP SIGNATURE-----

--------------enigFAAC5ED35B16A254D52073DB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44646E67.1010308>