Ubuntu 11.10 slow shutdown

Bug #903825 reported by Nelux on 2011-12-13
This bug affects 41 people
Affects Status Importance Assigned to Milestone
netbase (Ubuntu)

Bug Description

Sorry, my English is very poor, but this is very important. I have discovered a bug and the solution for that. Now, my computer shutdowns very quickly.

When the system is shutting down, executes the scripts located in /etc/rc0.d (or /etc/rc6.d if it is restarting). When executes S20sendsigs it sleeps 10 seconds to wait for the Upstart Jobs (located in /etc/init) terminate. But this jobs NEVER terminate.


They are waiting to receive the event "deconfiguring-networking", but the script who emits this event is "S35networking". It executes after S20sendsigs, so the upstart jobs NEVER receives this event.

The solution:

I renamed the links in /etc/rc0.d and rc6.d:

- S31umountnfs.sh to S05umountnfs.sh
- S35networking to S15networking

It works very well

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: netbase 4.45ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Dec 13 18:04:04 2011
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: netbase
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (57 days ago)

Nelux (manolollr) wrote :
Nelux (manolollr) on 2011-12-13
description: updated
Nelux (manolollr) on 2011-12-13
Changed in netbase (Ubuntu):
status: New → Opinion
status: Opinion → New
Launchpad Janitor (janitor) wrote :

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

Changed in netbase (Ubuntu):
status: New → Confirmed
Ste (ilpillo) wrote :

the shutdown is now fast again, thanks for sharing the fix!

Maarten Jacobs (maarten256) wrote :

Thanks for the fix - I've been looking for this for some time now but hadn't managed to figure it our myself!

Nur Kholis Majid (kholis) wrote :

Thanks. Rebooting now fast again :)

omegao (omegao) wrote :


Ben Rolfe (ben-rolfe) wrote :

Thanks for the fix! I copied it to the duplicate bug report (869635)

Cormac (cormac-wilcox) wrote :

Thank you so much - I have searched and searched for this solution and tried so many other things I was bordering on despair. I am going to link it to all the other places I have searched.

Isil - ITM (isil-h) wrote :

Sorry, I am not an expert. I have a problem to shut down in Ubuntu 11.10. It never shusts down and I have to use the power off button. Can your solution be used in my case as well? If it can, then what should I do? How do we rename the file you are referring to? Should we use the terminal- if so, what exactly should I write. I thank you in advance for your replies.

Andrew McMillan (karora) wrote :

I don't believe this is a duplicate of #869635 at all.

On my son's computer (running Precise Pangolin) I have seen this behaviour since I added an NFS mounted filesystem into /etc/fstab, and it was resolved by the link changes suggested by the original reporter.

In bug #869635 it talks about "taking a very long time", whereas this bug report talks about "forever", and "forever" certainly seems to be the behaviour I have seen (well, OK, I only waited for 12 hours :-)

tags: added: precise
Kev Walke (kelvinelk) wrote :

Totally agree with Andrew Mcmillan here. This is not a duplicate. This problem means the computer will never shutdown. I too had an NFS mount defined in /etc/fstab and removing this means this computer now shuts down in very good time. The fix from the original poster will work too.

Rodrigo M. R. Avila (rodmra) wrote :

This bug affected me on Ubuntu GNOME 14.04 (Trusty Tahr).

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

Other bug subscribers

Related questions