Do you have any remote network shares mounted? I also recently started getting this symptom on Ubuntu 11.04. where it hangs on shutdown at the line "Checking for running unattended-upgrades" for maybe 5 - 10 minutes, although it does eventually shutdown if you wait long enough. I found doing "shutdown -h now" on the terminal works immediately. It was only slow at shutting down when using the Ubuntu "Shutdown" menu option.
It started after I changed my network settings. I use wired Ethernet. I eventually discovered it seems to be something to do with having a remote network share and at what stage in the shutdown process Ubuntu decides to disconnect/disable the network. I found two fixes: 1) If you dismount remote network shares prior to shutting down, it shuts down immediately. I have one CIFS share set to auto-mount at boot in my fstab. 2) In "Network Connections", I had the "Available to all users" check box unticked for my Ethernet card. As soon as I ticked this box, it started shutting down immediately without needing to manually dismount my CIFS share first. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803709 Title: Hang on shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/803709/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs