FreeBSD Port: dhcpcd-9.1.0

driesm.michiels at gmail.com driesm.michiels at gmail.com
Sun Jun 7 08:37:15 UTC 2020


> -----Original Message-----
> From: owner-freebsd-ports at freebsd.org <owner-freebsd-
> ports at freebsd.org> On Behalf Of Douglas Thrift
> Sent: zondag 7 juni 2020 1:54
> To: woodsb02 at FreeBSD.org
> Cc: ports at FreeBSD.org
> Subject: FreeBSD Port: dhcpcd-9.1.0
> 
> Hello,
> 
> I just upgraded to dhcpcd 9.1.0 and I'm running into some weird issues.
> The first thing I noticed was that the value for `pidfile` changed which
made a
> `service dhcpcd restart igb0` fail initially. After figuring this out, I
was able to
> stop the previous dhcpcd manually and then I discovered that the `pidfile`
> was still incorrect:
> 
>         pidfile="/var/run/dhcpcd/dhcpcd-$ifn.pid"
> 
> should actually be:
> 
>         pidfile="/var/run/dhcpcd/$ifn.pid"
> 
> However, even after changing that, running `service dhcpcd start igb0` was
> sticking to the foreground rather than daemonizing and returning me to a
> prompt. I tried a number of ways to pass the -b/--background flag, but
even
> just running `dhcpcd -b igb0` manually did not daemonize.

I reckon you are running FreeBSD 13-CURRENT (as I am)?
I actually had the same problem and noticed some error messages in
/var/log/messages.log.
Roy has provided a patch for the dhcpcd source in attachments, this fixed it
for me.
It has already been committed to master and should be fixed in the new
dhcpcd-9.1.1 release. 

> Could you look into these issues?
> 
> Thanks!
> --
> Douglas William Thrift
> <https://douglasthrift.net/>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcpcd-buf.diff
Type: application/octet-stream
Size: 892 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200607/b8364eb0/attachment.obj>


More information about the freebsd-ports mailing list