[pkg-netfilter-team] Bug#873856: nftables: use correct order in systemd unit file
Alexander Greiner-Bär
alexander.greiner-baer at web.de
Thu Aug 31 17:22:43 UTC 2017
Package: nftables
Version: 0.7-2
Severity: normal
Dear Maintainer,
the unit ordering should be exactly like in the ferm package:
https://wiki.debian.org/Teams/pkg-systemd/rcSMigration
Please read below "Your service is needed to configure firewalls or
network interfaces".
Ferm bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824188
--- nftables.service.orig 2017-08-31 19:08:58.389999017 +0200
+++ nftables.service 2017-08-31 19:09:30.042285433 +0200
@@ -1,7 +1,10 @@
[Unit]
Description=nftables
Documentation=man:nft(8) http://wiki.nftables.org
-Before=network-pre.target
+Wants=network-pre.target
+Before=network-pre.target shutdown.target
+Conflicts=shutdown.target
+DefaultDependencies=no
[Service]
Type=oneshot
@@ -14,4 +17,4 @@
ExecStop=/usr/sbin/nft flush ruleset
[Install]
-WantedBy=network.target
+WantedBy=sysinit.target
Regards,
Alexander
More information about the pkg-netfilter-team
mailing list