dhcpcd-discuss

dhcpcd 7 - beta3 observations

Kenny Napier

Wed Apr 19 15:20:09 2017

Hello,

   I have been using version 6.11.5.   I decided to look ahead at
beta 3.  I ran into a few items that I wanted to mention.

The '-n' option causes a issue if used with other options.
I was doing dhcpcd -b -n -f <conf file>  because I wanted it to kill the
existing instance and
start up a new instance with changes to the conf file.
Using beta3 this results in a error attempting to set the mtu.
The output shows this error.

   eth0: if_setmtu: Bad file descriptor.
   wlan0: if_setmtu : Bad file descriptor.

I believe this happens because the -n causes it to skip setting up some
required sockets.
I think this happens with  'if_opensockets(..)' in dhcpcd.c

A minor issue was the debug output had a few places that said
'No such file or directory' after a label.    It looks like it was failing
to open some type of
log file.


Thanks
Ken

Follow-Ups:
Re: dhcpcd 7 - beta3 observationsRoy Marples
Archive administrator: postmaster@marples.name