From owner-freebsd-current@FreeBSD.ORG Sun Feb 8 17:35:53 2004 Return-Path: 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 3822616A4CE for ; Sun, 8 Feb 2004 17:35:53 -0800 (PST) Received: from sarevok.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06BE643D2F for ; Sun, 8 Feb 2004 17:35:53 -0800 (PST) (envelope-from mdev@sarevok.webteckies.org) Received: by sarevok.webteckies.org (Postfix, from userid 100) id 127B2B91C; Mon, 9 Feb 2004 02:35:52 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: current@FreeBSD.org Date: Mon, 9 Feb 2004 02:35:46 +0100 User-Agent: KMail/1.5.94 References: <200402052156.38154.freebsd-current@webteckies.org> <20040209005011.GB10831@grummit.biaix.org> In-Reply-To: <20040209005011.GB10831@grummit.biaix.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_3PuJAWGJPJWOhen"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402090235.51897.freebsd-current@webteckies.org> Subject: Re: jail and devfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 01:35:53 -0000 --Boundary-02=_3PuJAWGJPJWOhen Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 09 February 2004 01:50, Joan Picanyol wrote: > * Melvyn Sopacua [20040205 22:51]: > > if anyone is using a jail devfs, please do share :) > > 503,p0,0$ mount | grep devfs > devfs on /dev (devfs, local) > devfs on /fs/pop3/mount/std-root/dev (devfs, local) > 504,p0,0$ grep jail /etc/rc.conf > jail_enable=3D"YES" > jail_list=3D"pop3" > jail_pop3_rootdir=3D"/fs/pop3/mount/std-root/" > jail_pop3_hostname=3D"pop3.earth" > jail_pop3_ip=3D"127.127.0.110" > jail_pop3_devfs_enable=3D"YES" > jail_pop3_fdescfs_enable=3D"YES" > 505,p0,0$ Yeah, I finally saw why my setup didn't work. Last thursday though, I thoug= ht=20 I must have something completely wrong and turned to devfs.conf for savior. The real error is in /etc/rc.subr for RELENG_5_2, it is fixed in HEAD.=20 Basically the rules are "configured" for the specified jail/foo/dev dir, bu= t=20 they are not being applied, by a `devfs -m $dir rule applyset'. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Ja= n 28=20 18:01:18 CET 2004 =20 root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG = =20 i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_3PuJAWGJPJWOhen Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAJuP3Ov9JNmfFN5URAmF0AJ4q0elUvJoAItVqb5Dvy8ZiKJFeywCfcjAP D9UWLHpm8y3OAZsgav8+D6Q= =+g0r -----END PGP SIGNATURE----- --Boundary-02=_3PuJAWGJPJWOhen--