On Sat, 17 Oct 2009, Warren Block wrote: > Immediately after boot, devd restart fails: > > # /etc/rc.d/devd restart > Stopping devd. > Starting devd. > devd: devd already running, pid: 398 > /etc/rc.d/devd: WARNING: failed to start devd > > And it's right, devd is not running. Remove the stale pidfile > /var/run/devd.pid, and '/etc/rc.d/devd start' goes fine. ...and this is due to dhclient, run from /etc/rc.d at startup, locking /var/run/devd.pid: lightning% lsof /var/run/devd.pid COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME devd 400 root 6w VREG 0,101 3 47124 /var/run/devd.pid dhclient 865 root 6w VREG 0,101 3 47124 /var/run/devd.pid dhclient 1024 _dhcp 6w VREG 0,101 3 47124 /var/run/devd.pid This is a regression from 7-STABLE, where devd.pid is only locked by devd after startup. -Warren Block * Rapid City, South Dakota USAReceived on Sun Oct 18 2009 - 19:54:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC