[Bug 677251] New: "rcnetwork stop" skips eth0/wlan0
https://bugzilla.novell.com/show_bug.cgi?id=677251 https://bugzilla.novell.com/show_bug.cgi?id=677251#c0 Summary: "rcnetwork stop" skips eth0/wlan0 Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: mt@novell.com ReportedBy: cstender@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- I cannot use "rcnetwork stop" to shutdown my network interfaces on openSUSE 11.4 anymore. hp2510p:~ # rcnetwork stop Shutting down network interfaces: eth0 device: Intel Corporation 82566MM Gigabit Network Connection (rev 03) eth0 serves root filesystem. Leave it up. eth0 skipped wlan0 device: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61) wlan0 serves root filesystem. Leave it up. wlan0 skipped Shutting down service network . . . . . . . . . done I don't know why the system thinks that one of these devices serve the root filesystem, but the ifcfg-$dev files for both devices in /etc/sysconfig/network contain a string STARTMODE='nfsroot' which cause these behavior. Is it intended or a bug? Can I change the STARTMODE value back to 'onboot' which was used in openSUSE 11.3? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c1
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c2
Marius Tomaschewski
I cannot use "rcnetwork stop" to shutdown my network interfaces on openSUSE 11.4 anymore. [...] I don't know why the system thinks that one of these devices serve the root filesystem, but the ifcfg-$dev files for both devices in /etc/sysconfig/network contain a string STARTMODE='nfsroot' which cause these behavior.
Yes, this is the job of 'nfsroot' to avoid that the network gets stopped.
Is it intended or a bug? Can I change the STARTMODE value back to 'onboot' which was used in openSUSE 11.3?
IMO a bug. YaST2 should not use 'nfsroot' when there is no reason for. It forces the users to reboot for any network config change or to manually revert to use STARTMODE='auto' (or onboot). Martin, would you take a look why yast2 sets 'nfsroot' here? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c3
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c4
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c5
--- Comment #5 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c6
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c7
--- Comment #7 from Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c8
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c9
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c10
--- Comment #10 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c11
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c12
--- Comment #12 from Marius Tomaschewski
/sys/devices/virtual/net/eth3.200/host6/rport-6:0-4/target6:0:2/6:0:2:1 ^^^^^^^^ Ah... this explains the "ifcfg-" file. When there is FCoE in use, there have to be two ifcfg files:
ifcfg-eth3: BOOTPROTO='dhcp4' STARTMODE='nfsroot' USERCONTROL="no" ifcfg-eth3.200: BOOTPROTO="static" STARTMODE="nfsroot" ETHERDEVICE="eth3" USERCONTROL="no" Iteressting would be to know if there is somewhere a link in the FCoE devpath directory pointing directly to the .../eth3.200 directory ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c13
--- Comment #13 from Hannes Reinecke
Iteressting would be to know if there is somewhere a link in the FCoE devpath directory pointing directly to the .../eth3.200 directory ...
??? What exactly do you mean with that? The devpath contains the eth3.200 directory, check comment #11. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c14
Marius Tomaschewski
Iteressting would be to know if there is somewhere a link in the FCoE devpath directory pointing directly to the .../eth3.200 directory ...
??? What exactly do you mean with that? The devpath contains the eth3.200 directory, check comment #11.
You've just provided the (expanded) path. A grep "/eth2.300/" $fcoepath may be not so good to find it out ... It would be interessting to know, if there is a (back reference to FCoE) link bellow of /sys/class/net/eth3.200/, that points to FCoE and/or if there is also a reference link bellow of the FCoE devipath pointing to the interface path /sys/class/net/eth3.200 (or /sys/devices/virtual/net/eth3.200). It seems, there is one: /sys/devices/virtual/net/eth3.200/<some path> points to the /sys/devices/virtual/net/eth3.200/host6/rport-6:0-4/target6:0:2/6:0:2:1 path -- it would make sense to know the name of <some path>. Analogue to /sys/class/net/$ifname/brport/bridge and /sys/class/net/$bridge/brif/$ifname "basename $(readlink /sys/class/net/$ifname/brport/bridge)" => bridge name. Could you attach "ls -lR /sys/class/net/eth3.200" and "ls -lR $fcoepath" output or something like that? Or give us access to the FCoE machine? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c16
--- Comment #16 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c17
--- Comment #17 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c18
--- Comment #18 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c19
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c20
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c21
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=677251
https://bugzilla.novell.com/show_bug.cgi?id=677251#c22
Martin Vidner
participants (1)
-
bugzilla_noreply@novell.com