[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#766544: bind9: /sbin/dhclient requires ISC libs in /usr/lib



Michael Gilbert wrote:
> On Thu, Oct 23, 2014 at 5:10 PM, Steven Chamberlain wrote:
> > A consequence of /sbin/dhclient now being dynamically linked, is that it
> > requires libs under /usr/lib, so the case of /usr on a remote filesystem
> > such as NFS will no longer work if using DHCP.
> >
> > (Not entirely kfreebsd-specific, but AIUI Linux with systemd is unlikely
> > to support such a setup nowadays?).
> >
> > Is it possible those libs could be installed under /lib?  Thanks.
> 
> Would a possibly better/alternative solution be to move /sbin/dhclient
> to /usr/sbin in isc-dhcp?

That would make no difference in this situation, dhclient would be
unusable either way:

I imagine dhclient is in /sbin for the reason I described, so that
it can bring up networking before mounting network filesystems,
possibly including /usr

If you rely on DHCP to bring up the network, and /usr is on a
network filesystem, you wouldn't have access to those libs...
this used to work fine when /sbin/dhclient was staticically linked.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: