forwarded 1040349 https://github.com/arcress0/ipmiutil/issues/17
thanks

Hello Louis,

thank you for spending your time helping to make Debian better with this bug
report. 

I have the bug forwarded to upstream. A patch is currently in the works.

Am Dienstag, dem 04.07.2023 um 20:19 +0200 schrieb Louis Sautier:
> Package: ipmiutil
> Version: 3.1.8-4
> 
> Hi,
> 
> In some cases (Intel S2600STB boards), ipmiutil fails to install the 
> first time:
> Setting up ipmiutil (3.1.8-4) ...
> SDR record 61 is malformed, length 12 is less than minimum 12
> 0061 GetSDR error -25, rlen = 10
> dpkg: error processing package ipmiutil (--configure):
>   installed ipmiutil package post-installation script subprocess 
> returned error exit status 231
> Processing triggers for man-db (2.11.2-2) ...
> Errors were encountered while processing:
>   ipmiutil
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> The second time around, it works because 
> /var/lib/ipmiutil/sensor_out.txt now exists.
> 
> The issue can be reproduced by removing /var/lib/ipmiutil/sensor_out.txt 
> and running the postinst script again (with -x added here to highlight 
> the problem):
> # dpkg-reconfigure ipmiutil
> + sbindir=/usr/bin
> + vardir=/var/lib/ipmiutil
> + sensorout=/var/lib/ipmiutil/sensor_out.txt
> + mkdir -p /var/lib/ipmiutil
> + IPMIcmd=true
> + /usr/bin/ipmiutil sel -v
> + true
> + [ ! -f /var/lib/ipmiutil/sensor_out.txt ]
> + /usr/bin/ipmiutil sensor -q
> SDR record 61 is malformed, length 12 is less than minimum 12
> 0061 GetSDR error -25, rlen = 10
> 
> The issue here is that "ipmiutil sel" works but "ipmi sensor" does not.
> https://jff.email/cgit/ipmiutil.git/tree/debian/postinst?h=debian/3.1.9-1#n16
> https://jff.email/cgit/ipmiutil.git/tree/debian/postinst?h=debian/3.1.9-1#n22
> 
> The fact that a failing "ipmiutil sensor" command prevents the 
> installation is problematic. Would it please be possible to make this 
> failure non-fatal?
> 
> https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/1786562 seems to 
> be the same issue, it concerns the same error message with an Intel 
> S2600STB.
> 
> 
> PS: maybe there is also an upstream ipmiutil bug to report here? "length 
> 12 is less than minimum 12" sounds like an off-by-one error.
> 
> Kind regards,
> 
> Louis


CU
Jörg

-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key        : 8CA1D25D
CAcert Key S/N : 0E:D4:56


Jörg Frings-Fürst
D-54470 Lieser


git:      https://git.jff.email/cgit/

Skype:    jff-skype@jff.email
Jami:     joergfringsfuerst
Telegram: @joergfringsfuerst
Matrix:   @joergff:matrix.snct-gmbh.de

My wish list: 
 - Please send me a picture from the nature at your home.




Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to