Bugzilla – Attachment 61357 Details for
Bug 140124
rcnetwork ignores eth0 during the first run
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
netdebug5
netdebug5 (text/plain), 10.16 KB, created by
Martin Vidner
on 2005-12-19 12:54:07 UTC
(
hide
)
Description:
netdebug5
Filename:
MIME Type:
Creator:
Martin Vidner
Created:
2005-12-19 12:54:07 UTC
Size:
10.16 KB
patch
obsolete
>+ . /etc/rc.status >++ LC_ALL=POSIX >++ export LC_ALL >++ test -z '' -o -z '' >+++ exec >+++ stty size >+++ read L C >+++ echo LINES=24 COLUMNS=80 >++ eval LINES=24 COLUMNS=80 >+++ LINES=24 >+++ COLUMNS=80 >++ test 24 -eq 0 >++ test 80 -eq 0 >++ export LINES COLUMNS >++ case ":$PATH:" in >++ test -t 1 -a linux '!=' raw -a linux '!=' dumb >++ esc= >++ extd= >++ warn= >++ done= >++ attn= >++ norm= >++ stat= >++ rc_done=..done >++ rc_running=..running >++ rc_failed=..failed >++ rc_missed=..missing >++ rc_skipped=..skipped >++ rc_dead=..dead >++ rc_unused=..unused >++ rc_unknown=..unknown >++ rc_done_up=..done >++ rc_failed_up=..failed >++ rc_reset= >++ rc_save= >++ rc_restore= >++ _rc_service=rcnetwork >++ _rc_status=0 >++ _rc_status_all=0 >++ _rc_todo=start >++ test start = status >++ test -n start >+ rc_reset >+ _rc_status=0 >+ _rc_status_all=0 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ return 0 >+ cd /etc/sysconfig/network >+ test -f ./config >+ . ./config >++ DEFAULT_BROADCAST=+ >++ GLOBAL_POST_UP_EXEC=yes >++ GLOBAL_PRE_DOWN_EXEC=yes >++ CHECK_DUPLICATE_IP=no >++ DEBUG=no >++ USE_SYSLOG=yes >++ MODIFY_RESOLV_CONF_DYNAMICALLY=yes >++ MODIFY_NAMED_CONF_DYNAMICALLY=no >++ 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=20 >++ FIREWALL=yes >++ LINKLOCAL_INTERFACES='eth*[0-9]|tr*[0-9]|wlan[0-9]|ath[0-9]' >++ IFPLUGD_OPTIONS='-f -I' >++ FORCE_PERSISTENT_NAMES=yes >+ . scripts/functions >+ '[' -n sysvinit-2.86 ']' >+ MODE=onboot >+ SCRIPTNAME=rcnetwork >+ debug start -o debug >+ test no = yes >+ return 1 >+ ACTION=start >+ shift >+ '[' -o '!=' -o ']' >+ '[' -n -o -a -o '!=' -o ']' >+ test -o = -o >+ shift >+ OPTIONS=debug >+ '[' 1 -gt 0 ']' >+ case $1 in >+ BE_QUIET= >+ DEBUG=yes >+ shift >+ '[' 0 -gt 0 ']' >+ '[' onboot = onboot -a start = start ']' >+ rm -f /var/run/sysconfig/if-lo >+ rm -f /var/run/sysconfig/ifup-lo >+ rm -Rf /var/run/sysconfig/tmp >+ rm -f '/var/run/sysconfig/route-stack-*' >+ mkdir -p /var/run/sysconfig/tmp >+ '[' start = start ']' >+ date +%s >+ '[' -n '' ']' >+ LO=lo >++ ls -d /etc/sysconfig/network/ifcfg-eth-id-00:50:fc:f7:de:d8 /etc/sysconfig/network/ifcfg-lo >+ IFS=- >+ read a b c >+ test -n id-00:50:fc:f7:de:d8 >+ continue >+ IFS=- >+ read a b c >+ test -n '' >++ type_filter lo >++ echo lo >+ b=lo >+ test -z lo >+ case $b in >+ IFS=- >+ read a b c >+ ls -ltrdR --full-time /var/run/sysconfig/network /sys/class/net/eth0 /sys/class/net/lo /sys/class/net/sit0 /var/run/sysconfig/new-stamp-2 /var/run/sysconfig/new-stamp-3 >drwxr-xr-x 3 root root 0 2005-12-19 13:14:49.162760000 +0100 /sys/class/net/eth0 >drwxr-xr-x 3 root root 0 2005-12-19 13:14:58.155322000 +0100 /sys/class/net/lo >-rw-r--r-- 1 root root 8 2005-12-19 13:15:14.000000000 +0100 /var/run/sysconfig/new-stamp-3 >drwxr-xr-x 3 root root 0 2005-12-19 13:15:14.817386000 +0100 /sys/class/net/sit0 >-rw-r--r-- 1 root root 8 2005-12-19 13:20:01.000000000 +0100 /var/run/sysconfig/new-stamp-2 >-rw-r--r-- 1 root root 11 2005-12-19 13:24:44.000000000 +0100 /var/run/sysconfig/network >+++ ls -A /sys/class/net/ >++ type_filter eth0 lo sit0 >++ echo eth0 lo sit0 >+ for a in '$(type_filter `ls -A /sys/class/net/`)' >+ test eth0 = lo >+ test eth0 = sit0 >+ test eth0 '!=' eth0 >+ case $a in >++ cat /sys/class/net/eth0/ifindex >+ STAMPFILE=/var/run/sysconfig/new-stamp-2 >+ '[' onboot == onboot -a start == start ']' >+ '[' -r /var/run/sysconfig/new-stamp-2 ']' >+ case "`cat $STAMPFILE`" in >++ cat /var/run/sysconfig/new-stamp-2 >+ case $a in >+ PHYSICAL_IFACES=' eth0' >+ for a in '$(type_filter `ls -A /sys/class/net/`)' >+ test lo = lo >+ continue >+ for a in '$(type_filter `ls -A /sys/class/net/`)' >+ test sit0 = lo >+ test sit0 = sit0 >+ continue >+ AVAILABLE_IFACES=' eth0' >+ '[' -z '' ']' >++ ls -d /etc/sysconfig/network/ifcfg-eth-id-00:50:fc:f7:de:d8 /etc/sysconfig/network/ifcfg-lo >+ IFS=- >+ read a b >+ test -z eth-id-00:50:fc:f7:de:d8 >+ case $b in >+ case "`get_startmode $b`" in >++ get_startmode eth-id-00:50:fc:f7:de:d8 >++ local STARTMODE >++ get_variable STARTMODE eth-id-00:50:fc:f7:de:d8 >++ local line >+++ grep '^[[:space:]]*STARTMODE' ifcfg-eth-id-00:50:fc:f7:de:d8 >++ read line >++ eval 'STARTMODE='\''ifplugd'\''' >+++ STARTMODE=ifplugd >++ read line >++ echo ifplugd >+ continue >+ IFS=- >+ read a b >+ test -z lo >+ case $b in >+ continue >+ IFS=- >+ read a b >+ '[' -n '' -a onboot '!=' onboot -a start = start ']' >+ MANDATORY_DEVICES=' __NSC__ ' >+ test onboot = onboot >+ debug 'CONFIG = ' >+ test yes = yes >+ test -z 'CONFIG = ' >+ echo -e 'rcnetwork [DEBUG] CONFIG = ' >rcnetwork [DEBUG] CONFIG = >+ debug 'INTERFACE = ' >+ test yes = yes >+ test -z 'INTERFACE = ' >+ echo -e 'rcnetwork [DEBUG] INTERFACE = ' >rcnetwork [DEBUG] INTERFACE = >+ debug 'AVAILABLE_IFACES = eth0' >+ test yes = yes >+ test -z 'AVAILABLE_IFACES = eth0' >+ echo -e 'rcnetwork [DEBUG] AVAILABLE_IFACES = eth0' >rcnetwork [DEBUG] AVAILABLE_IFACES = eth0 >+ debug 'PHYSICAL_IFACES = eth0' >+ test yes = yes >+ test -z 'PHYSICAL_IFACES = eth0' >+ echo -e 'rcnetwork [DEBUG] PHYSICAL_IFACES = eth0' >rcnetwork [DEBUG] PHYSICAL_IFACES = eth0 >+ debug 'DIALUP_IFACES = ' >+ test yes = yes >+ test -z 'DIALUP_IFACES = ' >+ echo -e 'rcnetwork [DEBUG] DIALUP_IFACES = ' >rcnetwork [DEBUG] DIALUP_IFACES = >+ debug 'TUNNEL_IFACES = ' >+ test yes = yes >+ test -z 'TUNNEL_IFACES = ' >+ echo -e 'rcnetwork [DEBUG] TUNNEL_IFACES = ' >rcnetwork [DEBUG] TUNNEL_IFACES = >+ debug 'MANDATORY_DEVICES = __NSC__ ' >+ test yes = yes >+ test -z 'MANDATORY_DEVICES = __NSC__ ' >+ echo -e 'rcnetwork [DEBUG] MANDATORY_DEVICES = __NSC__ ' >rcnetwork [DEBUG] MANDATORY_DEVICES = __NSC__ >+ debug 'SKIP = ' >+ test yes = yes >+ test -z 'SKIP = ' >+ echo -e 'rcnetwork [DEBUG] SKIP = ' >rcnetwork [DEBUG] SKIP = >+ rc_reset >+ _rc_status=0 >+ _rc_status_all=0 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ return 0 >+ declare -i FAILED=0 >+ case "$ACTION" in >+ echo Setting up network interfaces: >Setting up network interfaces: >+ /sbin/ifstatus lo -o quiet >+ unset lo >+ for IFACE in '${INTERFACE:- $LO > $PHYSICAL_IFACES }' >+ ifup lo -o rc onboot > lo > lo IP address: 127.0.0.1/8 >+ RET=0 >+ debug >+ test yes = yes >+ test -z '' >+ return >+ printf ' %-9s returned %s\n' lo 0 > lo returned 0 >+ case "$RET" in >+ SUCCESS_IFACES=' lo' >+ rc_status -v1 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ test 0 -gt 7 >+ _rc_status_ret=0 >+ case "$_rc_todo" in >+ local i >+ for i in '"$@"' >+ case "$i" in >+ local vrt= >+ local out=1 >+ local opt=en >+ test -n 1 >+ vrt='[1A' >+ case "$_rc_status" in >+ vrt='[1A..done' >+ echo -en '[1A..done' >[1A..done+ _rc_status=0 >+ return 0 >+ rc_reset >+ _rc_status=0 >+ _rc_status_all=0 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ return 0 >+ for IFACE in '${INTERFACE:- $LO > $PHYSICAL_IFACES }' >+ ifup eth0 -o rc onboot > eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) > eth0 configuration: eth-id-00:50:fc:f7:de:d8 > eth0 is controlled by ifplugd >+ RET=0 >+ debug >+ test yes = yes >+ test -z '' >+ return >+ printf ' %-9s returned %s\n' eth0 0 > eth0 returned 0 >+ case "$RET" in >+ SUCCESS_IFACES=' lo eth0' >+ rc_status -v1 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ test 0 -gt 7 >+ _rc_status_ret=0 >+ case "$_rc_todo" in >+ local i >+ for i in '"$@"' >+ case "$i" in >+ local vrt= >+ local out=1 >+ local opt=en >+ test -n 1 >+ vrt='[1A' >+ case "$_rc_status" in >+ vrt='[1A..done' >+ echo -en '[1A..done' >[1A..done+ _rc_status=0 >+ return 0 >+ rc_reset >+ _rc_status=0 >+ _rc_status_all=0 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ return 0 >+ NEWLINE=no >+ true >+ debug ... still waiting for hotplug devices: >+ test yes = yes >+ test -z '... still waiting for hotplug devices:' >+ echo -e 'rcnetwork [DEBUG] ... still waiting for hotplug devices:' >rcnetwork [DEBUG] ... still waiting for hotplug devices: >+ debug SUCCESS_IFACES= lo eth0 >+ test yes = yes >+ test -z 'SUCCESS_IFACES= lo eth0' >+ echo -e 'rcnetwork [DEBUG] SUCCESS_IFACES= lo eth0' >rcnetwork [DEBUG] SUCCESS_IFACES= lo eth0 >+ debug MANDATORY_DEVICES= __NSC__ >+ test yes = yes >+ test -z 'MANDATORY_DEVICES= __NSC__' >+ echo -e 'rcnetwork [DEBUG] MANDATORY_DEVICES= __NSC__' >rcnetwork [DEBUG] MANDATORY_DEVICES= __NSC__ >+ TMP=' __NSC__ ' >+ MANDATORY_DEVICES= >+ STATUS_CHECK=yes >+ for D in '$TMP' >+ '[' __NSC__ = __NSC__ ']' >+ STATUS_CHECK=no >+ MANDATORY_DEVICES=' __NSC__' >+ continue >++ echo __NSC__ >+ test __NSC__ = __NSC__ >+ MANDATORY_DEVICES= >++ date +%s >++ cat /var/run/sysconfig/network >+ TTWAIT=1 >+ test 1 -gt 20 -o -z '' >+ break >+ '[' no = yes ']' >+ debug ... final >+ test yes = yes >+ test -z '... final' >+ echo -e 'rcnetwork [DEBUG] ... final' >rcnetwork [DEBUG] ... final >+ debug SUCCESS_IFACES= lo eth0 >+ test yes = yes >+ test -z 'SUCCESS_IFACES= lo eth0' >+ echo -e 'rcnetwork [DEBUG] SUCCESS_IFACES= lo eth0' >rcnetwork [DEBUG] SUCCESS_IFACES= lo eth0 >+ debug MANDATORY_DEVICES= >+ test yes = yes >+ test -z MANDATORY_DEVICES= >+ echo -e 'rcnetwork [DEBUG] MANDATORY_DEVICES=' >rcnetwork [DEBUG] MANDATORY_DEVICES= >+ debug FAILED=0 >+ test yes = yes >+ test -z FAILED=0 >+ echo -e 'rcnetwork [DEBUG] FAILED=0' >rcnetwork [DEBUG] FAILED=0 >+ '[' -z '' ']' >+ rc_reset >+ _rc_status=0 >+ _rc_status_all=0 >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ return 0 >+ '[' -z '' ']' >+ ifup-route noiface -o rc onboot >+ rc_status >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ test 0 -gt 7 >+ _rc_status_ret=0 >+ case "$_rc_todo" in >+ local i >+ return 0 >+ test 0 -gt 0 >+ echo -n 'Setting up service network . . . . . . . . . . . . . . . .' >Setting up service network . . . . . . . . . . . . . . . .+ rc_status -v >+ rc_check >+ _rc_status_ret=0 >+ test 0 -eq 0 >+ test 0 -eq 0 >+ return >+ test 0 -gt 7 >+ _rc_status_ret=0 >+ case "$_rc_todo" in >+ local i >+ for i in '"$@"' >+ case "$i" in >+ local vrt= >+ local out=1 >+ local opt=en >+ test -n '' >+ opt=e >+ case "$_rc_status" in >+ vrt=..done >+ echo -e ..done >..done >+ _rc_status=0 >+ return 0 >+ reload_firewall not_on_boot >+ test not_on_boot = not_on_boot -a onboot = onboot >+ return -1 >+ '[' '' = yes ']' >+ rc_exit >+ exit 0
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 140124
:
61354
|
61355
| 61357