[Pkg-utopia-maintainers] Bug#989986: Bug#989986: network-manager: NetworkManager exited and now I have no networking

Michael Biebl biebl at debian.org
Thu Jun 17 14:23:26 BST 2021


Am 17.06.21 um 13:23 schrieb Sam Morris:
> Package: network-manager
> Version: 1.30.0-2
> Severity: important
> X-Debbugs-Cc: sam at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20210617/6a70a5be/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list