Bug 484468 - NetworkManager's position in the boot order should be after nfs in order to be able to mount nfs shares
Summary: NetworkManager's position in the boot order should be after nfs in order to b...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 10
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-06 23:35 UTC by Joonas Sarajärvi
Modified: 2009-02-13 14:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-13 14:58:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joonas Sarajärvi 2009-02-06 23:35:18 UTC
Description of problem:
I have an nfs share from a machine in the local network added to /etc/fstab. The setup works fine, but booting is greatly slowed due to a long wait while the system tries to mount the NFS share automatically. 

The relevant line from fstab:
10.10.0.200:/data /remote/tikkulehema-data nfs ro 0 0

Version-Release number of selected component (if applicable):
NetworkManager-0.7.0-1.git20090102.fc10.x86_64

How reproducible:
Happens on every boot

Steps to Reproduce:
1. Install a default Fedora installation.
2. Have an nfs share available and try to add it to /etc/fstab
3. Boot the computer
  
Actual results:
1) The system tries to mount the share while booting, but fails after trying for a while.
2) The share is mounted and available after boot, though, when NetworkManager is brought up later in the boot process.

Expected results:
The long wait and fail does not happen.

Additional info:

Comment 1 Dan Williams 2009-02-07 04:55:41 UTC
Bill: whee! boot order again...  thoughts?

Comment 2 Joonas Sarajärvi 2009-02-07 05:42:10 UTC
Eh... for some reason, I wrote the title totally wrong. Of course NM should be running _before_ the shares are mounted, not after. Currently it seems that NM is started only after mounting nfs shares.

Comment 3 Bill Nottingham 2009-02-10 15:32:08 UTC
This is what the netfs NM dispatcher script is for.

Do you have both the network and NetworkManager service enabled?

Comment 4 Joonas Sarajärvi 2009-02-13 06:49:12 UTC
Yes, I do have them both running. The secondary network card is under the traditional network service, because I need to associate the interface with a bridge.

Comment 5 Bill Nottingham 2009-02-13 14:58:54 UTC
OK, this isn't fixable for that case. The netfs script is coded to only start on boot if one of network or NM is already running - since one of them is, it's going to try to mount.

If you were only running NM for all your interfaces, or only running network for all your interfaces, it should work OK as-is.


Note You need to log in before you can comment on or make changes to this bug.