Date: Wed, 25 Oct 2006 19:04:48 +0200 From: Ulrich Spoerlein <uspoerlein@gmail.com> To: freebsd-rc@freebsd.org Subject: devd vs cleanvar ordering Message-ID: <20061025170448.GA6952@roadrunner.q.local>
next in thread | raw e-mail | index | archive | help
Hello, I'm running 6.2-PRE and have bsnmpd and devd enabled. bsnmpd starting issueing errors upon boot, the devd.pipe in /var/run was not existant. Indeed, my system somehow ran cleanvar *after* devd. This was the output after setting rc_debug=YES and putting a 'ls /var/run/devd.pipe' at the top of /etc/rc.subr /etc/rc: DEBUG: The following interfaces were not configured: fwip0 ipw0 ls: /var/run/devd.pipe: No such file or directory /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO. ls: /var/run/devd.pipe: No such file or directory /etc/rc: DEBUG: checkyesno: devd_enable is set to YES. Starting devd. /etc/rc: DEBUG: run_rc_command: _doit: /sbin/devd /etc/rc: DEBUG: checkyesno: devd_enable is set to YES. /var/run/devd.pipe /etc/rc: DEBUG: checkyesno: ipsec_enable is set to NO. /var/run/devd.pipe /etc/rc: DEBUG: checkyesno: cleanvar_enable is set to YES. /etc/rc: DEBUG: run_rc_command: evaluating cleanvar_prestart(). /etc/rc: DEBUG: run_rc_command: evaluating cleanvar_start(). ls: /var/run/devd.pipe: No such file or directory /etc/rc: DEBUG: checkyesno: isdn_enable is set to NO. ls: /var/run/devd.pipe: No such file or directory I solved this by putting 'REQUIRE: cleanvar' into the devd script. Strange thing is, that other 6.2 systems I administer do NOT have that problem. Perhaps there is an ordering race in rcorder? Ulrich Spoerlein Please keep me CC'ed. Thanks. -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. > >>Q: Why is top posting frowned upon?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061025170448.GA6952>