NetBSD Problem Report #43313

From www@NetBSD.org  Sun May 16 10:02:59 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 2B65763C425
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 16 May 2010 10:02:59 +0000 (UTC)
Message-Id: <20100516100258.8BFA363BC69@www.NetBSD.org>
Date: Sun, 16 May 2010 10:02:58 +0000 (UTC)
From: bertelsen.erik@gmail.com
Reply-To: bertelsen.erik@gmail.com
To: gnats-bugs@NetBSD.org
Subject: /etc/rc.d/mountall should REQUIRE mdnsd
X-Send-Pr-Version: www-1.0

>Number:         43313
>Category:       install
>Synopsis:       /etc/rc.d/mountall should REQUIRE mdnsd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 10:05:00 +0000 2010
>Closed-Date:    Thu Oct 15 16:52:42 +0000 2015
>Last-Modified:  Thu Oct 15 16:52:42 +0000 2015
>Originator:     Erik Bertelsen
>Release:        5.99.29
>Organization:
>Environment:
NetBSD x8-nb.h.erikb.net 5.99.29 NetBSD 5.99.29 (X8-NB) #42: Sun May 16 09:06:46 CEST 2010  erik@x8-nb.h.erikb.net:/home/NetBSD/src/sys/arch/i386/compile/X8-NB i386

>Description:
As discussed on current-users back in February, the mdnsd support added to NetBSD a few months earlier does not seem to be fully integrated into the system.

In particular using an entry like


      q4.local:/emini    /q4/emini     nfs    rw

in /etc/fstab fails to mount the file system because mountall runs before mdnsd as can be verified by rcorder.
>How-To-Repeat:

>Fix:
Change /etc/rc.d/mountall as follows:

 diff /etc/rc.d/mountall .
6c6
< # REQUIRE: mountcritremote named mdnsd ypbind
---
> # REQUIRE: mountcritremote named ypbind


(It was also mentioned in the above-mentioned email conversation that we may consider having mountall depend on a virtual services RESOLVER which in turn depends on named, mdnsd, and ypbind -- this is relevant if more name resolvers are expected to be added in the future or if several rc.d scripts needs to patched to add mdnsd).





>Release-Note:

>Audit-Trail:
From: "Roy Marples" <roy@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43313 CVS commit: src/etc/rc.d
Date: Thu, 15 Oct 2015 16:47:28 +0000

 Module Name:	src
 Committed By:	roy
 Date:		Thu Oct 15 16:47:28 UTC 2015

 Modified Files:
 	src/etc/rc.d: mdnsd

 Log Message:
 Make mdnsd start before NETWORKING and require staticroute, mountcritlocal
 and networking.
 Fixes PR install/43313.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/mdnsd

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: roy@NetBSD.org
State-Changed-When: Thu, 15 Oct 2015 16:52:42 +0000
State-Changed-Why:
mountall now appears after mdnsd


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.