System doesn't shutdown anymore

Bug #1471284 reported by Removed by request
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm using Ubuntu 15.10 dev and for a few days I'm noticing that my system doesn't fully shutdown anymore. If I'm shutdown the system from the desktop environment (LXDE desktop with LXDM as login manager) the graphical interface exits and it hangs then while showing the console output. The last line in this output is "Unmounting local filesystems...".

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1471284/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → systemd (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please follow /usr/share/doc/systemd/README.Debian to debug this shutdown hang? I. e. start the debug shell, shut down, Ctrl+Alt+F9 to switch to it, and do

  systemctl list-jobs > /root/jobs.txt
  journalctl -b > /root/journal.txt
  reboot -f

then attach /root/jobs.txt and /root/journal.txt here? Thanks!

If saving the files does not work any more because the root fs is already readonly, please do "mount -o remount,rw /" and re-do the systemctl/journalctl commands. Thanks!

Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Removed by request (removed3425744) wrote :

On my system upstart-sysv is installed so the steps for systemd will maybe not work.

affects: systemd (Ubuntu) → upstart (Ubuntu)
Changed in upstart (Ubuntu):
status: Incomplete → New
Revision history for this message
Removed by request (removed3425744) wrote :

I'm wondering if this ( https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1491005 ) has something to do with it. Is /etc/mtab checked on shutdown? If yes maybe /proc/mounts should be directly used instead.

Revision history for this message
Martin Pitt (pitti) wrote :

I can't say for sure, but a wrong /etc/mtab surely wreaks some havoc. Try replacing it with a symlink to /proc/mounts and see if that helps things?

Revision history for this message
Removed by request (removed3425744) wrote :

I have tested this now but the system still hangs on shutdown.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in upstart (Ubuntu):
status: New → Confirmed
Revision history for this message
Removed by request (removed3425744) wrote :

Any idea how to debug this more? It is a bit annoying to always shutdown the PC physically by holding the power button for 5 seconds which causes also often that the fast filesystem check on booting claims about orphan inodes.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.