[Bug 805397] New: NFS mount is done before eth0 is up
https://bugzilla.novell.com/show_bug.cgi?id=805397 https://bugzilla.novell.com/show_bug.cgi?id=805397#c0 Summary: NFS mount is done before eth0 is up Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kollix@aon.at QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; i686 Linux; en_US, de; rv:1.9.2) Gecko/20100115 Firefox/3.6 In /etc/fstab I entered an NFS mount, but when I boot the system I see that the NFS mount was not done. Checking /var/log/messages reveals that obviously the mount was tried before the network was up. I wanted to configure the machine without NetworkManager (using traditional ifup) and still getting the IP address from my DHCP server. As I found other bug reports about problems with NetworkManager/ifup in 12.3 RC1 maybe this problem is related. Here is an excerpt of the logfile: 2013-02-23T12:21:46.431657+01:00 linux-tina systemd[1]: Started Network Manager Wait Online. 2013-02-23T12:21:46.432821+01:00 linux-tina systemd[1]: Starting Network. 2013-02-23T12:21:46.434906+01:00 linux-tina systemd[1]: Reached target Network. 2013-02-23T12:21:46.435693+01:00 linux-tina systemd[1]: Starting LSB: NFS client services... 2013-02-23T12:21:46.438085+01:00 linux-tina systemd[1]: Starting Host and Network Name Lookups. 2013-02-23T12:21:46.438816+01:00 linux-tina systemd[1]: Reached target Host and Network Name Lookups. 2013-02-23T12:21:46.442630+01:00 linux-tina systemd[1]: Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder... 2013-02-23T12:21:46.443304+01:00 linux-tina systemd[1]: Starting OpenSSH Daemon... 2013-02-23T12:21:46.443882+01:00 linux-tina systemd[1]: Starting /etc/init.d/boot.local Compatibility... 2013-02-23T12:21:46.445504+01:00 linux-tina systemd[1]: Started OpenSSH Daemon. 2013-02-23T12:21:46.447498+01:00 linux-tina systemd[1]: Started /etc/init.d/boot.local Compatibility. <snip> 2013-02-23T12:21:46.486069+01:00 linux-tina sm-notify[644]: Version 1.2.7 starting 2013-02-23T12:21:46.533950+01:00 linux-tina nfs[593]: Starting NFS client services: sm-notify idmapd..done 2013-02-23T12:21:46.562944+01:00 linux-tina kernel: [ 20.738322] NFS: Registering the id_resolver key type 2013-02-23T12:21:46.562966+01:00 linux-tina kernel: [ 20.738349] Key type id_resolver registered 2013-02-23T12:21:46.562968+01:00 linux-tina kernel: [ 20.738352] Key type id_legacy registered 2013-02-23T12:21:46.563645+01:00 linux-tina nfs[593]: Mounting network file systems ...mount.nfs: mount system call failed 2013-02-23T12:21:46.563952+01:00 linux-tina nfs[593]: ..done 2013-02-23T12:21:46.566938+01:00 linux-tina systemd[1]: Started LSB: NFS client services. 2013-02-23T12:21:46.567965+01:00 linux-tina systemd[1]: Starting Remote File Systems (Pre). 2013-02-23T12:21:46.567985+01:00 linux-tina systemd[1]: Reached target Remote File Systems (Pre). 2013-02-23T12:21:49.506073+01:00 linux-tina kernel: [ 23.678252] tg3 0000:04:00.0 eth0: Link is up at 1000 Mbps, full duplex 2013-02-23T12:21:49.506079+01:00 linux-tina kernel: [ 23.678262] tg3 0000:04:00.0 eth0: Flow control is on for TX and on for RX 2013-02-23T12:21:49.506081+01:00 linux-tina kernel: [ 23.678268] tg3 0000:04:00.0 eth0: EEE is disabled 2013-02-23T12:21:49.506083+01:00 linux-tina kernel: [ 23.678297] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 2013-02-23T12:21:49.530044+01:00 linux-tina dhclient[663]: Internet Systems Consortium DHCP Client 4.2.5 2013-02-23T12:21:49.531135+01:00 linux-tina dhclient[663]: Copyright 2004-2013 Internet Systems Consortium. <snip> There should be somewhere a rule which defines that the NFS mount is only done AFTER the network address is already available. Reproducible: Always Steps to Reproduce: 1. 2. 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=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c1
Will Stephenson
https://bugzilla.novell.com/show_bug.cgi?id=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c2
--- Comment #2 from Martin Koller
https://bugzilla.novell.com/show_bug.cgi?id=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c3
Paul Zawila-Niedzwiecki
https://bugzilla.novell.com/show_bug.cgi?id=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c6
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c7
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c8
--- Comment #8 from Marius Tomaschewski
Even though I switched to ifup with yast2, after a reboot NetworkManager is still running. Also in /etc/sysconfig/network/config I find as last line: NETWORKMANAGER="no"
What I have to do to resolve this problem is to explicitely deactivate it: systemctl disable NetworkManager.service
With that the NFS mount works during boot when the Laptop is connected via eth0.
See also bug #800771: NETWORKMANAGER=yes/no is gone in in favor of network.service alias link In 12.3 before final [RC1], yast2 network were unable to switch between /etc/init.d/network and NetworkManager. As you reported it for a version before final originally, you may need to fix it manually to ensure that only one / the desired network service is in use: 1) stop whatever is running: systemctl stop NetworkManager.service systemctl stop network.service 2) Enable or disable NetworkManager: systemctl --force enable NetworkManager.service or systemctl --force disable NetworkManager.service 3) Start the currently enabled network service: systemctl start network.service -- 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=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c9
--- Comment #9 from Paul Zawila-Niedzwiecki
Please test the RPMs from: http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/ope... Does it solve the issue? Yes, apparently my system starts ok now. Thank You Marius for quick fix.
-- 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=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c10
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=805397
https://bugzilla.novell.com/show_bug.cgi?id=805397#c11
--- Comment #11 from Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com