Bug 52006 - NFS mounts from a NIS client host fail on boot
Summary: NFS mounts from a NIS client host fail on boot
Status: CLOSED DUPLICATE of bug 133333
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-18 10:50 UTC by Ville Skyttä
Modified: 2014-03-17 02:22 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-02-21 18:48:05 UTC


Attachments (Terms of Use)

Description Ville Skyttä 2001-08-18 10:50:39 UTC
Description of problem:
If you're using NIS and try to (NFS) mount a filesystem from a host whose
name is found only in NIS (not files/DNS), the mounts fail because  netfs
(25) is run before ypbind (27).

One solution would of course to have the NFS server's IP address in
/etc/hosts or /etc/fstab on the client machine or in DNS, however I'm
suggesting netfs to be moved to start after ypbind (unless this has other
nasty side-effects).

Version-Release number of selected component (if applicable):
5.83-1

How reproducible:
Always

Comment 1 Frode Tennebø 2004-07-26 12:43:15 UTC
Now 3 years later, with Fedora Core 2, this is still exactly the same 
problem. And has been so for all RH/FC releases in between. 

Problem:
[root@garvin rc3.d]# cd /etc/rc3.d/
[root@garvin rc3.d]# ls -l S2*
lrwxrwxrwx  1 root root 16 Jul 16 14:47 S20random -> ../init.d/random
lrwxrwxrwx  1 root root 16 Jul 16 14:50 S24pcmcia -> ../init.d/pcmcia
lrwxrwxrwx  1 root root 15 Jul 16 14:47 S25netfs -> ../init.d/netfs
lrwxrwxrwx  1 root root 14 Jul 16 14:50 S26apmd -> ../init.d/apmd
lrwxrwxrwx  1 root root 16 Jul 19 09:05 S27ypbind -> ../init.d/ypbind
lrwxrwxrwx  1 root root 16 Jul 16 14:50 S28autofs -> ../init.d/autofs

Solution:
[root@garvin rc3.d]# mv S25netfs S29netfs

Result:
[root@garvin rc3.d]# ls -l S2*
lrwxrwxrwx  1 root root 16 Jul 16 14:47 S20random -> ../init.d/random
lrwxrwxrwx  1 root root 16 Jul 16 14:50 S24pcmcia -> ../init.d/pcmcia
lrwxrwxrwx  1 root root 14 Jul 16 14:50 S26apmd -> ../init.d/apmd
lrwxrwxrwx  1 root root 16 Jul 19 09:05 S27ypbind -> ../init.d/ypbind
lrwxrwxrwx  1 root root 16 Jul 16 14:50 S28autofs -> ../init.d/autofs
lrwxrwxrwx  1 root root 15 Jul 16 14:47 S29netfs -> ../init.d/netfs


Comment 2 Frode Tennebø 2004-08-13 08:25:11 UTC
Of course, this must also be done for rc4.d and rc5.d.

Comment 3 Chris Feist 2005-02-01 22:27:05 UTC

*** This bug has been marked as a duplicate of 133333 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:48:05 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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