Bug 428148 - Startup Script init.d/iptables no longer does a condrestart or change of behaviour
Summary: Startup Script init.d/iptables no longer does a condrestart or change of beha...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: iptables
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-09 16:29 UTC by Colin.Simpson
Modified: 2008-06-13 02:26 UTC (History)
0 users

Fixed In Version: 1.3.8-7.fc8
Clone Of:
Environment:
Last Closed: 2008-06-13 02:26:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Colin.Simpson 2008-01-09 16:29:00 UTC
Description of problem:

The original init.d/iptables scripts used to have:

condrestart)
[ -e "$VAR_SUBSYS_IPTABLES" ] && restart

In F8 this has become,

condrestart|try-restart)
[ -f "$VAR_SUBSYS_IPTABLES" ] && exit 0

So if iptables is already running (has subsys lock file) exit. 

Is this a deliberate change of behaviour or broken?

If a change, how do we replicate the original behaviour of reloading the rules
file if iptables if already running.

Comment 1 Colin.Simpson 2008-05-26 16:35:22 UTC
This seems to have been fixed in Fedora 9.

  condrestart|try-restart)
        [ ! -e "$VAR_SUBSYS_IPTABLES" ] && exit 0
        restart
        RETVAL=$?

So now looks right, if lock does not exist it exits.

Should I close ? Or given that it's still broken in F8 should I leave?


Comment 2 Fedora Update System 2008-05-26 16:45:35 UTC
iptables-1.3.8-7.fc8 has been submitted as an update for Fedora 8

Comment 3 Thomas Woerner 2008-05-26 16:47:50 UTC
Oups, my fault. Package has been built for F-8 a long time ago, but there was no
update.

Comment 4 Fedora Update System 2008-05-29 02:50:57 UTC
iptables-1.3.8-7.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update iptables'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-4628

Comment 5 Fedora Update System 2008-06-13 02:26:02 UTC
iptables-1.3.8-7.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.