On Sat, 4 Feb 2012, Torfinn Ingolfsen wrote:

On Sat, 04 Feb 2012 10:34:19 -0700 (MST)
Warren Block <wbl...@wonkity.com> wrote:


Possibly relevant:
http://www.freebsd.org/cgi/query-pr.cgi?pr=140462&cat=

(Using DHCP from /etc/rc.conf leaves a lock on devd.pid.  SYNCDHCP does
not.)

And the thread:
http://lists.freebsd.org/pipermail/freebsd-current/2009-October/012749.html

Yes, it seems to be that problem. Tested on my other machine, which hasn't 
changed since the problem was discovered:
root@kg-v7# service devd status
devd is not running.
root@kg-v7# ll /var/run/devd.pid
-rw-------  1 root  wheel  3 Jan 12 20:40 /var/run/devd.pid
root@kg-v7# lsof /var/run/devd.pid
COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
dhclient 1075  root    5w  VREG   0,70        3 918547 /var/run/devd.pid
dhclient 1091 _dhcp    5w  VREG   0,70        3 918547 /var/run/devd.pid
root@kg-v7#

So, if this was worked on back in 2009, why isn't fixed yet?

I switched to using SYNCDHCP which avoids the problem, didn't enter a PR, and quickly forgot about it. It would be nice to have it fixed.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to