* [ptxdist] [PATCH] iptables: fix path in ExecStop in IPv6 systemd unit
@ 2023-04-08 22:12 Tamino Bauknecht
2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Tamino Bauknecht @ 2023-04-08 22:12 UTC (permalink / raw)
To: ptxdist; +Cc: Tamino Bauknecht
The service file for the systemd unit "ip6tables" contained the wrong
path for the executable "ip6tables-flush". This caused each attempt to
stop the unit to fail.
This commit fixes this typing mistake and sets the path to
"/usr/sbin/ip6tables-flush".
Signed-off-by: Tamino Bauknecht <dev@tb6.eu>
---
projectroot/usr/lib/systemd/system/ip6tables.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projectroot/usr/lib/systemd/system/ip6tables.service b/projectroot/usr/lib/systemd/system/ip6tables.service
index 7cf9ab88b..52e3096ed 100644
--- a/projectroot/usr/lib/systemd/system/ip6tables.service
+++ b/projectroot/usr/lib/systemd/system/ip6tables.service
@@ -10,7 +10,7 @@ ConditionFileNotEmpty=/etc/iptables/rules.v6
Type=oneshot
ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
ExecReload=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
-ExecStop=/usr/sbin/iptables/ip6tables-flush
+ExecStop=/usr/sbin/ip6tables-flush
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
--
2.40.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] iptables: fix path in ExecStop in IPv6 systemd unit
2023-04-08 22:12 [ptxdist] [PATCH] iptables: fix path in ExecStop in IPv6 systemd unit Tamino Bauknecht
@ 2023-04-14 10:03 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-04-14 10:03 UTC (permalink / raw)
To: ptxdist; +Cc: Tamino Bauknecht
Thanks, applied as 944e039eb9cd31100908cbe595c61041b20bf01a.
Michael
[sent from post-receive hook]
On Fri, 14 Apr 2023 12:03:37 +0200, Tamino Bauknecht <dev@tb6.eu> wrote:
> The service file for the systemd unit "ip6tables" contained the wrong
> path for the executable "ip6tables-flush". This caused each attempt to
> stop the unit to fail.
> This commit fixes this typing mistake and sets the path to
> "/usr/sbin/ip6tables-flush".
>
> Signed-off-by: Tamino Bauknecht <dev@tb6.eu>
> Message-Id: <20230408221240.35825-1-dev@tb6.eu>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/projectroot/usr/lib/systemd/system/ip6tables.service b/projectroot/usr/lib/systemd/system/ip6tables.service
> index 7cf9ab88b8d4..52e3096ed13c 100644
> --- a/projectroot/usr/lib/systemd/system/ip6tables.service
> +++ b/projectroot/usr/lib/systemd/system/ip6tables.service
> @@ -10,7 +10,7 @@ ConditionFileNotEmpty=/etc/iptables/rules.v6
> Type=oneshot
> ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
> ExecReload=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
> -ExecStop=/usr/sbin/iptables/ip6tables-flush
> +ExecStop=/usr/sbin/ip6tables-flush
> RemainAfterExit=yes
> [Install]
> WantedBy=multi-user.target
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-14 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-08 22:12 [ptxdist] [PATCH] iptables: fix path in ExecStop in IPv6 systemd unit Tamino Bauknecht
2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox