FreeBSD 8.2-stable: devd fails to restart
Warren Block
wblock at wonkity.com
Tue Feb 7 19:16:19 UTC 2012
On Tue, 7 Feb 2012, Torfinn Ingolfsen wrote:
> On Mon, 06 Feb 2012 00:08:55 -0700 (MST)
> Warren Block <wblock at wonkity.com> wrote:
>
>> On Sat, 4 Feb 2012, Torfinn Ingolfsen wrote:
>>
>>> On Sat, 04 Feb 2012 10:34:19 -0700 (MST)
>>> Warren Block <wblock at 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 at kg-v7# service devd status
>>> devd is not running.
>>> root at kg-v7# ll /var/run/devd.pid
>>> -rw------- 1 root wheel 3 Jan 12 20:40 /var/run/devd.pid
>>> root at 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 at 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.
>
> I'm all for getting it fixed, even if I don't know how yet.
> Should a PR be against devd, dhclient, or ... something else?
It's devd, IMO. Hey, come to think of it, I did enter a PR, the one
above. If this is still a problem in 9 (which I can test in a bit),
posting to -current might get some needed attention on it.
More information about the freebsd-stable
mailing list