remote file systems hang on shutdown, D-BUS stops too early
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
D-Bus |
Won't Fix
|
Medium
|
|||
dbus (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
(part of bug 1431774). During shutdown, D-Bus stops too early. In particular, it stops before NetworkManager and remote-fs.target, so that any network unmount will cause errors and hang the boot. This can be seen with
$ journalctl -b -1 | egrep 'Stop.*
Mär 30 19:05:19 donald systemd[1]: Stopping D-Bus System Message Bus...
Mär 30 19:05:19 donald systemd[1]: Stopped D-Bus System Message Bus.
Mär 30 19:05:19 donald systemd[1]: Stopped target Remote File Systems.
Mär 30 19:05:19 donald systemd[1]: Stopping Remote File Systems.
Mär 30 19:05:19 donald systemd[1]: Stopped target Remote File Systems (Pre).
Mär 30 19:05:19 donald systemd[1]: Stopping Remote File Systems (Pre).
Mär 30 19:05:19 donald systemd[1]: Stopping Network Manager...
Mär 30 19:05:42 donald systemd[1]: Stopped Network Manager.
Mär 30 19:05:42 donald systemd[1]: Stopping D-Bus System Message Bus Socket.
A quick workaround is to add After=dbus.service to /lib/systemd/
Related branches
- Jeremy Bícha (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 942 lines (+771/-7)7 files modifieddebian/changelog (+470/-3)
debian/control (+2/-1)
debian/dbus.postinst (+5/-0)
debian/patches/series (+2/-0)
debian/patches/ubuntu/aa-get-connection-apparmor-security-context.patch (+192/-0)
debian/patches/ubuntu/dont-stop-dbus.patch (+98/-0)
debian/rules (+2/-3)
- Simon Chopin (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 914 lines (+745/-7) (has conflicts)7 files modifieddebian/changelog (+444/-3)
debian/control (+2/-1)
debian/dbus.postinst (+5/-0)
debian/patches/series (+2/-0)
debian/patches/ubuntu/aa-get-connection-apparmor-security-context.patch (+192/-0)
debian/patches/ubuntu/dont-stop-dbus.patch (+98/-0)
debian/rules (+2/-3)
tags: | added: systemd-boot |
Changed in dbus (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
summary: |
- stops too early under systemd + D-Bus stops too early under systemd |
Changed in dbus (Ubuntu): | |
status: | Incomplete → New |
summary: |
- remote file systems hang on shutdown + remote file systems hang on shutdown, D-BUS stops too early |
Changed in dbus: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in dbus: | |
status: | Confirmed → Won't Fix |
Actually, this isn't the full story, as NetworkManager doesn't tear down interfaces when it shuts down. So Colin, I'm afraid I need a shutdown journal output from current vivid after all..