Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 11:24:49 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030216112449.58bb267f.Alexander>