Public bug reported:

OS Release: Ubuntu 19.04
Package: openipmi
Version: 2.0.25-2.1ubuntu1

Expected results:
update system, install openipmi, start openipmi via systemctl

Actual results:
update system, install openipmi, start openipmi via systemctl, greeted with an 
error message and openipmi fails to start

Steps to reproduce issue:
1. fresh install of ubuntu 19.04.
2. sudo apt update && sudo apt upgrade
3. sudo apt install openipmi
4. sudo systemctl start openipmi
5. openipmi fails to start with error "Sep 17 12:25:08 anthrax openipmi[1347]: 
/etc/init.d/openipmi: 55: [: 5.2: unexpected operator" via journalctl -xe

Line 55 in /etc/init.d/openipmi is:
if [ "${kernel}" == "2.4" ]; then

Steps to fix the issue:
edit /etc/init.d/openipmi
go to line 55 and change the == to a single =
save file
perform systemctl daemon-reload
perform systemctl start openipmi
openipmi starts without issues/errors
verify with systemctl status openipmi

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


** Tags: openipmi

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

Title:
  openipmi fails to start with 'unexpected operator' in
  /etc/init.d/openinit

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to