[Bug 694461] New: mount.nfs starts before the network is up!
https://bugzilla.novell.com/show_bug.cgi?id=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c0 Summary: mount.nfs starts before the network is up! Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Curt.Blank@curtronics.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=430099) --> (http://bugzilla.novell.com/attachment.cgi?id=430099) You can see in the boot.msg file that it tries to mount before the network is up and times out User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 mount.nfs starts before the network is up! Then of course times out and fails. Pretty hard to mount an nfs share when there's no network... Reproducible: Always Steps to Reproduce: 1. boot the system 2. 3. Actual Results: mount.nfs: .............................. timeout! Expected Results: I expect it to try and mount the nfs shares *after* the network is up.... -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c1 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno@ioda-net.ch --- Comment #1 from Bruno Friedmann <bruno@ioda-net.ch> 2011-05-18 06:15:00 UTC --- Same here with a ipv6 nfs server. Once booted a rcnfs restart mount everything fine. 11.4, with boot parallel yes -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |nfbrown@novell.com |ovo.novell.com | -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c2 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nfbrown@novell.com AssignedTo|nfbrown@novell.com |ro@novell.com --- Comment #2 from Neil Brown <nfbrown@novell.com> 2011-05-24 00:12:18 UTC --- This isn't an NFS problem exactly. Rather it is a problem wit /etc/init.d/boot.localfs The "mount" command in the "list_missed" function is trying to mount nfs filesystems (which is strange in itself) and that call mount.nfs mount.nfs is producing some error message (which given the lack of network is not strange), and list_missed isn't filtering that out so "mount.nfs:" is getting reported as a device that doesn't exist yet - which is clearly silly. It could be fixed by adding: mount.nfs:* ) continue ;; # messages from mount into the 'case' statement. Or by adding -t $nofs to the mount command maybe.... Though that "nofs" thing looks wrong. It puts 'no' in front of each type, but the man page says you only need 'no' in front of the first type (though the source suggests that both work). Anyway there is something wrong in boot.localfs and as Rudi is the maintainer .. reassigning to Rudi. -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c3 Radek Karaffa <karaffa@freemail.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karaffa@freemail.cz --- Comment #3 from Radek Karaffa <karaffa@freemail.cz> 2011-05-24 08:49:46 UTC --- In yast created nfs4 mounting not have _netdev option in /etc/fstab. I make this patch in boot.localfs --------------- list_missed () { local dev line -- local mount_opts="-t no${tmpfs//,/,no},nonone -O no_netdev -O nonofail" ++ local mount_opts="-t no${tmpfs//,/,no},no${netfs//,/,no},nonone -O no_netdev -O nonofail" mount -afnv $mount_opts 2> /dev/null | while read line ; do ---------------- it's ok for me, but maybe it is wrong :-) -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c4 Martin Soltau <smartysmart34@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smartysmart34@web.de --- Comment #4 from Martin Soltau <smartysmart34@web.de> 2011-05-26 09:41:10 UTC --- Same here. I tried with the nfs-mounts in fstab put on "noauto". In this case the timeout does not occur but ofcourse the mounts are missing and they have to be mounted manually -> ugly solution. I hope there will be a fix soon (through the update-repo). I am not too much into fumbling with these files by myself... Cheers, Martin -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c5 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |werner@novell.com --- Comment #5 from Ruediger Oertel <ro@novell.com> 2011-05-26 10:14:01 UTC --- werner: do you have any idea what we changed recently that leads to boot.localfs trying nfs mounts ? -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c6 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |werner@novell.com InfoProvider|werner@novell.com | --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2011-05-26 11:09:06 UTC --- The correct line in list_missed() looks like local mount_opts="-t no${tmpfs//,/,no},$nofs -O no_netdev -O nonofail" or after an automatic update local mount_opts="-t no${tmpfs//,/,no},$nofs,nonone -O no_netdev -O nonofail" .. I'd like to know, why this is missed now? It should be noted that $nofs includes not only network based file shares but also mempry based file systems found in /proc/filesystems -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c7 --- Comment #7 from Martin Soltau <smartysmart34@web.de> 2011-06-01 11:56:25 UTC --- Hi all, any news on this one? When I saw the reply of Werner Fink I was hoping for a quick fix because the solution seemed to be quite easy:
local mount_opts="-t no${tmpfs//,/,no},$nofs -O no_netdev -O nonofail"
But after having read "It should be noted that $nofs includes not only network based file shares..." I am now asking myself: Could I just move the above line into /boot.localfs or would I face other major difficulties? Is there more to it then just making the line look like in Suse 11.2 or 11.3? I would be very glad to read about the current status of the solution and maybe a short comment on whether I could fix this with the above line until a fix is rolled out. Kind regards, Martin -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c8 --- Comment #8 from Martin Soltau <smartysmart34@web.de> 2011-06-01 12:47:39 UTC --- Hi all, any news on this one? When I saw the reply of Werner Fink I was hoping for a quick fix because the solution seemed to be quite easy:
local mount_opts="-t no${tmpfs//,/,no},$nofs -O no_netdev -O nonofail"
But after having read "It should be noted that $nofs includes not only network based file shares..." I am now asking myself: Could I just move the above line into /boot.localfs or would I face other major difficulties? Is there more to it then just making the line look like in Suse 11.2 or 11.3? I would be very glad to read about the current status of the solution and maybe a short comment on whether I could fix this with the above line until a fix is rolled out. Kind regards, Martin -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c9 --- Comment #9 from Martin Soltau <smartysmart34@web.de> 2011-06-16 14:24:23 UTC --- Hi all, Unfortunately there has not been any progress with this bug for allmost 5 weeks. Is this - too hard to fix - too unimportant or - too much public holidays around? I am really looking forward for a fix and i am unfortunately too technically stupid to do this myself. Cheers, Martin -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c10 Markus Hilt <mhilt@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhilt@gmx.de --- Comment #10 from Markus Hilt <mhilt@gmx.de> 2011-07-05 08:40:59 UTC --- Hi all, I have 'solved' this problem on my systems by adding 'mount -a' to the '/etc/init.d/after.local'. So the system will remount all filesystems 'after all scripts of a runlevel have been executed'. Best regards, Markus -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c11 --- Comment #11 from Curtis J Blank <Curt.Blank@curtronics.com> 2011-07-05 08:57:48 UTC --- Markus, You stopped the startup process from tying to mount network shares before the network is running by adding a "mount -a" to the 'after.local' script? The issue isn't getting the filesystems mounted, the issue is attempting to mount a network filesystem before the network is running. -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c12 LLL Active <LActive@GMX.Net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |LActive@GMX.Net --- Comment #12 from LLL Active <LActive@GMX.Net> 2011-07-06 12:57:33 UTC --- On my terminal ctrl-alt-F1 at boot time, I see that my eth0 & eth1 is being configured before the nfs is started. One is onboard to the mobo, the other a PCI card. I have, however, a WLan card that has the actual network, which gets configured after the nfs is started. So if the system is hard wired by ethernet cable, it works. It does not work with WLan cards, because they seem to be configured after nfs is started. -- 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=694461 https://bugzilla.novell.com/show_bug.cgi?id=694461#c13 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #13 from Ruediger Oertel <ro@suse.com> 2011-07-13 14:56:30 UTC --- the last update of aaa_base on 11.4 released on May 31st has this change --- old/aaa_base/etc/init.d/boot.localfs 2011-03-21 13:57:40.000000000 +0100 +++ new/aaa_base/etc/init.d/boot.localfs 2011-05-18 14:45:37.000000000 +0200 @@ -61,7 +61,7 @@ list_missed () { local dev line - local mount_opts="-t no${tmpfs//,/,no},nonone -O no_netdev -O nonofail" + local mount_opts="-t no${tmpfs//,/,no},$nofs,nonone -O no_netdev -O nonofail -O nobind" mount -afnv $mount_opts 2> /dev/null | while read line ; do dev="${line%% *}" which should fix the issue. Please reopen if this still happens with updates installed on 11.4 -- 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.
participants (1)
-
bugzilla_noreply@novell.com