> -----Original Message-----
> From: owner-freebsd-po...@freebsd.org <owner-freebsd-
> po...@freebsd.org> On Behalf Of Douglas Thrift
> Sent: zondag 7 juni 2020 1:54
> To: woods...@freebsd.org
> Cc: po...@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Attachment: dhcpcd-buf.diff
Description: Binary data

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to