[Bug 1488453] Re: Package postinst always fail on first install when using systemd

Ryan Beisner 1488453 at bugs.launchpad.net
Wed Dec 16 18:13:38 UTC 2015


With Vivid, openhpid fails to install and start @ 2.14.1-1.3ubuntu2.
This is blocking hacluster from installing on Vivid.

I believe this is due to this directive in the /etc/openhpi/openhpi.conf file:
#######
## OpenHPI will not be useful unless it is configured for your system.  Once
## you have modified this file, remove or comment the following line to allow
## the OpenHPI daemon to run.  This line causes the daemon to exit immediately.
OPENHPI_UNCONFIGURED = "YES"

When I comment that line, dpkg completes and the daemon starts successfully, ie.:
#OPENHPI_UNCONFIGURED = "YES"

I've attached the original openhpi.conf file as placed on disk by the package, and here is some additional detail:
http://paste.ubuntu.com/14053827/

To reproduce:
1.  Launch a Vivid instance.
2.  apt-get install openhpid
3.  The service will fail to start and dpkg configure will fail, causing apt to exit nonzero.
4.  sudo service openhpid status  # confirm fail
5.  Remove OPENHPI_UNCONFIGURED = "YES" from /etc/openhpi/openhpi.conf
6.  sudo service openhpid start
7.  sudo service openhpid status  # confirm success

** Attachment added: "openhpi.conf"
   https://bugs.launchpad.net/ubuntu/+source/openhpi/+bug/1488453/+attachment/4535835/+files/openhpi.conf

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1488453

Title:
  Package postinst always fail on first install when using systemd

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



More information about the Ubuntu-server-bugs mailing list