From owner-freebsd-current@FreeBSD.ORG Fri May 12 11:16:07 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2F3116A404; Fri, 12 May 2006 11:16:06 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (aun50.neoplus.adsl.tpnet.pl [83.27.21.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BAC043D46; Fri, 12 May 2006 11:16:05 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.6/8.13.6) with ESMTP id k4CBFwuC084584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 May 2006 13:16:03 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <44646E67.1010308@orchid.homeunix.org> Date: Fri, 12 May 2006 13:15:51 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5.0.2 (X11/20060424) MIME-Version: 1.0 To: Florent Thoumie References: <1147425701.27355.15.camel@mayday.esat.net> In-Reply-To: <1147425701.27355.15.camel@mayday.esat.net> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFAAC5ED35B16A254D52073DB" X-Virus-Scanned: ClamAV 0.88.2/1459/Thu May 11 22:46:49 2006 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Jail testers needed (rc.d/jail) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 11:16:07 -0000 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 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--