Package postinst always fail on first install when using systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openhpi (Debian) |
Fix Released
|
Unknown
|
|||
openhpi (Ubuntu) |
Fix Released
|
High
|
Scott Moser | ||
Vivid |
Fix Released
|
High
|
Scott Moser |
Bug Description
This happened when I did "apt-get install libopenhpi-dev"
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: openhpid 2.14.1-1.3ubuntu2
ProcVersionSign
Uname: Linux 3.19.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
Date: Tue Aug 25 12:13:47 2015
DuplicateSignature: package:
ErrorMessage: underprocessen installerade post-installati
InstallationDate: Installed on 2014-12-14 (253 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
RelatedPackageV
dpkg 1.17.25ubuntu1
apt 1.0.9.7ubuntu4.1
SourcePackage: openhpi
Title: package openhpid 2.14.1-1.3ubuntu2 failed to install/upgrade: underprocessen installerade post-installati
UpgradeStatus: Upgraded to vivid on 2015-04-24 (122 days ago)
tags: | removed: need-duplicate-check |
tags: | added: bitesize |
Changed in openhpi (Debian): | |
status: | Unknown → New |
Changed in openhpi (Ubuntu): | |
assignee: | nobody → Jon Grimm (jgrimm) |
tags: | added: openstack uosci |
Changed in openhpi (Ubuntu): | |
assignee: | Jon Grimm (jgrimm) → nobody |
Changed in openhpi (Ubuntu): | |
assignee: | nobody → Scott Moser (smoser) |
Changed in openhpi (Ubuntu Vivid): | |
assignee: | nobody → Scott Moser (smoser) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: |
added: verification-done removed: verification-needed |
Changed in openhpi (Debian): | |
status: | New → Fix Released |
no longer affects: | hacluster (Juju Charms Collection) |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
It looks like openhpid is not expected to work until it is configured. The package ships OPENHPI_ UNCONFIGURED = "YES" in /etc/openhpi/ openhpi. conf. This causes a maintainer script failure on first install of the package. I think this has probably happened since the systemd switch and that the previous Sys V init script was probably just a noop.
To fix this problem, you should adjust /etc/openhpi/ openhpi. conf to your needs and then run "sudo dpkg --configure -a" to restart the daemon and fix the package installation.
So this bug is part user error since /etc/openhpi/ openhpi. conf needs configuring manually, but also part packaging bug because the package will never install successfully the first time.