installing policykit-1 hangs under systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-1 (Debian) |
Fix Released
|
Unknown
|
|||
policykit-1 (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Vivid |
Fix Released
|
High
|
Unassigned |
Bug Description
I've installed 15.04 using the current amd64 netboot.tar.gz (MD5 = 6566065bf73a9c8
Last few lines from apt-get:
Processing triggers for systemd (219-7ubuntu3) ...
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop
Failed to execute operation: Connection timed out
dpkg: error processing package systemd (--unpack):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libglib2.0-0:amd64 (2.44.0-1ubuntu3) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for udev (219-7ubuntu3) ...
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've done a second install using the server iso and lubuntu-core installs fine on that. The only thing different was my install media.
SRU TEST CASE:
- Boot a minimal VM and purge "apport policykit-1", or do the above netboot installation.
- sudo apt-get install policykit-1 apport
- The above hangs on the systemd triggers and eventually fails. It should succeed fine with this update.
Regression potential: Very low: This update avoids that systemd tries to start up polkit while it's unpacked but not configured, which is exactly the case that can't work. If there's anything wrong with the postinst and the rm for the temporary masking symlink does not get run for some reason, the next reboot will clean it up anyway. So the fix is a no-change operation for anything but first install.
description: | updated |
no longer affects: | debian-installer (Ubuntu) |
summary: |
- apt-get install lubuntu-core fails when installed from netboot + installing policykit-1 hangs under systemd |
Changed in policykit-1 (Ubuntu): | |
status: | Fix Released → New |
status: | New → Confirmed |
Changed in systemd (Ubuntu): | |
status: | New → Triaged |
Changed in systemd (Ubuntu Vivid): | |
status: | New → Triaged |
Changed in policykit-1 (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in policykit-1 (Ubuntu Vivid): | |
status: | Confirmed → Triaged |
description: | updated |
Changed in policykit-1 (Debian): | |
status: | Unknown → New |
Changed in policykit-1 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in policykit-1 (Debian): | |
status: | New → Fix Committed |
Changed in policykit-1 (Debian): | |
status: | Fix Committed → Fix Released |
Changed in policykit-1 (Ubuntu Vivid): | |
assignee: | Martin Pitt (pitti) → nobody |
Full log with pressing ^C after it's been stuck for a while.