summaryrefslogtreecommitdiff
path: root/usr.bin/column/Makefile
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2021-03-02 12:03:51 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2021-03-02 12:03:51 +0000
commit6477c169747735d05dca0840e56751a3fcd50343 (patch)
treef84bf3667b4207d8d1eb172bc3a30ec5d94895c5 /usr.bin/column/Makefile
parent68d54f348f8cc7d7580a033e4c7361dbfb13c8f8 (diff)
Make unveiling the lease directory a warning instead of a fatal error
when the lease directory does not exist. This means that dhcpleased(8) will no longer request a previously configured IP address from the dhcp server and will fall back to DHCPDISCOVER which requests any IP address from the dhcp server. This likely makes diskless(8) work with dhcpleased(8). A normal diskless(8) setup has only / mounted via nfs when dhcpleased(8) starts. /var exists but nothing is mounted there yet, meaning /var/db/dhcpleased does not exist so lease files are disabled. dhcpleased(8) sends a DHCPDISCOVER to request any IP address but since the dhcp server has (very likely) a 'fixed-address' configured we get the same IP back that is already configured. If /var/db/dhcpleased/ exists on / (and /var is *NOT* mounted later) in a diskless(8) setup, care must be taken that the root file system is not shared between machines. If /var/db/dhcpleased/ exists on / and /var on NFS is mounted over this later bad things probably happen. This is a configuration error and must befixed. discussed with deraadt@ Actuall tests on existing diskless(8) setups would be appreciated.
Diffstat (limited to 'usr.bin/column/Makefile')
0 files changed, 0 insertions, 0 deletions