Bug 22313

Summary: ipchains when the rules fails
Product: [Retired] Red Hat Linux Reporter: e
Component: ipchainsAssignee: Mike A. Harris <mharris>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-07 21:17:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description e 2000-12-14 20:15:08 UTC
When there is a problem with the chains rules

/etc/init.d/ipchains

Happily prints out an error message and exits. If remotely administering
the box in question this is often bad. The script alss touches the file
in the subsys dir in the failure case. Could this script please be modified
to something like:

            if grep -v "^[[:space:]]*#" $IPCHAINS_CONFIG | grep -v
'^[[:space:]]*$' | /sbin/ipchains-restore -p -f
            then
                    success "Applying ipchains firewall rules"
                    echo
                    touch /var/lock/subsys/ipchains
            else
                    failure "Applying ipchains firewall rules"
                    echo
                    $0 stop
            fi

thanks

Comment 1 Mike A. Harris 2001-01-28 21:59:13 UTC
Ive changed the severity to Enhancement request.

Comment 2 Mike A. Harris 2001-10-30 07:17:51 UTC
Defering for future consideration.