Date: Sun, 3 Aug 2003 19:04:11 -0400 From: Mike Makonnen <mtm@identd.net> To: Jens Rehsack <rehsack@liwing.de> Cc: FreeBSD-Current List <current@FreeBSD.org> Subject: Re: [PATCH] jail NG schript patch for mounting devfs and procfs automatically Message-ID: <20030803230410.GA16947@kokeb.ambesa.net> In-Reply-To: <3F2D1800.5020006@liwing.de> References: <Pine.NEB.3.96L.1030729124628.75304H-100000@fledge.watson.org> <3F26AA16.5030007@liwing.de> <20030729172122.GA5005@kokeb.ambesa.net> <3F26BC7B.8070507@liwing.de> <20030801232918.GA37095@kokeb.ambesa.net> <3F2D1800.5020006@liwing.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 03, 2003 at 04:11:12PM +0200, Jens Rehsack wrote: > > the patch works for me very well. I've checked what's been done > and had only small recommendations: > > - Wouldn't it be better to configure the devfs rules by > /etc/devfs.conf or is it impossible? > > - Even it would be a good thing, if I could specify a > ruleset for each jail, and fallback to devfs_ruleset_jail > if no jail_example_devfs_ruleset is specified? Ok. Here's a retooled patch. It now includes a devfs rule specification format that we can even use in the general case (i.e. - for /dev). The default rules for a jail are included in it. It's in etc/defaults/devfs.rules and should be self-explanatory. I also put back Scott's code in rc.d/jail for handlind rulesets for individual jails. But I kept the default jail ruleset hard-coded. I don't see the poing of creating yet another knob for it. If a user doesn't want the default that's what the individual knobs for the jails are there for :) Let me know how it goes. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030803230410.GA16947>