From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 14 Apr 2023 12:04:08 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pnGHn-003BY1-6n for lore@lore.pengutronix.de; Fri, 14 Apr 2023 12:04:08 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pnGHn-0002dM-3W; Fri, 14 Apr 2023 12:04:07 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pnGHL-0002cy-3J; Fri, 14 Apr 2023 12:03:39 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pnGHK-00BATY-AU; Fri, 14 Apr 2023 12:03:38 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pnGHJ-00EJrq-Id; Fri, 14 Apr 2023 12:03:37 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 14 Apr 2023 12:03:37 +0200 Message-Id: <20230414100337.3412955-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230408221240.35825-1-dev@tb6.eu> References: <20230408221240.35825-1-dev@tb6.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] iptables: fix path in ExecStop in IPv6 systemd unit X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Tamino Bauknecht Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 944e039eb9cd31100908cbe595c61041b20bf01a. Michael [sent from post-receive hook] On Fri, 14 Apr 2023 12:03:37 +0200, Tamino Bauknecht 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 > Message-Id: <20230408221240.35825-1-dev@tb6.eu> > Signed-off-by: Michael Olbrich > > 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