masking NetworkManager ineffective without also masking network-manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
On xenial (systemd 229), 'systemctl mask NetworkManager' is ineffective; I can still start the service (and in fact it starts on boot). This may be due to an interaction with an init.d script with a different name ("network-
root@
enabled
enabled
root@
Created symlink from /etc/systemd/
root@
masked
masked
root@
0
root@
● NetworkManager.
Loaded: loaded (/lib/systemd/
Active: active (running) since Mon 2016-05-23 15:39:09 EEST; 9s ago
Main PID: 6155 (NetworkManager)
Tasks: 6 (limit: 512)
CGroup: /system.
Only if 'network-manager' is also masked will the service fail to start:
root@
Created symlink from /etc/systemd/
root@
root@
Failed to start NetworkManager.
Correct, network-manager is the canonical name that init.d scripts refer to.