Bugzilla – Attachment 491988 Details for
Bug 763533
running ifrenew breaks network configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
output from ifrenew (with "set -x" set in ifup)
ifrenew.out (text/plain), 9.53 KB, created by
Christoph Thiel
on 2012-05-22 19:11:33 UTC
(
hide
)
Description:
output from ifrenew (with "set -x" set in ifup)
Filename:
MIME Type:
Creator:
Christoph Thiel
Created:
2012-05-22 19:11:33 UTC
Size:
9.53 KB
patch
obsolete
>+ R_INTERNAL=1 >+ cd /etc/sysconfig/network >+ test -f ./config >+ . ./config >++ DEFAULT_BROADCAST=+ >++ GLOBAL_POST_UP_EXEC=yes >++ GLOBAL_PRE_DOWN_EXEC=yes >++ CHECK_DUPLICATE_IP=no >++ SEND_GRATUITOUS_ARP=no >++ DEBUG=no >++ USE_SYSLOG=yes >++ CONNECTION_SHOW_WHEN_IFSTATUS=no >++ CONNECTION_CHECK_BEFORE_IFDOWN=no >++ CONNECTION_CLOSE_BEFORE_IFDOWN=no >++ CONNECTION_UMOUNT_NFS_BEFORE_IFDOWN=no >++ CONNECTION_SEND_KILL_SIGNAL=no >++ MANDATORY_DEVICES= >++ WAIT_FOR_INTERFACES=30 >++ LINK_READY_WAIT=0 >++ IPV6_DAD_WAIT= >++ FIREWALL=yes >++ LINKLOCAL_INTERFACES='eth*[0-9]|tr*[0-9]|wlan[0-9]|ath[0-9]' >++ IFPLUGD_OPTIONS='-f -I -b' >++ NETWORKMANAGER=no >++ NM_ONLINE_TIMEOUT=0 >++ NETCONFIG_MODULES_ORDER='dns-resolver dns-bind dns-dnsmasq nis ntp-runtime' >++ NETCONFIG_DNS_POLICY=auto >++ NETCONFIG_DNS_FORWARDER=resolver >++ NETCONFIG_DNS_FORWARDER_FALLBACK=yes >++ NETCONFIG_DNS_STATIC_SEARCHLIST= >++ NETCONFIG_DNS_STATIC_SERVERS= >++ NETCONFIG_DNS_RANKING=auto >++ NETCONFIG_NTP_POLICY=auto >++ NETCONFIG_NTP_STATIC_SERVERS= >++ NETCONFIG_NIS_POLICY=auto >++ NETCONFIG_NIS_SETDOMAINNAME=yes >++ NETCONFIG_NIS_STATIC_DOMAIN= >++ NETCONFIG_NIS_STATIC_SERVERS= >++ WIRELESS_REGULATORY_DOMAIN= >+ test -f scripts/functions >+ . scripts/functions >++ . /etc/sysconfig/network/scripts/functions.common >+++ RUN_FILES_BASE=/dev/.sysconfig/network >+++ test -d /dev/.sysconfig/network >+++ R_SUCCESS=0 >+++ R_ERROR=1 >+++ R_USAGE=2 >+++ R_NOTIMPL=3 >+++ R_NOTALLOWED=4 >+++ R_NODEV=7 >+++ R_NOTCONFIGURED=5 >+++ R_INACTIVE=5 >+++ R_NOTRUNNING=7 >+++ R_NOCONFIG=9 >+++ R_BUSY=10 >+++ R_LOCKED=11 >+++ R_DHCP_BG=12 >+++ R_INTERNAL=1 >+++ R_NOT_UP2DATE=13 >+++ R_PROPERTY_NOT_SET=14 >+++ R_NO_IFPLUGD=15 >+++ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/etc/sysconfig/network/scripts >+++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/etc/sysconfig/network/scripts >+++ LOGGER=/bin/logger >+++ LOG_LEVEL= >+++ LOG_LEVEL= >+++ LOG_LEVEL=3 >+++ test no == yes >+++ SCRIPTNAME=ifrenew >+++ test '' == yes >+++ '[' yes '!=' yes ']' >+++ nl=3 >+++ for level in err '"#"' '"#"' info debug >+++ eval 'err_mesg()' '{' ':;' '}' >+++ eval 'err_mesg_n()' '{' ':;' '}' >+++ test 3 -gt 3 >+++ '[' yes '!=' yes ']' >+++ eval 'err_mesg()' '{' echo -e '"$@"' '1>&2;' echo -e '"$@"' '|' logger -p 3 -t '"ifrenew"' ';' '}' >+++ eval 'err_mesg_n()' '{' echo -ne '"$@"' '1>&2;' echo -e '"$@"' '|' logger -p 3 -t '"ifrenew"' ';' '}' >+++ : 3 >+++ for level in err '"#"' '"#"' info debug >+++ eval '#_mesg()' '{' ':;' '}' >+++ eval '#_mesg_n()' '{' ':;' '}' >+++ test 4 -gt 3 >+++ : 4 >+++ continue >+++ for level in err '"#"' '"#"' info debug >+++ eval '#_mesg()' '{' ':;' '}' >+++ eval '#_mesg_n()' '{' ':;' '}' >+++ test 5 -gt 3 >+++ : 5 >+++ continue >+++ for level in err '"#"' '"#"' info debug >+++ eval 'info_mesg()' '{' ':;' '}' >+++ eval 'info_mesg_n()' '{' ':;' '}' >+++ test 6 -gt 3 >+++ : 6 >+++ continue >+++ for level in err '"#"' '"#"' info debug >+++ eval 'debug_mesg()' '{' ':;' '}' >+++ eval 'debug_mesg_n()' '{' ':;' '}' >+++ test 7 -gt 3 >+++ : 7 >+++ continue >++ NETWORK_RUNFILE=/dev/.sysconfig/network/started >++ STAMPFILE_STUB=/dev/.sysconfig/network/new-stamp- >++ NETWORKMANAGER_BIN=/usr/sbin/NetworkManager >++ NM_ONLINE_BIN=/usr/bin/nm-online >+ test no = EXTRA >+ SCRIPTNAME=ifrenew >+ debug eth0 >+ test -n eth0 >+ info_mesg eth0 >+ : >+ test no == yes >+ case "$1" in >+ INTERFACE=eth0 >+ shift >+ '[' -n '' -a '' '!=' -o ']' >+ shift >+ test '' = -o >+ OPTIONS= >+ MODE=manual >+ HOTPLUG=no >+ BOOTING=no >+ CONTROL_IFPLUGD=yes >+ export DONT_USE_SYSLOG=no >+ DONT_USE_SYSLOG=no >+ test ifrenew == ifstatus >+ '[' 0 -gt 0 ']' >+ test -f scripts/functions.common >+ . scripts/functions.common >++ RUN_FILES_BASE=/dev/.sysconfig/network >++ test -d /dev/.sysconfig/network >++ R_SUCCESS=0 >++ R_ERROR=1 >++ R_USAGE=2 >++ R_NOTIMPL=3 >++ R_NOTALLOWED=4 >++ R_NODEV=7 >++ R_NOTCONFIGURED=5 >++ R_INACTIVE=5 >++ R_NOTRUNNING=7 >++ R_NOCONFIG=9 >++ R_BUSY=10 >++ R_LOCKED=11 >++ R_DHCP_BG=12 >++ R_INTERNAL=1 >++ R_NOT_UP2DATE=13 >++ R_PROPERTY_NOT_SET=14 >++ R_NO_IFPLUGD=15 >++ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/etc/sysconfig/network/scripts >++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/etc/sysconfig/network/scripts >++ LOGGER=/bin/logger >++ LOG_LEVEL=3 >++ LOG_LEVEL=3 >++ LOG_LEVEL=3 >++ test no == yes >++ SCRIPTNAME=ifrenew >++ test no == yes >++ '[' yes '!=' yes ']' >++ nl=3 >++ for level in err '"#"' '"#"' info debug >++ eval 'err_mesg()' '{' ':;' '}' >++ eval 'err_mesg_n()' '{' ':;' '}' >++ test 3 -gt 3 >++ '[' yes '!=' yes ']' >++ eval 'err_mesg()' '{' echo -e '"$@"' '1>&2;' echo -e '"$@"' '|' logger -p 3 -t '"ifrenew"' ';' '}' >++ eval 'err_mesg_n()' '{' echo -ne '"$@"' '1>&2;' echo -e '"$@"' '|' logger -p 3 -t '"ifrenew"' ';' '}' >++ : 3 >++ for level in err '"#"' '"#"' info debug >++ eval '#_mesg()' '{' ':;' '}' >++ eval '#_mesg_n()' '{' ':;' '}' >++ test 4 -gt 3 >++ : 4 >++ continue >++ for level in err '"#"' '"#"' info debug >++ eval '#_mesg()' '{' ':;' '}' >++ eval '#_mesg_n()' '{' ':;' '}' >++ test 5 -gt 3 >++ : 5 >++ continue >++ for level in err '"#"' '"#"' info debug >++ eval 'info_mesg()' '{' ':;' '}' >++ eval 'info_mesg_n()' '{' ':;' '}' >++ test 6 -gt 3 >++ : 6 >++ continue >++ for level in err '"#"' '"#"' info debug >++ eval 'debug_mesg()' '{' ':;' '}' >++ eval 'debug_mesg_n()' '{' ':;' '}' >++ test 7 -gt 3 >++ : 7 >++ continue >+ '[' -z '' ']' >+ read CONFIG >++ read_cached_config_data config eth0 >++ touch /dev/.sysconfig/network/tmp/test >++ local PFX >++ test -n '' >++ : if- >++ '[' -r /dev/.sysconfig/network/if-eth0 ']' >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ echo eth0 >+ '[' -z eth0 ']' >+ case $SCRIPTNAME in >+ unset INTERFACETYPE >+ test -z '' >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ get_iface_type eth0 >++ local IF=eth0 TYPE >++ test -n eth0 >++ test -d /sys/class/net/eth0 >++ case "`cat /sys/class/net/$IF/type`" in >+++ cat /sys/class/net/eth0/type >++ TYPE=eth >++ test -d /sys/class/net/eth0/wireless -o -L /sys/class/net/eth0/phy80211 >++ test -d /sys/class/net/eth0/bridge >++ test -f /proc/net/vlan/eth0 >++ test -d /sys/class/net/eth0/bonding >++ test -f /sys/class/net/eth0/tun_flags >++ test -d /sys/devices/virtual/net/eth0 >++ case $IF in >++ test -n eth >++ echo eth >++ return 0 >+ INTERFACETYPE=eth >+ test -z eth >+ export INTERFACETYPE >+ '[' eth == wlan_aux ']' >+ '[' ifrenew = ifup ']' >+ declare -r _INTERFACETYPE=eth >+ INTERFACETYPE= >+ '[' -n eth0 -a -r ifcfg-eth0 ']' >+ . ifcfg-eth0 >++ BOOTPROTO=dhcp4 >++ STARTMODE=onboot >++ NAME='Ethernet Network Card' >+ test X '!=' X >+ echo eth0 >+ test X = X >+ export INTERFACETYPE=eth >+ INTERFACETYPE=eth >+ is_iface_available eth0 >+ local IFNAME=eth0 >+ local IFTYPE=eth >+ test -z eth0 >+ test -d /sys/class/net/eth0 >+ return 0 >+ '[' no = yes ']' >+ nm_running >+ local MSG RET >+ test -x /usr/sbin/NetworkManager >+ return >++ echo dhcp4 >++ gawk '{print tolower($0);}' >+ BOOTPROTO=dhcp4 >+ '[' dhcp4 = ibft ']' >+ '[' dhcp '!=' dhcp -a '' = yes ']' >+ IFPLUGD=/sbin/ifplugd >+ '[' yes == yes ']' >+ case $SCRIPTNAME in >+ test ifrenew = ifdown >+ '[' 1 = 0 -a '' '!=' yes ']' >+ case $SCRIPTNAME in >++ get_businfo eth0 >++ cd -P /sys/class/net/eth0/device >++ echo BUSID=virtio0 >+++ cat vendor >++ echo VENDORID=0x1af4 >+++ cat device >++ echo PRODUCTID=0x0001 >++ cd -P subsystem >++ echo BUSNAME=virtio >+ eval BUSID=virtio0 VENDORID=0x1af4 PRODUCTID=0x0001 BUSNAME=virtio >++ BUSID=virtio0 >++ VENDORID=0x1af4 >++ PRODUCTID=0x0001 >++ BUSNAME=virtio >+ DEVNAME= >+ '[' -n 0x1af40x0001 -a virtio = pci -a -x /sbin/lspci ']' >+ '[' virtio = pcmcia ']' >+ '[' -n '' ']' >+ '[' -n 'Ethernet Network Card' -a -z '' ']' >++ printf ' %-9s name: %s' eth0 'Ethernet Network Card' >+ message ' eth0 name: Ethernet Network Card' >+ mesg ' eth0 name: Ethernet Network Card' >+ echo -e ' eth0 name: Ethernet Network Card' > eth0 name: Ethernet Network Card >+ echo -e ' eth0 name: Ethernet Network Card' >+ logger -t ifrenew >+ '[' ifrenew '!=' ifdown -a '(' -z eth0 -o '!' -r ifcfg-eth0 ')' ']' >+ '[' ifrenew = ifdown -a '(' -z eth0 -o '!' -r ifcfg-eth0 ')' ']' >+ '[' ifrenew '!=' ifdown -a -z '' ']' >++ read_cached_config_data provider eth0 >++ touch /dev/.sysconfig/network/tmp/test >++ local PFX >++ test -n '' >++ : if- >++ '[' -r /dev/.sysconfig/network/if-eth0 ']' >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >++ case $a in >++ IFS== >++ read a b >+ PROVIDER= >+ '[' ifrenew = ifdown ']' >+ '[' ifrenew = ifup -a no = yes -a '' '!=' yes -a '' '!=' yes ']' >+ test onboot = on >+ test onboot = boot >+ test onboot = onboot >+ STARTMODE=auto >+ test auto = hotplug >+ '[' auto = nfsroot ']' >+ '[' auto == ifplugd -a yes == yes ']' >+ test -z auto >+ '[' ifrenew = ifup ']' >+ '[' ifrenew = ifdown ']' >+ '[' ifrenew = ifup ']' >+ '[' '' '!=' yes ']' >+ '[' ifrenew = ifdown ']' >+ '[' ifrenew = ifup ']' >+ case $INTERFACETYPE in >+ INTERFACESCRIPT=scripts/ifrenew-eth >+ case "$INTERFACETYPE" in >+ '[' -x scripts/ifrenew-eth ']' >+ '[' ifrenew = ifup -a -n '' ']' >+ '[' dhcp4 = 6to4 -a ifrenew '!=' ifup ']' >+ '[' ifrenew == ifstatus -a auto == ifplugd ']' >+ dhcpretcode=0 >+ case "$BOOTPROTO$SKIP_MAIN_PART" in >+ '[' '' = yes ']' >+ ifrenew-dhcp eth0 eth0 >Starting DHCP4 client on eth0. . > eth0 DHCP4 client NOT running >+ dhcpretcode=7 >+ case "$BOOTPROTO$SKIP_MAIN_PART" in >+ case $SCRIPTNAME in >+ '[' '' '!=' yes ']' >+ '[' ifrenew = ifstatus ']' >+ '[' ifrenew = ifdown ']' >+ '[' ifrenew = ifup -a '(' dhcp '!=' dhcp -o '' = yes ')' ']' >+ '[' ifrenew = ifdown -a '(' dhcp '!=' dhcp -o '' '!=' yes ')' ']' >+ '[' -n '' -a '' '!=' 99 ']' >+ '[' '' == 99 -a 7 == 7 ']' >+ '[' 7 '!=' 0 ']' >+ exithook 7 >+ RET_VAL=7 >+ '[' '' '!=' yes ']' >+ case $RET_VAL in >+ RET_STATE= >+ exit 7
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 763533
: 491988 |
491989
|
492120
|
492225