Hmm, so your system indeed has /dev/ipmi0 then (also you had that implicitly in comment #4 already) - thanks.
But that means we are back at the beginning with the but triggering for you but being non reproducible in other places :-/
For the sake of generating more ideas what could happen in your case.
$ sudo su -
$ strace -rT -ff -o ipmitool.strace ipmitool lan print
In my cross check I see an openat and then a bunch of ioctls.
We could then try to compare your output ....
Hmm, so your system indeed has /dev/ipmi0 then (also you had that implicitly in comment #4 already) - thanks.
But that means we are back at the beginning with the but triggering for you but being non reproducible in other places :-/
For the sake of generating more ideas what could happen in your case.
$ sudo su -
$ strace -rT -ff -o ipmitool.strace ipmitool lan print
In my cross check I see an openat and then a bunch of ioctls.
We could then try to compare your output ....