Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28195 - /etc/init.d/ypbind should be started before /etc/init.d/netmount if NIS DNS lookup enabled
Summary: /etc/init.d/ypbind should be started before /etc/init.d/netmount if NIS DNS l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-08 10:08 UTC by Hajime TANAKA
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hajime TANAKA 2003-09-08 10:08:18 UTC
Considering the case in which the name resolution by NIS is carried out, ypbind
should rise ahead of nfs.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-09-10 19:38:32 UTC
I don't think it is a PPC specific bug...
The point is we don't know how a host resolves DNS. If the host
chooses to look up domain name by NIS and we have hostname based
NFS imports like

somehosts:/export/home      /home           nfs     defaults       0 0

it will fail to mount somehosts:/export/home since rcscripts are run by 
alphabeticalorder when no depend() defined and /etc/init.d/netmount 
is invoked after /etc/init.d/ypbind.  It seems rather like configuration 
issue but we'd better have "use ypbind" in depend() section of netmount.
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2004-02-24 10:22:30 UTC
this would need to be modified in the netmount rc-script... this seems like an issue for baselayout.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-23 23:04:58 UTC
nfs-util's nfsmount init script has been fixed to include a 'use ypbind' in the depend().  Please reemerge nfs-utils or simply copy the file from /usr/portage/net-fs/nfs-utils/files/nfsmount to /etc/init.d