Date: Sat, 17 Oct 2009 17:05:07 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: current@freebsd.org Subject: Restarting devd Message-ID: <alpine.BSF.2.00.0910171503010.89326@wonkity.com>
next in thread | raw e-mail | index | archive | help
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. In fact, after that initial pidfile is removed, restarts are no longer a problem: # /etc/rc.d/devd restart Stopping devd. Starting devd. So why is it a problem with the first run of devd, but not afterwards? Something with /etc/rc.d/devd, or maybe something more general with /etc/rc.subr? FreeBSD lightning 8.0-RC1 FreeBSD 8.0-RC1 #6: Wed Oct 14 18:44:38 MDT 2009 root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 -Warren Block * Rapid City, South Dakota USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0910171503010.89326>