Date: Mon, 9 Feb 2004 02:35:46 +0100 From: Melvyn Sopacua <freebsd-current@webteckies.org> To: current@FreeBSD.org Subject: Re: jail and devfs Message-ID: <200402090235.51897.freebsd-current@webteckies.org> In-Reply-To: <20040209005011.GB10831@grummit.biaix.org> References: <200402052156.38154.freebsd-current@webteckies.org> <20040209005011.GB10831@grummit.biaix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <freebsd-current@webteckies.org> [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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090235.51897.freebsd-current>