Bug 141554

Summary: ifplugd interfaces not started during boot
Product: [openSUSE] SUSE Linux 10.1 Reporter: Ludwig Nussel <lnussel>
Component: NetworkAssignee: Christian Zoz <zoz>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dmueller, jnelson-suse
Version: Alpha 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Fix returnvalue of ifstatus for STARTMODE=ifplugd

Description Ludwig Nussel 2006-01-05 09:53:05 UTC
my network interface with STARTMODE=ifplugd is not activated during boot. "rcnetwork start" later does activate it though. The following change helps:

--- /etc/init.d/network.orig    2006-01-04 10:11:18.000000000 +0100
+++ /etc/init.d/network 2006-01-05 09:49:17.000000000 +0100
@@ -248,7 +248,7 @@
                                ;;
                esac
                case "`get_startmode $b`" in
-                       on|boot|onboot|auto) : ;;
+                       on|boot|onboot|auto|ifplugd) : ;;
                        *) continue ;;
                esac
                for d in $DIALUP_IFACES; do
Comment 1 Christian Zoz 2006-01-09 10:28:13 UTC
Thanks for the patch, Ludwig

Fixed in svn. Will be submitted for Preview 4
Comment 2 Christian Zoz 2006-01-09 10:28:46 UTC
*** Bug 139736 has been marked as a duplicate of this bug. ***
Comment 3 Christian Zoz 2006-01-09 10:29:30 UTC
*** Bug 134597 has been marked as a duplicate of this bug. ***
Comment 4 Christian Zoz 2006-01-09 10:29:50 UTC
*** Bug 135875 has been marked as a duplicate of this bug. ***
Comment 5 Christian Zoz 2006-01-16 10:47:19 UTC
The fix above is needed if interfaces which are should be controlled by ifplugd are not available when rcnetwork starts but appear later. This patch makes rcnetwork wait for them, too.
But then after one such an interface appeared, its status will be checked. And if no cable is connected this and interface is configured for dhcp, then ifstatus will always return 'down'. Therefore we additionally need a patch for ifstatus to make it work properly.
Comment 6 Christian Zoz 2006-01-16 10:56:30 UTC
Created attachment 63413 [details]
Fix returnvalue of ifstatus for STARTMODE=ifplugd

This is the patch for 10.0. It will go to YOUpdate.
Comment 7 Christian Zoz 2006-01-16 21:09:38 UTC
Also added to svn.