Re: jail and devfs

From: Melvyn Sopacua <freebsd-current_at_webteckies.org>
Date: Mon, 9 Feb 2004 02:35:46 +0100
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
=======================================================

Received on Sun Feb 08 2004 - 16:35:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC