|
Bugzilla – Full Text Bug Listing |
| Summary: | NFS Client does not re-attach to server upon reboot | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | David Wright <david.wright> |
| Component: | Network | Assignee: | Robert Love <rml> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_js_DutmDZD, suse-beta |
| Version: | Beta 6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Beta-Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Network Manager log 10.1 Beta 6
Beta 8 Boot Logs with NM enabled. NetworkManager Log for 10.1 Beta 8 Boot.msg from Beta 9 NetworkManager log from Beta 9 NetworkManagerDispatcher script to restart NFS on interface up NetworkManagerDispatcher script to restart NFS on interface up (fixed) |
||
|
Description
David Wright
2006-03-10 09:15:53 UTC
This might be the same problem as in 119855. Do you have any erros during the mount? Any relevant output in the boot messages? Argh! Somehow I had turned on the network manager during the Beta 6 install, on the other Beta's I had not enabled it. Turning off the network manager and running in traditional mode, the NFS shares seem to re-attach normally. I see so this might be connected to NetworkManager, please attach /var/log/NetworkManager here. Created attachment 73685 [details]
Network Manager log 10.1 Beta 6
OK, turning off Network Manager allows the NFS shares to be attached normally during boot.
I don't see why NM is related (the logs look fine), unless there is a race between the start of rcnetwork when using NM and nfs (I presume /etc/init.d/nfs is the thing you are seeing fail). What if, after booting up and not seeing your NFS shares attached, you do, as root, `/etc/init.d/nfs restart` ? Are the shares now properly attached? Restarting nfs after the boot is complete worked. I've upgraded to Beta 8 and without NM enabled. Doing an update at the moment. I'll switch NM on after the update and see if I can replicate the problem under Beta 8... Without NM the NFS starts fine. Alright, let me know. Thanks. OK, re-enabled NetManager and the PC boots without NFS mount points... /etc/init.d/nfs restart does give me the mount points correctly. I'm also attaching a tar.gz of the boot logs, let me know if you need anything else. Created attachment 74674 [details]
Beta 8 Boot Logs with NM enabled.
Created attachment 74675 [details]
NetworkManager Log for 10.1 Beta 8
Thought you'd probably need the Net Manager logs as well ;-)
For info, just tried this again under Beta 9, still having the same problem, NFS is not attaching anything on boot-up, a quick "rcnfs restart" from a terminal window works fine. Disabling NetworkManager also solves the problem, as before. Created attachment 77433 [details]
Boot.msg from Beta 9
Created attachment 77434 [details]
NetworkManager log from Beta 9
David: Can you stick the file attached below (nfs) in /etc/NetworkManager/dispatcher.d/ and mark it executable (chmod 0755 /etc/NetworkManager/dispatcher.d/nfs) and reboot? This gives NM the functionality to restart NFS when an interface change occurs. Please confirm if this fixes the problem on boot. Thanks! Hmm, Robert couldn't find an attachment. I copied /etc/init.d/nfs to /etc/NetworkManager/dispatcher.d/nfs That didn't help though, sorry. If that wasn't the nfs you meant, can you try attaching again. Weird, I don't see the attachment either. I will reattach. /etc/init.d/nfs is not what I wanted. Created attachment 78363 [details]
NetworkManagerDispatcher script to restart NFS on interface up
Please save as /etc/NetworkManager/dispatcher.d/nfs, chmod to mode 0755, and reboot.
Please retest with the file in comment #17. Sorry about that! ok, downloaded it and copied it, but it didn't make any difference, sorry. Hrm, bummer. It should basically have had the same effect of manually running "nfs restart", which you said worked. You did `chmod 0755 /etc/NetworkManager/dispatcher.d/nfs` after saving the file there? Oh, stupid me. The line to restart is preceded by an "echo". Reattaching. Created attachment 78367 [details]
NetworkManagerDispatcher script to restart NFS on interface up (fixed)
Please save as /etc/NetworkManager/dispatcher.d/nfs, chmod to mode 0755, and reboot.
Alright, the version in Comment #22 should work correctly. Apologies for the earlier mishap. Please let me know if the problem is solved! DOH! Downloaded the file on my main workstation and tried to copy it via the NFS directory... It hadn't been loaded because of this bug :-P Anyway restarted NFS, copied file, rebooted and... Yes, that does the trick :-) a quick ls and the files and folders are there. Updated NetworkManager package submitted to STABLE. Thank you for the debugging help, David! |