cannot extend network-manager unit file by using network-manager.service.d

Patrick Schleizer patrick-mailinglists at whonix.org
Thu Jun 11 03:06:57 BST 2015


Michael Biebl:
> Am 10.06.2015 um 15:50 schrieb Patrick Schleizer:
>> Hi!
>>
>> This is what I did on Debian jessie...
>>
>>> sudo mkdir /etc/systemd/system/network-manager.service.d
>>> sudo touch /etc/systemd/system/network-manager.service.d/x.conf
>>> sudo systemctl daemon-reload
>>
>> Now, when running...
>>
>>> sudo service network-manager status
>>
>> Systemd keeps saying...
>>
>>> "Warning: Unit file changed on disk, 'systemctl daemon-reload'
>> recommended."
>>
>> But I already did that at the beginning. This also persists after reboot.
>>
>> When I delete "/etc/systemd/system/network-manager.service.d/x.conf",
>> the issue is gone.
>>
>> Can the network-manager unit file not be extended that way? What's the
>> issue here? Works well for other unit files.
> 
> /lib/systemd/system/network-manager.service is a symlink to
> /lib/systemd/system/NetworkManager.service
> 
> Does it work if you use
> 
> /etc/systemd/system/NetworkManager.service.d/x.conf

Works for me.

Thank you!

Cheers,
Patrick





More information about the Pkg-systemd-maintainers mailing list