Public bug reported:

ipmitool 1.8.19 (in Ubuntu/Noble) shows a truncated output when doing
'ipmitool lan print'.

This means we're missing fields like "Default Gateway IP".

A diff between the 1.8.18 and 1.8.19 output is as follows:

  --- 1.8.18.txt        2024-09-03 15:17:18.280191476 +0000
  +++ 1.8.19.txt        2024-09-03 15:17:23.684191153 +0000
  @@ -1,32 +1,14 @@
   Set in Progress         : Set Complete
   Auth Type Support       : NONE MD2 MD5 PASSWORD 
   Auth Type Enable        : Callback : MD2 MD5 PASSWORD 
                           : User     : MD2 MD5 PASSWORD 
                           : Operator : MD2 MD5 PASSWORD 
                           : Admin    : MD2 MD5 PASSWORD 
                           : OEM      : MD2 MD5 PASSWORD 
   IP Address Source       : DHCP Address
   IP Address              : 10.xx.xx.xx
   Subnet Mask             : 255.255.255.0
   MAC Address             : 3c:xx:xx:xx:xx:22
   SNMP Community String   : public
   IP Header               : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
   BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
  -Default Gateway IP      : 10.xx.xx.1
  -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          : Disabled
  -802.1q VLAN Priority    : 0
  -RMCP+ Cipher Suites     : 1,2,3,6,7,8,11,12
  -Cipher Suite Priv Max   : XaaaXXaaaXXaaXX
  -                        :     X=Cipher Suite Unused
  -                        :     c=CALLBACK
  -                        :     u=USER
  -                        :     o=OPERATOR
  -                        :     a=ADMIN
  -                        :     O=OEM
  -Bad Password Threshold  : 3
  -Invalid password disable: yes
  -Attempt Count Reset Int.: 300
  -User Lockout Interval   : 300

The cause is this (seen when adding verbosity with -vvv):

`Get LAN Parameter 'Gratituous ARP Intrvl' command failed: Unknown
(0x80)`

In 1.8.18, that would just return false and continue.

In 1.8.19, we get:

`Get LAN Parameter 'Gratituous ARP Intrvl' command failed: Unsupported
parameter`

And then the output stops.

The breakage is caused by:
https://codeberg.org/IPMITool/ipmitool/commit/351dad24a26f ( lib/ipmi_lanp.c 
line 240 ).

The fix is:
https://codeberg.org/IPMITool/ipmitool/pulls/25
https://codeberg.org/IPMITool/ipmitool/commit/137aeb64cbb4

This fix has not landed in a tagged version yet.

Also reported in debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061770

Cheers,
Walter Doekes
OSSO B.V.

( attached
https://codeberg.org/IPMITool/ipmitool/commit/137aeb64cbb4.patch )

** Affects: ipmitool (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "137aeb64cbb4.patch"
   
https://bugs.launchpad.net/bugs/2078813/+attachment/5812878/+files/137aeb64cbb4.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078813

Title:
  ipmitool lan print in Noble truncated output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/2078813/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to