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

2016-05-27 Thread Liam Young
** No longer affects: hacluster (Juju Charms Collection) -- 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 noti

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

2016-03-18 Thread Bug Watch Updater
** Changed in: openhpi (Debian) Status: New => Fix Released -- 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 m

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

2015-12-17 Thread Launchpad Bug Tracker
This bug was fixed in the package openhpi - 2.14.1-1.3ubuntu2.1 --- openhpi (2.14.1-1.3ubuntu2.1) vivid-proposed; urgency=medium * debian/openhpid.service: add systemd service file (LP: #1488453) -- Scott Moser Thu, 01 Oct 2015 13:52:13 -0400 ** Changed in: openhpi (Ubuntu Vivi

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

2015-12-16 Thread Ryan Beisner
** Tags removed: verification-needed ** Tags added: verification-done -- 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 T

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

2015-12-16 Thread Ryan Beisner
Checked again with 2.14.1-1.3ubuntu2.1 from vivid-proposed. While I've not done any functional testing against openhpid itself, apt and dpkg now exit cleanly, whereas they did not @ ubuntu2. ubuntu@juju-beis1-machine-3:/etc/apt/preferences.d$ apt-cache policy openhpid

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

2015-12-16 Thread Ryan Beisner
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

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

2015-10-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/openhpi -- 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 notificati

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

2015-10-07 Thread Chris J Arges
Hello Anders, or anyone else affected, Accepted openhpi into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openhpi/2.14.1-1.3ubuntu2.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https

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

2015-10-01 Thread Scott Moser
** Also affects: openhpi (Ubuntu Vivid) Importance: Undecided Status: New ** Changed in: openhpi (Ubuntu Vivid) Importance: Undecided => High ** Changed in: openhpi (Ubuntu Vivid) Status: New => Confirmed ** Changed in: openhpi (Ubuntu Vivid) Assignee: (unassigned) => Sc

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

2015-09-29 Thread Launchpad Bug Tracker
This bug was fixed in the package openhpi - 2.14.1-1.4ubuntu1 --- openhpi (2.14.1-1.4ubuntu1) wily; urgency=medium * sync with debian. * remaining changes: - debian/openhpid.service: add systemd service file (LP: #1488453) -- Scott Moser Tue, 29 Sep 2015 14:55:06 + **

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

2015-09-29 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/wily/openhpi/wily-proposed -- 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

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

2015-09-29 Thread Scott Moser
summary: by adding a systemd openhpid.service file we have parity with previous upstart behavior == details == I've found that installing a systemd service file fixes the problem, and have uploaded the fix to wily. The designed behavior of openhpi is to exit 8 unless the user edits /etc/openhpi/

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

2015-09-29 Thread Martin Pitt
Third option: Use dh_installinit --error-handler=true (or a locally defined function which does something more elaborate) -- 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 postins

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

2015-09-29 Thread Martin Pitt
Note that there are also a bunch of Condition*= which you could add to a unit (man systemd.unit), but it seems the config file is already there, so you can't do something like ConditionPathExists=/etc/openhpi/openhpi.conf -- You received this bug notification because you are a member of Ubuntu Bu

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

2015-09-29 Thread Martin Pitt
This might be a case of dh_installinit --no-start, to avoid trying to start the service on installation? Alternatively, if the daemon exits with a special code when it is unconfigured, the unit could grow a SuccessExitStatus=8. But semantically that's slightly confusing as you don't really want to

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

2015-09-28 Thread Scott Moser
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 helpfu

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

2015-09-15 Thread Robie Basak
** Changed in: openhpi (Ubuntu) Assignee: (unassigned) => Scott Moser (smoser) -- 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 us

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

2015-09-15 Thread Robie Basak
** Changed in: openhpi (Ubuntu) Assignee: Jon Grimm (jgrimm) => (unassigned) -- 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 usin

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

2015-09-08 Thread Ryan Beisner
** Tags added: openstack uosci -- 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 g

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

2015-09-05 Thread Robie Basak
** Also affects: hacluster (Juju Charms Collection) Importance: Undecided Status: New -- 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 ins

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

2015-09-04 Thread Robie Basak
Bug 1479661 may be a duplicate of this. -- 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 t

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

2015-08-27 Thread Jon Grimm
** Changed in: openhpi (Ubuntu) Assignee: (unassigned) => Jon Grimm (jgrimm) -- 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 usin

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

2015-08-26 Thread Bug Watch Updater
** Changed in: openhpi (Debian) Status: Unknown => New -- 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

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

2015-08-26 Thread Robie Basak
** Bug watch added: Debian Bug tracker #785287 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785287 ** Also affects: openhpi (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785287 Importance: Unknown Status: Unknown ** Tags added: bitesize -- You received this b

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

2015-08-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openhpi (Ubuntu) Status: New => Confirmed -- 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: Pa