Package: ipmitool
Version: 1.8.7-2
Severity: normal
When setting the IP-address on the IPMI interface, ipmitool segfaults
when no IP-address is being entered. For example, the following command causes
it to segfault:
file1:~# ipmitool lan set 1 ipaddr
Segmentation fault
The same happens when this command is entered in the ipmitool-shell.
It does not matter what the ipsrc is: it happens with DHCP as well as
Static configuration. For good measure, this is the output of 'lan print
1:
pmitool> lan print 1
Set in Progress : Set In Progress
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5
: User : MD2 MD5
: Operator : MD2 MD5
: Admin : MD2 MD5
: OEM : MD2 MD5
IP Address Source : Static Address
IP Address : 172.16.1.10
Subnet Mask : 255.255.255.0
MAC Address : 00:18:8b:34:03:4e
SNMP Community String : byte
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
Default Gateway IP : 0.0.0.0
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : 2
802.1q VLAN Priority : 2
Cipher Suite Priv Max : Not Available
ipmitool> lan set 1 ipaddr
Segmentation fault
file1:~#
and this is the strace (last part) of the last command:
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\r", 1) = 1
write(1, "\n", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...})
= 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) =
0rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL}, {0xb7f161a0, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, {0xb7f16270, [], SA_RESTART}, 8) = 0
time(NULL) = 1159360437
ioctl(3, IPMICTL_SEND_COMMAND, 0xbf9f9290) = 0
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
ioctl(3, I2OEVTGET or IPMICTL_RECEIVE_MSG_TRUNC, 0xbf9f92e0) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 3050 detached
-- System Information:
Debian Release: 3.1
APT prefers stable
APT policy: (600, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.17.8-fwsh-byte-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages ipmitool depends on:
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libreadline5 5.0-10 GNU readline and history libraries
ii libssl0.9.7 0.9.7e-3sarge2 SSL shared libraries
ii lsb-base 2.0-7 Linux Standard Base 2.0 init scrip
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]