misc/58272: [patch] rc.d/diskless detection, dhcp rebuild
Dirk-Willem van Gulik
dirkx at webweaving.org
Tue Oct 21 14:00:31 PDT 2003
The following reply was made to PR misc/58272; it has been noted by GNATS.
From: Dirk-Willem van Gulik <dirkx at webweaving.org>
To: Matt Peterson <matt at peterson.org>
Cc: FreeBSD-gnats-submit at freebsd.org, dougb at freebsd.org,
phk at freebsd.org
Subject: Re: misc/58272: [patch] rc.d/diskless detection, dhcp rebuild
Date: Tue, 21 Oct 2003 13:50:16 -0700 (PDT)
> Actually, we need to re-think this. In our situation (again, not PXE
> boot, but CF card mounted read-only), dhclient is currently run after
> the diskless script (thus it can't plum the system's resolv.conf,
> hostnamed and related). See below...
dhclient wants contineous access - so it wil have to live on /var/* or in
a /etc overlay which is RW.
Our solution has been to let a /etc/resolv.conf be set up as a link from
/etc/ - and modify dhclient-script in /sbin to cope with both symlinks and
a normal /etc.
More information about the freebsd-bugs