Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304862 Details for
Bug 442335
iptables modules fail to unload
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
output of sh -x /etc/init.d/iptables stop
output (text/plain), 9.22 KB, created by
Matt Castelein
on 2008-05-08 13:39:32 UTC
(
hide
)
Description:
output of sh -x /etc/init.d/iptables stop
Filename:
MIME Type:
Creator:
Matt Castelein
Created:
2008-05-08 13:39:32 UTC
Size:
9.22 KB
patch
obsolete
>+ . /etc/init.d/functions >++ TEXTDOMAIN=initscripts >++ umask 022 >++ PATH=/sbin:/usr/sbin:/bin:/usr/bin >++ export PATH >++ '[' -z '' ']' >++ COLUMNS=80 >++ '[' -z '' ']' >+++ /sbin/consoletype >++ CONSOLETYPE=pty >++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']' >++ . /etc/profile.d/lang.sh >+++ sourced=0 >+++ '[' -n en_US.UTF-8 ']' >+++ sourced=1 >+++ '[' -n '' ']' >+++ '[' 1 = 1 ']' >+++ '[' -n en_US.UTF-8 ']' >+++ export LANG >+++ '[' -n '' ']' >+++ unset LC_ADDRESS >+++ '[' -n '' ']' >+++ unset LC_CTYPE >+++ '[' -n '' ']' >+++ unset LC_COLLATE >+++ '[' -n '' ']' >+++ unset LC_IDENTIFICATION >+++ '[' -n '' ']' >+++ unset LC_MEASUREMENT >+++ '[' -n '' ']' >+++ unset LC_MESSAGES >+++ '[' -n '' ']' >+++ unset LC_MONETARY >+++ '[' -n '' ']' >+++ unset LC_NAME >+++ '[' -n '' ']' >+++ unset LC_NUMERIC >+++ '[' -n '' ']' >+++ unset LC_PAPER >+++ '[' -n '' ']' >+++ unset LC_TELEPHONE >+++ '[' -n '' ']' >+++ unset LC_TIME >+++ '[' -n '' ']' >+++ unset LC_ALL >+++ '[' -n '' ']' >+++ unset LANGUAGE >+++ '[' -n '' ']' >+++ unset LINGUAS >+++ '[' -n '' ']' >+++ unset _XKB_CHARSET >++++ /sbin/consoletype >+++ consoletype=pty >+++ '[' -n '' ']' >+++ '[' -n '' ']' >+++ '[' -n en_US.UTF-8 ']' >+++ case $LANG in >+++ '[' xterm = linux ']' >+++ unset SYSFONTACM SYSFONT >+++ unset sourced >+++ unset langfile >++ unset LANGSH_SOURCED >++ '[' -z '' ']' >++ '[' -f /etc/sysconfig/init ']' >++ . /etc/sysconfig/init >+++ BOOTUP=color >+++ GRAPHICAL=no >+++ RES_COL=60 >+++ MOVE_TO_COL='echo -en \033[60G' >+++ SETCOLOR_SUCCESS='echo -en \033[0;32m' >+++ SETCOLOR_FAILURE='echo -en \033[0;31m' >+++ SETCOLOR_WARNING='echo -en \033[0;33m' >+++ SETCOLOR_NORMAL='echo -en \033[0;39m' >+++ LOGLEVEL=3 >+++ PROMPT=yes >++ '[' pty = serial ']' >++ '[' color '!=' verbose ']' >++ INITLOG_ARGS=-q >++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' >+ IPTABLES=iptables >+ IPTABLES_DATA=/etc/sysconfig/iptables >+ IPTABLES_CONFIG=/etc/sysconfig/iptables-config >+ IPV=ip >+ '[' ip = ip ']' >+ _IPV=ipv4 >+ PROC_IPTABLES_NAMES=/proc/net/ip_tables_names >+ VAR_SUBSYS_IPTABLES=/var/lock/subsys/iptables >+ '[' '!' -x /sbin/iptables ']' >+ /sbin/modprobe --version >+ grep -q module-init-tools >+ NEW_MODUTILS=1 >+ IPTABLES_MODULES= >+ IPTABLES_MODULES_UNLOAD=yes >+ IPTABLES_SAVE_ON_STOP=no >+ IPTABLES_SAVE_ON_RESTART=no >+ IPTABLES_SAVE_COUNTER=no >+ IPTABLES_STATUS_NUMERIC=yes >+ '[' -f /etc/sysconfig/iptables-config ']' >+ . /etc/sysconfig/iptables-config >++ IPTABLES_MODULES= >++ IPTABLES_MODULES_UNLOAD=yes >++ IPTABLES_SAVE_ON_STOP=no >++ IPTABLES_SAVE_ON_RESTART=no >++ IPTABLES_SAVE_COUNTER=no >++ IPTABLES_STATUS_NUMERIC=yes >++ IPTABLES_STATUS_VERBOSE=no >++ IPTABLES_STATUS_LINENUMBERS=yes >+ NF_MODULES=(${IPV}_tables nf_conntrack_${_IPV}) >+ NF_MODULES_COMMON=(x_tables nf_conntrack) >++ cat /proc/net/ip_tables_names >+ NF_TABLES='filter >mangle >nat' >+ case "$1" in >+ '[' xno = xyes ']' >+ stop >+ '[' '!' -e /proc/net/ip_tables_names ']' >+ flush_n_delete >+ '[' '!' -e /proc/net/ip_tables_names ']' >+ '[' -z 'filter >mangle >nat' ']' >+ echo -n 'iptables: Flushing firewall rules: ' >iptables: Flushing firewall rules: + ret=0 >+ for i in '$NF_TABLES' >+ iptables -t filter -F >+ let ret+=0 >+ iptables -t filter -X >+ let ret+=0 >+ iptables -t filter -Z >+ let ret+=0 >+ for i in '$NF_TABLES' >+ iptables -t mangle -F >+ let ret+=0 >+ iptables -t mangle -X >+ let ret+=0 >+ iptables -t mangle -Z >+ let ret+=0 >+ for i in '$NF_TABLES' >+ iptables -t nat -F >+ let ret+=0 >+ iptables -t nat -X >+ let ret+=0 >+ iptables -t nat -Z >+ let ret+=0 >+ '[' 0 -eq 0 ']' >+ success >+ '[' color '!=' verbose -a -z '' ']' >+ echo_success >+ '[' color = color ']' >+ echo -en '\033[60G' > + echo -n '[' >[+ '[' color = color ']' >+ echo -en '\033[0;32m' >+ echo -n ' OK ' > OK + '[' color = color ']' >+ echo -en '\033[0;39m' >+ echo -n ']' >]+ echo -ne '\r' >+ return 0 >+ return 0 >+ echo > >+ return 0 >+ set_policy ACCEPT >+ policy=ACCEPT >+ '[' '!' -e /proc/net/ip_tables_names ']' >++ cat /proc/net/ip_tables_names >+ tables='filter >mangle >nat' >+ '[' -z 'filter >mangle >nat' ']' >+ echo -n 'iptables: Setting chains to policy ACCEPT: ' >iptables: Setting chains to policy ACCEPT: + ret=0 >+ for i in '$tables' >+ echo -n 'filter ' >filter + case "$i" in >+ iptables -t filter -P INPUT ACCEPT >+ iptables -t filter -P OUTPUT ACCEPT >+ iptables -t filter -P FORWARD ACCEPT >+ for i in '$tables' >+ echo -n 'mangle ' >mangle + case "$i" in >+ iptables -t mangle -P PREROUTING ACCEPT >+ iptables -t mangle -P POSTROUTING ACCEPT >+ iptables -t mangle -P INPUT ACCEPT >+ iptables -t mangle -P OUTPUT ACCEPT >+ iptables -t mangle -P FORWARD ACCEPT >+ for i in '$tables' >+ echo -n 'nat ' >nat + case "$i" in >+ iptables -t nat -P PREROUTING ACCEPT >+ iptables -t nat -P POSTROUTING ACCEPT >+ iptables -t nat -P OUTPUT ACCEPT >+ '[' 0 -eq 0 ']' >+ success >+ '[' color '!=' verbose -a -z '' ']' >+ echo_success >+ '[' color = color ']' >+ echo -en '\033[60G' > + echo -n '[' >[+ '[' color = color ']' >+ echo -en '\033[0;32m' >+ echo -n ' OK ' > OK + '[' color = color ']' >+ echo -en '\033[0;39m' >+ echo -n ']' >]+ echo -ne '\r' >+ return 0 >+ return 0 >+ echo > >+ return 0 >+ '[' xyes = xyes ']' >+ echo -n 'iptables: Unloading modules: ' >iptables: Unloading modules: + ret=0 >+ for mod in '${NF_MODULES[*]}' >+ rmmod_r ip_tables >+ local mod=ip_tables >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^ip_tables/ { print $4; }' >++ tr , ' ' >+ ref='iptable_filter iptable_mangle iptable_nat' >+ for i in '$ref' >+ rmmod_r iptable_filter >+ local mod=iptable_filter >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^iptable_filter/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^iptable_filter' /proc/modules >+ modprobe -r iptable_filter >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ for i in '$ref' >+ rmmod_r iptable_mangle >+ local mod=iptable_mangle >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^iptable_mangle/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^iptable_mangle' /proc/modules >+ modprobe -r iptable_mangle >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ for i in '$ref' >+ rmmod_r iptable_nat >+ local mod=iptable_nat >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^iptable_nat/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^iptable_nat' /proc/modules >+ modprobe -r iptable_nat >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ grep -q '^ip_tables' /proc/modules >+ return 0 >+ let ret+=0 >+ for mod in '${NF_MODULES[*]}' >+ rmmod_r nf_conntrack_ipv4 >+ local mod=nf_conntrack_ipv4 >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^nf_conntrack_ipv4/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^nf_conntrack_ipv4' /proc/modules >+ modprobe -r nf_conntrack_ipv4 >+ let ret+=1 >+ return 1 >+ let ret+=1 >+ for mod in '${NF_MODULES_COMMON[*]}' >+ rmmod_r x_tables >+ local mod=x_tables >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^x_tables/ { print $4; }' >++ tr , ' ' >+ ref='ipt_REJECT xt_state xt_comment ipt_MASQUERADE xt_tcpudp' >+ for i in '$ref' >+ rmmod_r ipt_REJECT >+ local mod=ipt_REJECT >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^ipt_REJECT/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^ipt_REJECT' /proc/modules >+ modprobe -r ipt_REJECT >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ for i in '$ref' >+ rmmod_r xt_state >+ local mod=xt_state >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^xt_state/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^xt_state' /proc/modules >+ modprobe -r xt_state >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ for i in '$ref' >+ rmmod_r xt_comment >+ local mod=xt_comment >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^xt_comment/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^xt_comment' /proc/modules >+ modprobe -r xt_comment >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ for i in '$ref' >+ rmmod_r ipt_MASQUERADE >+ local mod=ipt_MASQUERADE >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^ipt_MASQUERADE/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^ipt_MASQUERADE' /proc/modules >+ modprobe -r ipt_MASQUERADE >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ for i in '$ref' >+ rmmod_r xt_tcpudp >+ local mod=xt_tcpudp >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^xt_tcpudp/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^xt_tcpudp' /proc/modules >+ modprobe -r xt_tcpudp >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ grep -q '^x_tables' /proc/modules >+ return 0 >+ for mod in '${NF_MODULES_COMMON[*]}' >+ rmmod_r nf_conntrack >+ local mod=nf_conntrack >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^nf_conntrack/ { print $4; }' >++ tr , ' ' >+ ref=' >nf_conntrack_ipv4' >+ for i in '$ref' >+ rmmod_r nf_conntrack_ipv4 >+ local mod=nf_conntrack_ipv4 >+ local ret=0 >+ local ref= >+ '[' 1 = 1 ']' >++ lsmod >++ awk '/^nf_conntrack_ipv4/ { print $4; }' >++ tr , ' ' >+ ref= >+ grep -q '^nf_conntrack_ipv4' /proc/modules >+ modprobe -r nf_conntrack_ipv4 >+ let ret+=0 >+ return 0 >+ let ret+=0 >+ grep -q '^nf_conntrack' /proc/modules >+ return 0 >+ '[' 1 -eq 0 ']' >+ failure >+ local rc=1 >+ '[' color '!=' verbose -a -z '' ']' >+ echo_failure >+ '[' color = color ']' >+ echo -en '\033[60G' > + echo -n '[' >[+ '[' color = color ']' >+ echo -en '\033[0;31m' >+ echo -n FAILED >FAILED+ '[' color = color ']' >+ echo -en '\033[0;39m' >+ echo -n ']' >]+ echo -ne '\r' >+ return 1 >+ '[' -x /usr/bin/rhgb-client ']' >+ /usr/bin/rhgb-client --details=yes >+ return 1 >+ echo > >+ rm -f /var/lock/subsys/iptables >+ return 1 >+ RETVAL=1 >+ exit 1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 442335
: 304862 |
304868
|
304874
|
304875
|
304967