Package: ipmitool
Version: 1.8.16-1
Severity: normal

Hi there,

after the update to 1.8.16-1 ipmitool segfaults in my setup:


:) root@fernst:/etc$ cat /etc/modules-load.d/ipmievd.conf
# systemd kernelmodules for ipmitools
#
ipmi_devintf
ipmi_msghandler
ipmi_poweroff
#ipmi_si
ipmi_watchdog
:) root@fernst:/etc$ modprobe ipmi_si # to illustrate why this is commented out
modprobe: ERROR: could not insert 'ipmi_si': No such device
:( root@fernst:/etc$ lsmod | grep ipmi # to illustrate what is present
ipmi_watchdog          28672  0
ipmi_poweroff          16384  0
ipmi_devintf           20480  0
ipmi_msghandler        49152  3 ipmi_devintf,ipmi_poweroff,ipmi_watchdog
:) root@fernst:/etc$ ls -al /dev/ipmi*
ls: cannot access '/dev/ipmi*': No such file or directory
:( root@fernst:/etc$ ipmitool sensor list
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such 
file or directory
Segmentation fault (core dumped)
:( root@fernst:/etc$ grep ipmitool /var/log/syslog | tail -n 1
Mar  2 11:21:49 fernst kernel: [239018.029652] ipmitool[11793]: segfault at 
ffffffffd73cf058 ip 00007f7287574014 sp 00007fff7ed5d658 error 5 in 
libc-2.21.so[7f72874f9000+19a000]
:) root@fernst:/etc$ 


Up until 1.8.15-1 this didn't happen:


:) root@fernst:/etc$ debsnap --destdir /tmp/ipmitool --architecture amd64 
ipmitool 1.8.15-1
:) root@fernst:/etc$ dpkg -i /tmp/ipmitool/ipmitool_1.8.15-1_amd64.deb
dpkg: warning: downgrading ipmitool from 1.8.16-1 to 1.8.15-1
(Reading database ... 319057 files and directories currently installed.)
Preparing to unpack .../ipmitool_1.8.15-1_amd64.deb ...
Unpacking ipmitool (1.8.15-1) over (1.8.16-1) ...
Setting up ipmitool (1.8.15-1) ...
Processing triggers for systemd (228-6) ...
Processing triggers for readahead-fedora (2:1.5.6-5.2) ...
Processing triggers for man-db (2.7.5-1) ...
:) root@fernst:/etc$ ipmitool sensor list
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such 
file or directory
:( root@fernst:/etc$ 


Of course it's OK to fail when no suitable device can be found, but
ipmitool rather shouldn't segfault in this case.

Considering that some monitoring software (e.g. as in my setup check_mk)
runs ipmitool on every invocation, quite a lot of segfaults occur. These
quickly pile up e.g. when using corekeeper ...

Cheers,
Flo

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (500, 'oldstable-updates'), 
(50, 'testing-proposed-updates'), (50, 'proposed-updates'), (50, 'unstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ipmitool depends on:
ii  libc6          2.21-9
ii  libfreeipmi16  1.4.11-1
ii  libncurses5    6.0+20160213-1
ii  libreadline6   6.3-8+b4
ii  libssl1.0.2    1.0.2f-2
ii  libtinfo5      6.0+20160213-1
ii  lsb-base       9.20160110

Versions of packages ipmitool recommends:
pn  openipmi  <none>

ipmitool suggests no packages.

-- Configuration Files:
/etc/modules-load.d/ipmievd.conf changed:
ipmi_devintf
ipmi_msghandler
ipmi_poweroff
ipmi_watchdog


-- no debconf information

Reply via email to