Fedora added a very basic systemd job at:
http://pkgs.fedoraproject.org/cgit/openhpi.git/tree/openhpi-3.4.0-systemd.patch
Thats not much help, as that just moves the failure to a native systemd
job.
openhpid exits 8 (SA_ERR_HPI_ERROR) when 'OPENHPI_UNCONFIGURED = "YES"'.
That might seem helpful, but it can also exit that on other conditions such as
'err("Could not create first domain!")'.
it seems like we either need to:
a.) not try to start and disable the service based on some reading of the conf
file (if it has 'OPENHPI_UNCONFIGURED = "YES") . it seems like possibly
execstartPre might be useful or ExecStartPost
b.) patch source to exit some specific value on "unconfigured" and do not
consider that fail
Anyone have any suggestions?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs