mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Tamino Bauknecht <dev@tb6.eu>
To: ptxdist@pengutronix.de
Cc: Tamino Bauknecht <dev@tb6.eu>
Subject: [ptxdist] [PATCH] iptables: fix path in ExecStop in IPv6 systemd unit
Date: Sun,  9 Apr 2023 00:12:41 +0200	[thread overview]
Message-ID: <20230408221240.35825-1-dev@tb6.eu> (raw)

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




             reply	other threads:[~2023-04-11  6:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-08 22:12 Tamino Bauknecht [this message]
2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230408221240.35825-1-dev@tb6.eu \
    --to=dev@tb6.eu \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox