[Bug 834518] New: When ifplugd enabled for interface, mount.nfs may fail
https://bugzilla.novell.com/show_bug.cgi?id=834518 https://bugzilla.novell.com/show_bug.cgi?id=834518#c0 Summary: When ifplugd enabled for interface, mount.nfs may fail Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Minor Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Sergey.Klyaus@Elcom.SPb.Ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 The cause of fail is that ifplugd doesn't wait until link is up, and due to parallel nature of systemd, it starts network mounts. Here is partial system log: 2013-08-05T00:14:53.486700+04:00 panther ifplugd(eth0)[1054]: Using detection mode: SIOCETHTOOL 2013-08-05T00:14:53.486896+04:00 panther kernel: [ 10.900184] r8169 0000:03:00.0 eth0: link down 2013-08-05T00:14:53.486907+04:00 panther kernel: [ 10.900201] r8169 0000:03:00.0 eth0: link down 2013-08-05T00:14:53.486909+04:00 panther kernel: [ 10.900215] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 2013-08-05T00:14:53.487080+04:00 panther ifplugd(eth0)[1054]: Initialization complete, link beat not detected. 2013-08-05T00:14:54.699780+04:00 panther network[645]: ..unused eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8 168 2013-08-05T00:14:54.704552+04:00 panther network[645]: eth0 ifplugd is running 2013-08-05T00:14:55.767069+04:00 panther network[645]: eth0 no cable connected 2013-08-05T00:14:55.801698+04:00 panther network[645]: eth0 is up .. 2013-08-05T00:14:55.990906+04:00 panther systemd[1]: Mounting /home... 2013-08-05T00:14:55.990932+04:00 panther mount[1412]: mount.nfs: Network is unreachable .. 2013-08-05T00:14:56.080896+04:00 panther kernel: [ 13.488695] r8169 0000:03:00.0 eth0: link up 2013-08-05T00:14:56.080903+04:00 panther kernel: [ 13.488703] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Possibly same results may be achived if NetworkManager used, but not sure. Reproducible: Always Steps to Reproduce: 1. Set up network interface using ifplugd 2. Create nfs mounts from remote server 3. Reboot Actual Results: Client fails to mount shares Expected Results: Client successfully mounts them Setting STARTMODE='onboot' in ifcfg file fixes it. -- 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=834518
https://bugzilla.novell.com/show_bug.cgi?id=834518#c
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=834518
https://bugzilla.novell.com/show_bug.cgi?id=834518#c1
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=834518
https://bugzilla.novell.com/show_bug.cgi?id=834518#c2
Sergey Klyaus
Sergy: do you have "_netdev" on the line in /etc/fstab for /home ?
Yes. Here is complete line from that file: claw:/newpool/homes /home nfs vers=3,_netdev 0 0 However new experiments revealed interesting results: now it's ifplugd runs UP on interface too late: 2013-08-20T04:55:31.570002+04:00 panther kernel: [ 13.025707] r8169 0000:03:00.0 eth0: link down 2013-08-20T04:55:31.570023+04:00 panther kernel: [ 13.025724] r8169 0000:03:00.0 eth0: link down 2013-08-20T04:55:31.570029+04:00 panther kernel: [ 13.025739] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 2013-08-20T04:55:31.570091+04:00 panther ifplugd(eth0)[1127]: Using detection mode: SIOCETHTOOL 2013-08-20T04:55:31.570421+04:00 panther ifplugd(eth0)[1127]: Initialization complete, link beat not detected. 2013-08-20T04:55:32.821975+04:00 panther network[673]: ..unused eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8 168 2013-08-20T04:55:32.832386+04:00 panther network[673]: eth0 ifplugd is running 2013-08-20T04:55:33.902373+04:00 panther network[673]: eth0 no cable connected 2013-08-20T04:55:33.958411+04:00 panther network[673]: eth0 is up 2013-08-20T04:55:34.037968+04:00 panther kernel: [ 15.488660] r8169 0000:03:00.0 eth0: link up 2013-08-20T04:55:34.037995+04:00 panther kernel: [ 15.488672] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 2013-08-20T04:55:34.038625+04:00 panther network[673]: ..doneSetting up service network . . . . . . . . . . . . . .done 2013-08-20T04:55:34.039285+04:00 panther systemd[1]: Started LSB: Configure network interfaces and set up routing. 2013-08-20T04:55:34.039691+04:00 panther systemd[1]: Starting Network. 2013-08-20T04:55:34.042590+04:00 panther systemd[1]: Reached target Network .. 2013-08-20T04:55:34.112402+04:00 panther systemd[1]: Mounting /home... 2013-08-20T04:55:34.116086+04:00 panther mount[1485]: mount.nfs: Network is unreachable .. 2013-08-20T04:55:34.176583+04:00 panther systemd[1]: home.mount mount process exited, code=exited status=32 2013-08-20T04:55:34.178559+04:00 panther systemd[1]: Failed to mount /home. 2013-08-20T04:55:34.178774+04:00 panther systemd[1]: Unit home.mount entered failed state .. 2013-08-20T04:55:34.573118+04:00 panther ifplugd(eth0)[1127]: Link beat detected. .. 2013-08-20T04:55:35.574287+04:00 panther ifplugd(eth0)[1127]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. 2013-08-20T04:55:35.638846+04:00 panther ifplugd(eth0)[1127]: client: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03) 2013-08-20T04:55:35.639541+04:00 panther ifup[1580]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03) -- 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=834518
https://bugzilla.novell.com/show_bug.cgi?id=834518#c3
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=834518
https://bugzilla.novell.com/show_bug.cgi?id=834518#c4
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=834518
https://bugzilla.novell.com/show_bug.cgi?id=834518#c5
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com