Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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="YES"
> jail_list="pop3"
> jail_pop3_rootdir="/fs/pop3/mount/std-root/"
> jail_pop3_hostname="pop3.earth"
> jail_pop3_ip="127.127.0.110"
> jail_pop3_devfs_enable="YES"
> jail_pop3_fdescfs_enable="YES"
> 505,p0,0$

Yeah, I finally saw why my setup didn't work. Last thursday though, I thought 
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. 
Basically the rules are "configured" for the specified jail/foo/dev dir, but 
they are not being applied, by a `devfs -m $dir rule applyset'.
-- 
Melvyn

=======================================================
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 
18:01:18 CET 2004     
root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
=======================================================

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAJuP3Ov9JNmfFN5URAmF0AJ4q0elUvJoAItVqb5Dvy8ZiKJFeywCfcjAP
D9UWLHpm8y3OAZsgav8+D6Q=
=+g0r
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090235.51897.freebsd-current>