On 09/24/2012 10:19 PM, Tom Eastep wrote:
> On 09/24/2012 02:31 AM, Jonathan Underwood wrote:
>> Such a change is something I've been meaning to submit a (trivial) patch
>> for - from a fedora perspective this would be a welcome change.
>
> Okay -- if one of you would send me a patch, I'll apply it. 4.5.8 is
> about to be released, so I would like the patch ASAP if you want it
> included in 4.5.8.
Hope not late and it works, see attached
Togan
>From 3ec45217b6ac93437d002315c56a1b3354160ff2 Mon Sep 17 00:00:00 2001
From: Togan Muftuoglu <[email protected]>
Date: Sun, 23 Sep 2012 14:26:07 +0200
Subject: [PATCH] Fix sbin
The service files need to be executed from /usr/sbin not from /sbin
Signed-off-by: Togan Muftuoglu <[email protected]>
---
Shorewall-lite/shorewall-lite.service | 4 ++--
Shorewall/shorewall.service | 4 ++--
Shorewall6-lite/shorewall6-lite.service | 4 ++--
Shorewall6/shorewall6.service | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Shorewall-lite/shorewall-lite.service b/Shorewall-lite/shorewall-lite.service
index 7d9873b..93c0541 100644
--- a/Shorewall-lite/shorewall-lite.service
+++ b/Shorewall-lite/shorewall-lite.service
@@ -13,8 +13,8 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/shorewall-lite
StandardOutput=syslog
-ExecStart=/sbin/shorewall-lite $OPTIONS start
-ExecStop=/sbin/shorewall-lite $OPTIONS stop
+ExecStart=/usr/sbin/shorewall-lite $OPTIONS start
+ExecStop=/usr/sbin/shorewall-lite $OPTIONS stop
[Install]
WantedBy=multi-user.target
diff --git a/Shorewall/shorewall.service b/Shorewall/shorewall.service
index e8e91bc..b74f3ac 100644
--- a/Shorewall/shorewall.service
+++ b/Shorewall/shorewall.service
@@ -13,8 +13,8 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/shorewall
StandardOutput=syslog
-ExecStart=/sbin/shorewall $OPTIONS start
-ExecStop=/sbin/shorewall $OPTIONS stop
+ExecStart=/usr/sbin/shorewall $OPTIONS start
+ExecStop=/usr/sbin/shorewall $OPTIONS stop
[Install]
WantedBy=multi-user.target
diff --git a/Shorewall6-lite/shorewall6-lite.service b/Shorewall6-lite/shorewall6-lite.service
index a1d0386..75455b4 100644
--- a/Shorewall6-lite/shorewall6-lite.service
+++ b/Shorewall6-lite/shorewall6-lite.service
@@ -13,8 +13,8 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/shorewall6-lite
StandardOutput=syslog
-ExecStart=/sbin/shorewall6-lite $OPTIONS start
-ExecStop=/sbin/shorewall6-lite $OPTIONS stop
+ExecStart=/usr/sbin/shorewall6-lite $OPTIONS start
+ExecStop=/usr/sbin/shorewall6-lite $OPTIONS stop
[Install]
WantedBy=multi-user.target
diff --git a/Shorewall6/shorewall6.service b/Shorewall6/shorewall6.service
index 97f984b..126f261 100644
--- a/Shorewall6/shorewall6.service
+++ b/Shorewall6/shorewall6.service
@@ -13,8 +13,8 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/shorewall6
StandardOutput=syslog
-ExecStart=/sbin/shorewall6 $OPTIONS start
-ExecStop=/sbin/shorewall6 $OPTIONS stop
+ExecStart=/usr/sbin/shorewall6 $OPTIONS start
+ExecStop=/usr/sbin/shorewall6 $OPTIONS stop
[Install]
WantedBy=multi-user.target
--
1.7.12
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel