Description of problem: The "status" command of the /etc/init.d/network script fails to report active network interfaces. And because /etc/sysconfig/apm-scripts/apmscript uses this to decide which network interfaces should be restarted after a resume, my network interfaces (including "lo") all disappear when I come out of suspend mode. Version-Release number of selected component: initscripts-8.11.1-1 How reproducible: # service network status Actual results: Configured devices: lo eth0 eth1 wifi0 Currently active devices: Expected results: Configured devices: lo eth0 eth1 wifi0 Currently active devices: lo eth0 Additional info: Problem line is: echo `/sbin/ip -o link show | awk -F ": " '/UP>/ { print $2 }'` Problem is that /sbin/ip -o link show output doesn't necessarily report the interface UP bit last because the (current) 2.6.17-1.2142_FC4 kernel is reporting an extra flag after UP. 1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue \ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000\ link/ether 00:09:6b:c2:72:fe brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000\ link/ether 00:d0:59:c8:b6:dc brd ff:ff:ff:ff:ff:ff 4: wifi0: <BROADCAST,MULTICAST> mtu 2312 qdisc pfifo_fast qlen 100\ link/ieee802.11 00:d0:59:c8:b6:dc brd ff:ff:ff:ff:ff:ff 5: sit0: <NOARP> mtu 1480 qdisc noop \ link/sit 0.0.0.0 brd 0.0.0.0
Created attachment 140932 [details] patch for /etc/init.d/network network UP flag parsing regex
This is fixed in the current FC6 initscripts.