Am 17.06.21 um 13:23 schrieb Sam Morris:
Package: network-manager
Version: 1.30.0-2
Severity: important
X-Debbugs-Cc: s...@robots.org.uk

NetworkManager.service has Restart=on-failure, but if something sends
SIGTERM to NetworkManager then it exits with status 0.

Anyway, this user expects NetworkManager expects NM to be up & the
network to be available, solely except when NetworkManager.service is
stopped via systemd.

So can NetworkManager.service be changed to use Restart=always?

I personally prefer, if NetworkManager is only restarted on failures.
If someone explicitly killed NetworkManager via SIGTERM, they probably expect NM to stay down.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773213

If you can convince NM upstream, that always is a better default, I'll update the Debian package accordingly though.

Another alternative is, that you create a drop-in snippet locally for NetworkManager.service and adjust the behavior to your liking.
Thankfully, this is quite simple with systemd.

Regards,
Michael

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to