Your message dated Mon, 14 Mar 2016 19:21:34 +0000
with message-id <[email protected]>
and subject line Bug#816491: fixed in ipmitool 1.8.16-2
has caused the Debian Bug report #816491,
regarding ipmitool: please fail without segfault
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
816491: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816491
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: ipmitool
Source-Version: 1.8.16-2

We believe that the bug you reported is fixed in the latest version of
ipmitool, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jörg Frings-Fürst <[email protected]> (supplier of updated ipmitool 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 13 Mar 2016 12:31:08 +0100
Source: ipmitool
Binary: ipmitool
Architecture: source
Version: 1.8.16-2
Distribution: unstable
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Jörg Frings-Fürst <[email protected]>
Description:
 ipmitool   - utility for IPMI control with kernel driver or LAN interface (dae
Closes: 816491
Changes:
 ipmitool (1.8.16-2) unstable; urgency=medium
 .
   * New debian/patches/0001-Dialect_change.patch (Closes: #816491):
     - Change dialect from c99 to gnu99 to prevend segfaults
       on missing functions.
     - Add autoreconf and remove dh_autotools-dev to/from debian/rules
       and debian/control.
   * Correct Vcs-Git uri.
Checksums-Sha1:
 e00846d48804435750f1c4780a9dd285cff6eb93 1976 ipmitool_1.8.16-2.dsc
 a4481802fbf015dc50b6871df5dd036c625cfaea 17228 ipmitool_1.8.16-2.debian.tar.xz
Checksums-Sha256:
 a7a6e152a57eb1316208960a7a28328ae947c95c73710d8bf56be6d677020bdb 1976 
ipmitool_1.8.16-2.dsc
 f84100f83d6db4f7d41465474776fbe6dad18992e40860d6bec1d94805f3383e 17228 
ipmitool_1.8.16-2.debian.tar.xz
Files:
 cc153e7e17cbfc5485f3b802781b6cfa 1976 utils optional ipmitool_1.8.16-2.dsc
 fcdff1be6ad5f771f12509de205ed12e 17228 utils optional 
ipmitool_1.8.16-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJW5wpXAAoJEI7tzBuqHzL//hcP/jaw/0qKYST8fmGw1sOnKhgz
tet3/aVSPkw+Z3JHe9Xk69rTp9u+CuIByxPbxfi/t6OMZHzpF4wjm49PTfYvgZbN
OwgK3gxf1P20zoZGQiZ5dUeAJSPj6lCT+7y/tZvi1OAf33TDnxo7YUdmMa4lk4oA
fR+mEXv7c2xgupJNhpOFp7djGk/0TjXgLUcAjfwv8Te+kaIlQ/E+ODu7mK8r/yzH
A6C6F5Goo2rVY9UELpHTLXcCz+V3x8AzJ7d90UsPaT3zxr+76nPN7vjosMElZPZ9
459rZnMM5Kb5i/189dDVjaevBNwHMIbHNO6yjdZpKmjcPOrSYJNf/kv4AQc6ul8y
IUTLloUS5Ay7aRtwrYzI9uFo5/3+wpYa4YBJWRwKJbvabOKOwnSgT60fo98LwdDx
ip5nDxf6sAaTX1NzuIKpgnCSwvkDvOkfjXfk9qhl0F2J2uwA9IptO9/01PkRScA5
yIe6UPSrQ8bcZ/0uGYGLCrzPhNth9/F17SlU3Imnz7/YSn9oLJ+hTaY6AqHBpqRd
8FzLjVfeIV6VwMmhpIfo5EwCbcQFf2b5vi1+jzQmPEUfGcCVof51uvNN1ocn4pt9
Wl922RH9aSWAWbftdsdHOhhpLXktotPJKjVqtNohfxjLuHqtSrW1pSl6ptQAFg05
Y+W9gw9MWx2n0s+7Kc9g
=nLcj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to