jail and devfs

Melvyn Sopacua freebsd-current at webteckies.org
Sun Feb 8 17:35:53 PST 2004


On Monday 09 February 2004 01:50, Joan Picanyol wrote:
> * Melvyn Sopacua <freebsd-current at 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 at sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040209/301eeda4/attachment.bin


More information about the freebsd-current mailing list