Bug 384420

Summary: shutdown on nfsroot stops network
Product: [openSUSE] openSUSE 11.0 Reporter: Olaf Hering <ohering>
Component: YaST2Assignee: Michal Zugec <mzugec>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell, ma, mt
Version: Factory   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug384420.tar.bz2

Description Olaf Hering 2008-04-28 16:41:31 UTC
root on nfs requires network all the time.
'init 0' does ifdown eth0 during rcnetwork stop.

boettger.suse.de:/data/inst/nfs/factory/ is and installation from current factory.
Comment 1 Christian Zoz 2008-04-29 09:06:35 UTC
rtfm ;)

In ifcfg(5) you will find STARTMODE=nfsroot

BTW: new maintainer of sysconfig is Marius Tomaschewski
Comment 2 Olaf Hering 2008-04-29 09:33:19 UTC
its not invalid.
yast2 partition has now a nfs button.
sp2 is likely broken as well.
Comment 3 Christian Zoz 2008-05-02 15:42:17 UTC
Why is sysconfig broken, just because yast2 has any button. Do you want that YaST should automatically sets STARTMODE=nfsroot?

Olaf, I don't understand what you want.
Comment 4 Olaf Hering 2008-05-03 20:47:19 UTC
Christian, the yast2 partitioner has now the option to install onto a nfsserver.
I think it makes sense that such an installation should work out of the box. If changing some sysconfig variable is required to achieve that network is up all the time, someone (not the admin) has to change the variable to the correct value.
Comment 5 Christian Zoz 2008-05-05 07:58:58 UTC
So why don't you ask the YaST experts?

All we need on network setup side is:
   STARTMODE=nfsroot
in the right interface configuration file.
Comment 6 Arvin Schnell 2008-05-08 10:04:51 UTC
According to bug #176804 this should already be handled in
yast2-network.
Comment 7 Michal Zugec 2008-05-09 07:47:30 UTC
YaST logs from 1.st stage of installation, please. And what's STARTMODE value?
Comment 8 Olaf Hering 2008-05-09 09:09:28 UTC
they have startmode onboot
Comment 9 Olaf Hering 2008-05-13 07:04:45 UTC
Created attachment 214589 [details]
bug384420.tar.bz2
Comment 10 Michal Zugec 2008-05-13 11:21:58 UTC
Accepting bug
re comment #6: yast tested only for iscsi, not nfs (iscsi is disk, nfs is only filesystem - not included in "hwinfo --disk" output). So I need to add this functionality
Comment 11 Michal Zugec 2008-05-13 11:55:04 UTC
fixed in yast2-2.16.66
Comment 12 Michal Zugec 2008-05-22 08:43:08 UTC
broken in beta3+
Comment 13 Michal Zugec 2008-05-22 08:57:32 UTC
fixed in yast2-2.16.69