On 12/21/22 09:05, Crystal Kolipe wrote:
On Wed, Dec 21, 2022 at 01:39:47PM +0000, Rodrigo Readi wrote:
The command "dhclient -d run0" with or without "-d" seems to demonize,
always, and is till now completely silent.
Is this new behaviour normal? How I get it the old way?
You might want to look at the commit message for version 1.727 of
dhclient.c:
http://cvsweb.openbsd.org/src/sbin/dhclient/dhclient.c
dhcpleased appears to be a useful & complete replacement
for dhclient for most users
Right now I run dhclient on my gateway machine.
I cut off its fingers when it tries to e.g. mess with routes or resolv.conf.
I disable dhcpleased because I don't know -exactly- what it tries to do.
Replacing resolv.conf and configuring routes can be disabled in
dhcpleased.conf.
Are routes and resolv.conf the only things dhcpleased modifies beyond
configuring
the interface with the leased IP?
For instance, pair of sentences in dhcpleased(8) to the effect:
"dhcpleased inserts the DNS server information
from the DHCP server at the top of the existing /etc/resolv.conf.
It configures the default route via the interface being configured."
Something like that is implied by using DHCP.
Are other routes changed or deleted?
Exactly what does the updated resolv.conf contain?
DHCP can configure other services. Does dhcpleased do any of that?
thanks
Geoff Steckel