From owner-freebsd-current Sun Feb 16 2:25: 5 2003 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 2125637B401; Sun, 16 Feb 2003 02:25:03 -0800 (PST) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1510E43FBD; Sun, 16 Feb 2003 02:25:01 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd06.sul.t-online.de by mailout01.sul.t-online.com with smtp id 18kLyf-0006rr-0E; Sun, 16 Feb 2003 11:24:53 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.216.98]) by fmrl06.sul.t-online.com with esmtp id 18kLyc-1rzc4eC; Sun, 16 Feb 2003 11:24:50 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id h1GAOn8Z031831; Sun, 16 Feb 2003 11:24:49 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.7/8.12.7) with SMTP id h1GAOnSE001024; Sun, 16 Feb 2003 11:24:49 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 16 Feb 2003 11:24:49 +0100 From: Alexander Leidinger To: marius@alchemy.franken.de Cc: DougB@FreeBSD.org, current@FreeBSD.org, mtm@identd.net Subject: Re: named & chroot & rcNG & devfs Message-Id: <20030216112449.58bb267f.Alexander@Leidinger.net> In-Reply-To: <20030216030946.A93454@newtrinity.zeist.de> References: <20030211185931.0d37ef82.Alexander@Leidinger.net> <20030211202917.B36455@newtrinity.zeist.de> <20030215170451.E63308@12-234-22-23.pyvrag.nggov.pbz> <20030216030946.A93454@newtrinity.zeist.de> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 16 Feb 2003 03:09:46 +0100 marius@alchemy.franken.de wrote: > > > On the other hand shared libraries are needed (or a port that > > > supports linking bind statically...) > > > > cd /usr/ports/net/bind[89] > > make clean > > make CFLAGS+=-static -DPORT_REPLACES_BASE_BIND8 > > make install > > > > i don't like ports installing to locations of base system binaries, > i.e. /usr/sbin etc., and in the case of bind i don't see a reason > why the port should be installed in place of the base bind only to > get copied over to the chroot. wouldn't it be fine if the bind ports > would support '-DPORT_INSTALL_CHROOT' or something only installing > static binaries directly to the chroot? on the other hand "Or something": copy the needed files (named, named-xfer) based upon "echo $(dirname ${named_program})|sed -e 's:/sbin::'" > /etc/rc.d/named probably should also support running chrooted with > the base bind which would either require copying the required libs > or a statically linked base bind... > well, i'm looking forward to your improved version. lines=$(($(ldd ${program} | wc -l) - 1)) for lib in $(ldd ${program} | tail -${lines} | sed -e 's:.*=> ::g;s: (.*::g'); do cp $lib .... done I also think we should have a look at the output of rcNG in general and decide which style we want to use. At the moment we have the "old" style "Configuring syscons: fontX Y Z foo bar" and also "Starting sshd.", "Starting lpd.", ... and also /usr/local/etc/rc.d with the "old" style start messages. This is inconsistent. Bye, Alexander. -- It's not a bug, it's tradition! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message