GNOME Bugzilla – Bug 761001
The NetworkManager's systemd service MUST order itself after network-pre.target
Last modified: 2016-01-23 16:07:31 UTC
Currently, NetworkManager will happily start and connect to networks before network-pre.target has started. According to the manual: > This passive target unit may be pulled in by services that want to run before any network is set up, for example for the purpose of setting up a firewall. All network management software orders itself after this target, but does not pull it in. This means that NetworkManger is starting before firewalls. The solution is to add an `After=network-pre.target` line to the NetworkManager.service unit.
also systemd-networkd.service does that. Fixed: master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=9c3187027c9435e2c0007335e1c8503098cbce7c nm-1-0: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=859099f3534f090fb88de497474164c86dc610ea
That was fast. Thanks!