I noticed that on my system when I shutdown the system openrc tells me that it failed to stop NetworkManager. After looking into my logs I saw a crash and the backtrace there seemed to be about remove_one_device, and analyzing some other information it occurred to me that this had everything to do with active connections. How to reproduce: 1. start /etc/init.d/NetworkManager 2. do anything that creates a tcp-connection (control with "netstat -t"). 3. /etc/init.d/NetworkManager stop Actual result: OpenRC tells you it was never able to stop NetworkManager, printing a backtrace in /var/log/daemon.log. So currently the reproducable way is if "netstat -t" reports open connection NetworkManager always crash when you try to stop it, if it "netstat -t" does not report open connections then NetworkManager exits cleanly. For me this occurred with autofs mounting fs4, due to it leaving TCP-connection behind managed by the kernel after the daemons have been closed. It is possible this is also triggered by sshd, as it does not terminate any currently running connections when shutting down. OpenRC has a option to not terminate the connection during shutdown (and does not do it by default). Maybe NetworkManager should implement something similar?
Hi, There was quite a few fixes in 0.8.4 in regards to crashes during shutdown. Could you please try if you can reproduce this problem on 0.8.4?
At least on my systems, looks like 0.8.4.0-r2 works fine
(In reply to comment #2) > At least on my systems, looks like 0.8.4.0-r2 works fine