NetBSD Problem Report #45679
From dholland@netbsd.org Sat Dec 3 15:42:57 2011
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0641463D58E
for <gnats-bugs@gnats.NetBSD.org>; Sat, 3 Dec 2011 15:42:57 +0000 (UTC)
Message-Id: <20111203154256.E57C814A2A7@mail.netbsd.org>
Date: Sat, 3 Dec 2011 15:42:56 +0000 (UTC)
From: dholland@NetBSD.org
Reply-To: dholland@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
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)
>Organization:
>Environment:
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
>Description:
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.
grr.
>How-To-Repeat:
as above
>Fix:
dunno
(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.