Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 13552  / 1 Year ago, fri, march 31, 2023, 10:03:17

My ubuntu is slow to shutdown, and the culprits seem to be modemmanager and something called nm-dispatcher.action.



On shutdown I get a message on the terminal saying something like "asking all remaining processes to terminate" and then there is a ~5 second delay, before unresponsive processes are forcibly killed.



One of them was modem-manager, and I don't have a modem so I fixed that one with simply sudo apt-get remove modemmanager and there doesn't appear to be any side effects.



The other one is something like "nm-dispatcher.action: Caught signal 15, shutting down. ..." which I was able to fix by removing network-manager and network-manager-gnome. But then, obviously, I don't get the network manager icons and stuff which I need in gnome-shell. I have tried wicd as a replacement, but it is not working to my liking.



So how can I prevent those processes from hanging during shutdown?


More From » 11.10

 Answers
7

Here is the bug report on, no sign of a fix.



https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/869635



The report does mention an edit one can make to /etc/init/network-manager.conf, ie. add as shown



stop on runlevel [06]  


I believe adding the line was effective here though myself use Wicd & have removed network-manager. YMMV, if trying & it causes issues then remove the added line


[#41466] Friday, March 31, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itagde

Total Points: 241
Total Questions: 113
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
itagde questions
Thu, Jun 10, 21, 21:24, 3 Years ago
Sat, Aug 13, 22, 22:41, 2 Years ago
Thu, May 20, 21, 11:52, 3 Years ago
Tue, Aug 23, 22, 06:19, 2 Years ago
;