Hello,
I am using ipmitool on openSUSE Leap 15.4, details about version below.
The ipmievd service fails since upgrade from Leap 15.1.
It seems, ipmievd ignores the command line option pidfile:
-
# ipmievd -vv sel daemon pidfile=/run/custompidfile.pid
ipmievd version 1.8.18
Loading IANA PEN Registry...
Using ipmi device 0
Set IPMB address to 0x20
Iana: 674
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properties
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Acquire IPMB address
Discovered IPMB address 0x0
Interface address: my_addr 0x20 transit 0:0 target 0x20:0 ipmb_target 0
ipmievd: using pidfile /run/ipmievd.pid0
Using ipmi device 0
Set IPMB address to 0x20
-
this causes my systemd service to fail, because the configured pidfile
is not being found:
-
# systemctl status ipmievd
× ipmievd.service - Ipmievd Daemon
Loaded: loaded (/usr/lib/systemd/system/ipmievd.service; enabled;
vendor preset: disabled)
Active: failed (Result: timeout) since Thu 2023-06-01 13:52:39
CEST; 2h 24min ago
Process: 16701 ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
(code=exited, status=0/SUCCESS)
Jun 01 13:51:09 theta systemd[1]: Starting Ipmievd Daemon...
Jun 01 13:51:09 theta systemd[1]: ipmievd.service: Can't open PID file
/run/ipmievd.pid (yet?) after start: Operation not permitted
Jun 01 13:51:09 theta ipmievd[16702]: Reading sensors...
Jun 01 13:51:10 theta ipmievd[16702]: Waiting for events...
Jun 01 13:52:39 theta systemd[1]: ipmievd.service: start operation timed
out. Terminating.
Jun 01 13:52:39 theta systemd[1]: ipmievd.service: Failed with result
'timeout'.
Jun 01 13:52:39 theta systemd[1]: Failed to start Ipmievd Daemon.
-
pidfile is being created as default /run/ipmievd.pid0 despite it's
configured otherwise:
-
# cat /usr/lib/systemd/system/ipmievd.service
[Unit]
Description=Ipmievd Daemon
After=syslog.target
After=ipmi.service
[Service]
EnvironmentFile=-/etc/ipmievd
ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
Type=forking
PIDFile=/run/ipmievd.pid
[Install]
WantedBy=multi-user.target
# cat /etc/ipmievd
IPMIEVD_OPTIONS="sel daemon pidfile=/run/ipmievd.pid"
-
and finally versions:
-
# ipmievd -V
ipmievd version 1.8.18
# zypper if ipmitool
Information for package ipmitool:
---------------------------------
Repository : openSUSE_main
Name : ipmitool
Version : 1.8.18.238.gb7adc1d-150400.1.14
Arch : x86_64
Vendor : SUSE LLC <https://www.suse.com/>
Installed Size : 5.8 MiB
Installed : Yes
Status : up-to-date
Source package : ipmitool-1.8.18.238.gb7adc1d-150400.1.14.src
Upstream URL : https://github.com/ipmitool/ipmitool
Summary : Utility for IPMI Control
-
what's wrong?
thank you, kind regards
Paul Neuwirth
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel