Bug 60671

Summary: broken preuninstall script
Product: [Retired] Red Hat Linux Reporter: James Manning <jmm>
Component: iptablesAssignee: wdovlrrw <brosenkr>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-04 17:04:33 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 James Manning 2002-03-04 17:04:29 UTC
Doing fresh 7.2 install and up2date -u run today:


17:iptables               ########################################### [16%]
/var/tmp/rpm-tmp.92298: [: /var/tmp/rpm-tmp.92298: integer expression expected

[jmm@localhost jmm]$ rpm -q --scripts iptables
postinstall scriptlet (through /bin/sh):
chkconfig --add iptables
preuninstall scriptlet (through /bin/sh):
if [ "$1" = 0 ]; then
        chkconfig --del iptables
fi

I'd imagine making it "0" instead of 0 should do it, but I'm not sure about 
the param passing that's happening

This could be a dup, but I'm prob. searching on the wrong strings.

Comment 1 Ben Levenson 2002-03-04 20:48:02 UTC

*** This bug has been marked as a duplicate of 55091 ***