Package: ipmitool Version: 1.8.14-4 Severity: normal User: [email protected] Usertags: needed-by-DSA-Team
On one of the Debian buildd machines, DSA have installed ipmitool for managing another server over the network using the command-line utilities. This led to our monitoring flagging the ipmievd service as failed because the host ipmitool is installed on doesn't have any IPMI devices of its own. In this situation, ipmievd.service should exit with success instead of failure. I've masked the service so this doesn't happen again on this host but it would be nice if the daemon would exit with success instead of failure when no IPMI devices are present. pabs@host:~$ systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● ipmievd.service loaded failed failed IPMI event daemon LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. pabs@host:~$ sudo systemctl restart ipmievd.service Job for ipmievd.service failed. See 'systemctl status ipmievd.service' and 'journalctl -xn' for details. pabs@host:~$ sudo systemctl status ipmievd.service ● ipmievd.service - IPMI event daemon Loaded: loaded (/lib/systemd/system/ipmievd.service; disabled) Active: failed (Result: exit-code) since Wed 2017-02-22 06:12:16 UTC; 4s ago Process: 15359 ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS (code=exited, status=1/FAILURE) Feb 22 06:12:16 host ipmievd[15359]: Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory Feb 22 06:12:16 host systemd[1]: ipmievd.service: control process exited, code=exited status=1 Feb 22 06:12:16 host systemd[1]: Failed to start IPMI event daemon. Feb 22 06:12:16 host systemd[1]: Unit ipmievd.service entered failed state. pabs@host:~$ sudo find /dev/ /sys/ | grep -i ipmi pabs@host:~$ sudo dmesg | grep -i ipmi -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

