Subject: bin/13437: "mountd" should be started after "named"
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 07/11/2001 14:45:14
>Number:         13437
>Category:       bin
>Synopsis:       "mountd" should be started after "named"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 05:43:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.1 (same problem in NetBSD-current)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5.1 NetBSD 1.5.1 (COLWYN) #0: Mon Jul 2 20:16:07 CEST 2001 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386


>Description:
My NIS, NFSand DNS server exports filesystems to a netgroup which contains
hosts which are are listed neither in "/etc/hosts" nor in the "hosts" NIS
map but must be resolved via DNS. If the system starts up "mountd" is
started before "named" and hence can't resolve the hostnames. As a result
NFS exports work only correct if I reload the configuration of "mountd"
after the system is up.

>How-To-Repeat:
1.) Export a filesystem to a client which can only be resolved by DNS on
    a system which is its own DNS server.
2.) Reboot that system.
3.) Try to mount the filesystem from the client.

>Fix:
Add "named" to "REQUIRE:" line in "src/etc/rc.d/mountd". But I'm not
sure if that breaks someone else's setup.

>Release-Note:
>Audit-Trail:
>Unformatted: