From owner-freebsd-current@FreeBSD.ORG Sun Aug 3 16:04:20 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D190737B401; Sun, 3 Aug 2003 16:04:20 -0700 (PDT) Received: from pool-151-200-10-97.res.east.verizon.net (pool-138-88-98-72.res.east.verizon.net [138.88.98.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A98143FBD; Sun, 3 Aug 2003 16:04:19 -0700 (PDT) (envelope-from mtm@identd.net) Received: from kokeb.ambesa.net (u6qrvxdgq7cohv2u@localhost [127.0.0.1]) id h73N4Ekv017013; Sun, 3 Aug 2003 19:04:14 -0400 (EDT) (envelope-from mtm@identd.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.9/8.12.9/Submit) id h73N4BwV017012; Sun, 3 Aug 2003 19:04:11 -0400 (EDT) (envelope-from mtm@identd.net) X-Authentication-Warning: kokeb.ambesa.net: mtm set sender to mtm@identd.net using -f Date: Sun, 3 Aug 2003 19:04:11 -0400 From: Mike Makonnen To: Jens Rehsack Message-ID: <20030803230410.GA16947@kokeb.ambesa.net> References: <3F26AA16.5030007@liwing.de> <20030729172122.GA5005@kokeb.ambesa.net> <3F26BC7B.8070507@liwing.de> <20030801232918.GA37095@kokeb.ambesa.net> <3F2D1800.5020006@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F2D1800.5020006@liwing.de> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD/5.1-CURRENT (i386) cc: Clement Laforet cc: Robert Watson cc: FreeBSD-Current List Subject: Re: [PATCH] jail NG schript patch for mounting devfs and procfs automatically X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2003 23:04:21 -0000 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!