Red Hat Bugzilla – Bug 801370
Network Manager won't stay stopped
Last modified: 2012-09-06 08:27:35 EDT
Description of problem:
When diagnosing network problems it is often useful to temporarily turn NetworkManager off. This allows for quick manual reconfiguration of network interfaces, running applications such as Kismet, etc. without having to completely reconfigure NetworkManager itself.
The obvious way to do this is "service NetworkManager stop", which does indeed stop Network Manager as expected. Unfortunately, within a few seconds, something starts NetworkManager again. This violates the principle of least surprise - when a service is explicitly manually stopped, it is expected to stay stopped until the user explicitly starts it again (or reboots). There is no obvious indication of what is responsible for restarting it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service NetworkManager stop
2. Wait a few seconds
3. NetworkManager spontaneously starts again.
Network Manager spontaneously starts after the user has explicitly stopped the service.
Services that were manually stopped by the user should not spontaneously start.
I agree that it is annoying when NetworkManager is unexpectedly D-Bus activated.
For now you should use "systemctl disable NetworkManager.service" to prevent NetworkManager from restarting.
There is a quite long discussion about that in bug #815243
*** This bug has been marked as a duplicate of bug 815243 ***