systemd service blocks upgrade on desktop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerd (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
When powerd is installed on the desktop, upgrading it fails given that `lxc-android-
I had powerd installed because I recognized that some Unity 7 packages suggested it (I installed from a mini iso).
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: powerd (not installed)
ProcVersionSign
Uname: Linux 3.18.0-9-generic x86_64
ApportVersion: 2.15.1-0ubuntu2
Architecture: amd64
Date: Sat Jan 17 08:41:24 2015
SourcePackage: powerd
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 10 lines (+3/-0)1 file modifieddebian/rules (+3/-0)
Changed in powerd (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
I recommend to call dh_installinit with --no-start. This won't harm the phone or the boot, but will prevent this failure when you try to install the package on a machine without android. Note that on a desktop with upstart it seems to work:
Setting up powerd (0.16+15. 04.20150120- 0ubuntu1) ...
powerd start/running, process 1802
but it's not running, and dmesg shows:
[ 333.993882] init: powerd main process ended, respawning
[ 334.145907] init: powerd main process (1864) killed by ABRT signal
[ 334.145922] init: powerd respawning too fast, stopped
i. e. as upstart doesn't treat this as a failure (even though startup fails), the package install happens to work. But that's not true under systemd.