You need Before=network-pre.target Wants=network-pre.target
(Wants is necessary because network-pre.target is a passive target) (Before=network.target can be removed) And then network management software needs to have After=network- pre.target. systemd-networkd and NetworkManager are fine, but I do not know about legacy stuff like ifupdown. BTW, why DefaultDependencies=no is being set? network-pre.target is systemd 214+. Since Debian Jessie has 215, it is probably safe use it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1726856 Title: ufw does not start automatically at boot To manage notifications about this bug go to: https://bugs.launchpad.net/ufw/+bug/1726856/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
