2.3.3 -> 2.2.4 nrpe2 service can't start
after upgrading I now have an issue with a packages (NRPE v2)
The script /usr/local/etc/rc.d/nrpe2.sh has the line ". /etc/rc.subr" but this command exit with an error.
mount: : No such file or directory /etc/rc.subr: WARNING: : Unable to mount devfs on
Like… ignore it? Does it break something?
Does it break something?
I think so, service can't start, I only can find this two lines in the logfiles
Jul 31 21:23:35 root: /usr/local/etc/rc.d/nrpe2.sh: WARNING: failed precmd routine for nrpe2 Jul 31 21:23:35 root: /usr/local/etc/rc.d/nrpe2.sh: WARNING: : Unable to mount devfs on
Manual start does work
/usr/local/sbin/nrpe2 -d -c /usr/pbi/nrpe-amd64/etc/nrpe.cfg
Does it work when you remove the stupid line from /usr/local/etc/rc.d/nrpe2.sh?
No, if I do so, I get
/usr/local/etc/rc.d/nrpe2.sh: load_rc_config: not found /usr/local/etc/rc.d/nrpe2.sh: run_rc_command: not found
Well, good luck then.