You are not logged in.

#1 2024-07-13 11:58:55

sgoericke
Member
Registered: 2022-03-29
Posts: 5

[Solved] ipmitool-1.8.19-3: "Failed to initialize the OEM info..."

Edit: solved with package release 1.8.19-4

Hi together,

after updating ipmitool to 1.8.19-3 I encounter the following issue: when trying to read sensors or setting fan speed, I only get the error "Failed to initialize the OEM info dictionary".

sgoericke ~ $ journalctl -b -u ipmitool.service 
Jul 13 13:35:43 archie systemd[1]: Starting Set fan speed with ipmitool on boot...
Jul 13 13:35:43 archie ipmitool[1385]: Failed to initialize the OEM info dictionary
Jul 13 13:35:43 archie systemd[1]: ipmitool.service: Main process exited, code=exited, status=1/FAILURE
Jul 13 13:35:43 archie systemd[1]: ipmitool.service: Failed with result 'exit-code'.
Jul 13 13:35:43 archie systemd[1]: Failed to start Set fan speed with ipmitool on boot.

Content of ipmitool.service:

sgoericke ~ $ cat /etc/systemd/system/ipmitool.service 
[Unit]
Description=Set fan speed with ipmitool on boot

[Service]
Type=oneshot
ExecStart=/bin/ipmitool raw 0x30 0x70 0x66 0x01 0x00 0x24
ExecStart=/bin/ipmitool raw 0x30 0x70 0x66 0x01 0x01 0x24

[Install]
WantedBy=multi-user.target

As workaround I downgraded to ipmitoool 1.8.19-2, doing that I noticed that there's a (relative) big difference in total installed size between 1.8.19-2 and 1.8.19-3:

Updating to 1.8.19-3:

sgoericke ~ $ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib                                                                                                                     141,0 KiB  1621 KiB/s 00:00 [##############################################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) ipmitool-1.8.19-3

Total Installed Size:   1,34 MiB
Net Upgrade Size:      -4,25 MiB

Downgrading to 1.8.19-2:

sgoericke ~ $ sudo pacman -U file:///var/cache/pacman/pkg/ipmitool-1.8.19-2-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package ipmitool (1.8.19-3 => 1.8.19-2)
resolving dependencies...
looking for conflicting packages...

Packages (1) ipmitool-1.8.19-2

Total Installed Size:  5,59 MiB
Net Upgrade Size:      4,25 MiB

System:

Mainboard: Supermicro X10SRA-F
CPU: Intel® Xeon® E5-2696 v4 × 44
RAM: 256,0 GiB

My question: is there anything I can/have/need to do after updating to 1.8.19-3 or is there a issue with the package itself?

Kind regards
Sven

Last edited by sgoericke (2024-07-15 18:22:28)

Offline

#2 2024-07-15 04:50:34

ivellios
Member
Registered: 2024-07-15
Posts: 2

Re: [Solved] ipmitool-1.8.19-3: "Failed to initialize the OEM info..."

It looks like 1.8.19-3 incorrectly download /usr/share/misc/enterprise-numbers as a html file,

from: https://www.iana.org/assignments/enterprise-numbers

instead of: https://www.iana.org/assignments/enterprise-numbers.txt

Try manually download it:

curl -o ~/enterprise-numbers https://www.iana.org/assignments/enterprise-numbers.txt
sudo mv ~/enterprise-numbers /usr/share/misc/enterprise-numbers

Last edited by ivellios (2024-07-16 00:51:15)

Offline

#3 2024-07-15 11:01:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [Solved] ipmitool-1.8.19-3: "Failed to initialize the OEM info..."

Please don't advise using download tools as root, download as non-privileged  user.
Then cp or mv the file into place using root rights.

Yes, pacman does do it also . pacman devs are working hard on implementing sandbox downloading to decrease the risks .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2024-07-16 00:57:29

ivellios
Member
Registered: 2024-07-15
Posts: 2

Re: [Solved] ipmitool-1.8.19-3: "Failed to initialize the OEM info..."

Revised.
Yes I agree that better not misleading user who don't understand the risk with shortcut commands.

Lone_Wolf wrote:

Please don't advise using download tools as root, download as non-privileged  user.
Then cp or mv the file into place using root rights.

Yes, pacman does do it also . pacman devs are working hard on implementing sandbox downloading to decrease the risks .

Offline

Board footer

Powered by FluxBB