I got the same errors as Harald after trying the above. It was still very slow to shutdown and sometimes didn't shutdown at all.
The only way I could previously get it to shutdown reliably was with a "sudo shutdown -h now". I have now found if I remove the network manager it completely fixes it. I now have no errors and quick shutdown. sudo apt-get remove network-manager If I re-install the above network manager, the problem comes back. So that is definitely the cause in my case. I have installed "wicd" as a replacement network manager. I did this before removing the Ubuntu supplied network manager. I am using 11.10 that has been upgraded from 11.04. I have wired ethernet. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/869635 Title: long delay at shutdown/reboot - network-manager doesn't close correctly Status in “network-manager” package in Ubuntu: Confirmed Bug description: I've noticed the shutdown and reboot in oneiric is slower than in natty. This is reproducible on different machines with fresh installations. Disabling plymouth and vt.handoff=7 I can see that some processes are not closed: * Asking all remaining processes to terminate... [OK] * Killing all remaining processes... [fail] Killing network-manager at runlevel6, after the dbus shutdown signal, makes the shutdown and restart really faster (I'd say 5/10sec on low end machines like netbooks) --- /etc/init/network-manager.conf.orig 2010-05-03 14:56:09.745071317 +0200 +++ /etc/init/network-manager.conf 2010-05-03 14:56:43.075152939 +0200 @@ -8,6 +8,7 @@ start on (local-filesystems and started dbus) stop on stopping dbus +stop on runlevel [06] expect fork respawn after applying this I get no more errors: * Killing all remaining processes... [OK] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/869635/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp