NetBSD Problem Report #45679

From  Sat Dec  3 15:42:57 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 0641463D58E
	for <>; Sat,  3 Dec 2011 15:42:57 +0000 (UTC)
Message-Id: <>
Date: Sat,  3 Dec 2011 15:42:56 +0000 (UTC)
Subject: aggravating behavior of rc scripts
X-Send-Pr-Version: 3.95

>Number:         45679
>Category:       bin
>Synopsis:       aggravating behavior of rc scripts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 03 15:45:00 +0000 2011
>Originator:     David A. Holland
>Release:        NetBSD 5.99.58 (20111130)
System: NetBSD  5.99.58 NetBSD 5.99.58 (GENERIC) #1: Fri Dec  2 23:02:36 EST 2011  dholland@valkyrie:/blah/blah/blah/src/sys/arch/i386/compile/obj.i386/GENERIC i386
Architecture: i386
Machine: i386

Suppose you want to test something nfs-related, so you try to start
nfsd without fiddling with rc.conf.

   # /etc/rc.d/rpcbind onestart
   Starting rpcbind.
   # /etc/rc.d/mountd onestart
   Starting mountd.

So far so good...

   # /etc/rc.d/nfsd onestart
   /etc/rc.d/nfsd: WARNING: $mountd is not enabled.

Well, that's not unreasonable...

   # ps auxww | grep nfsd

...except it didn't actually start!

(1) if it's going to be a fatal error it should not say WARNING;

(2) for onestart it shouldn't be a fatal error, or, better, it should
check whether mountd is running rather than whether it's enabled.



as above



NetBSD Home
NetBSD PR Database Search

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