diff --git a/iptables.init b/iptables.init index 93fb093..b4b8364 100755 --- a/iptables.init +++ b/iptables.init @@ -316,7 +316,7 @@ case "$1" in RETVAL=$? ;; condrestart|try-restart) - [ ! -e "$VAR_SUBSYS_IPTABLES" ] && exit 7 + [ $running -eq 0 ] || exit 0 restart RETVAL=$? ;; diff --git a/iptables.spec b/iptables.spec index 33f26e6..bf9d42c 100644 --- a/iptables.spec +++ b/iptables.spec @@ -3,7 +3,7 @@ Name: iptables Summary: Tools for managing Linux kernel packet filtering capabilities Version: 1.3.8 -Release: 2%{?dist} +Release: 2.1%{?dist} Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2 Source1: iptables.init Source2: iptables-config @@ -147,6 +147,9 @@ fi %endif %changelog +* Mon Sep 17 2007 Thomas Woerner 1.3.8-2.1 +- do not use lock file for condrestart test + * Thu Aug 23 2007 Thomas Woerner 1.3.8-2 - fixed initscript for LSB conformance (rhbz#246953, rhbz#242459) - provide iptc interface again, but unsupported (rhbz#216733)