From owner-freebsd-stable@FreeBSD.ORG Wed Mar 29 01:06:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEB8216A420 for ; Wed, 29 Mar 2006 01:06:45 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC4643D45 for ; Wed, 29 Mar 2006 01:06:45 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 4412462C9F7; Tue, 28 Mar 2006 21:06:44 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46903-10; Tue, 28 Mar 2006 21:06:44 -0400 (AST) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id E04A862C7D2; Tue, 28 Mar 2006 21:06:43 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id 70CA95F278; Tue, 28 Mar 2006 21:06:47 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6F38A5F276; Tue, 28 Mar 2006 21:06:47 -0400 (AST) Date: Tue, 28 Mar 2006 21:06:47 -0400 (AST) From: "Marc G. Fournier" To: Scott Robbins In-Reply-To: <20060328034333.GA84613@mail.scottro.net> Message-ID: <20060328210628.T947@ganymede.hub.org> References: <20060327230402.X947@ganymede.hub.org> <20060328034333.GA84613@mail.scottro.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org Cc: freebsd-stable@freebsd.org Subject: Re: devfs on /my/jail/dev ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 01:06:46 -0000 The problem is that I'm not running from rc.conf, not using a shell script ;( On Mon, 27 Mar 2006, Scott Robbins wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, Mar 27, 2006 at 11:18:21PM -0400, Marc G. Fournier wrote: >> >> I'm missing something here ... I've looked in /etc/defaults/devfs.conf, and >> found that ruleset 4 is what I want for a jail ... so, I issue: >> >> devfs -m /vm/.t19/dev ruleset 4 >> >> but its not doing anything: > > > If I understand, you want the devfs ruleset for jails, the more or less > pre-built one. > > This is what worked for me. First, I name the jail with an arbitrary > name in /etc/rc.conf, for example > > jail_list="myjail" > Then, I have a line > jail_myjail_devfs_ruleset="devfs_rules_jail" > > (Or you can use ez_jail from ports which does it for you.) > > So, I think what you want, at least when you run it from rc.conf would > be devfs_rules_jail > > > - -- > > Scott Robbins > > PGP keyID EB3467D6 > ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) > gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 > > Willow: Why couldn't he be possessed by a puppy, or some > ducks? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (FreeBSD) > > iD8DBQFEKLDl+lTVdes0Z9YRAlYOAJ9fngxC0mCD0f1e9YcNc8t/7Vnk9QCZARAj > BBpQgT6SBvW7LUsmXq5ypi8= > =Z39v > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664