From owner-freebsd-current@FreeBSD.ORG Tue Sep 20 19:24:48 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 C361B16A427 for ; Tue, 20 Sep 2005 19:24:48 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D0DA43D46 for ; Tue, 20 Sep 2005 19:24:47 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FABE.dip.t-dialin.net [84.165.250.190]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j8KJB9Nv049772; Tue, 20 Sep 2005 21:11:21 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j8KJNMhY064578; Tue, 20 Sep 2005 21:23:23 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 20 Sep 2005 21:23:22 +0200 From: Alexander Leidinger To: Martin Cracauer Message-ID: <20050920212322.3e609568@Magellan.Leidinger.net> In-Reply-To: <20050919163608.A49288@cons.org> References: <20050919130810.A41848@cons.org> <20050919214239.6f5f40ad@Magellan.Leidinger.net> <20050919163608.A49288@cons.org> X-Mailer: Sylpheed-Claws 1.9.14 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: device entries outside /proc with procfs (for chroot) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 20 Sep 2005 19:24:49 -0000 On Mon, 19 Sep 2005 16:36:09 -0400 Martin Cracauer wrote: > > I'm wondering why you get problems. Don't create a dev directory at all > > and the kernel should fall back to the native one. > > This is for chrooted environments which don't fall back. Ok, valid point. > It seemes that the controlled procfs mounting is the solution. In my > case I don't chroot for security reasons, just to get the FreeBSD libs > and programs out of the way, so I don't even have to secure the second > mount. Yes, multiple devfs mounts are the way to go. Or mount linprocfs... > The documentation for this procedure should probably get into the > chroot manpage. It's at least documented in the man page for creating jails... I think. > What would be your idea of a proper Linux environment? They move > faster than I can follow :-) 8 is the default. If you don't have something which depends upon a newer one, use the default. A lot of people use rh-9 (OVERRIDE_LINUX_BASE_PORT=rh9 in make.conf), but the port has some flaws and Trevor doesn't react. I think I will claim a maintainer timeout soon (perhaps at the weekend if I get time) and fix some things (runtime linker path if you want to use the X11 libs). I don't use it myself, but I haven't heard very bad things about it. Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7