NetBSD Problem Report #52650

From  Tue Oct 24 14:22:52 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id D3D2D7A182
	for <>; Tue, 24 Oct 2017 14:22:51 +0000 (UTC)
Message-Id: <>
Date: Tue, 24 Oct 2017 14:22:51 +0000 (UTC)
Subject: /etc/rc.d/SERVERS should not REQUIRE mountcritremote
X-Send-Pr-Version: 3.95

>Number:         52650
>Category:       misc
>Synopsis:       /etc/rc.d/SERVERS should not REQUIRE mountcritremote
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 24 14:25:00 +0000 2017
>Originator:     Johnny C. Lam
>Release:        NetBSD 7.1_STABLE
System: NetBSD sasha.home 7.1_STABLE NetBSD 7.1_STABLE (THINKCENTRE_C30) #6: Wed Aug 9 21:12:13 EDT 2017 sysbuild@sasha.home:/home/sysbuild/netbsd-7/amd64/obj/home/sysbuild/netbsd-7/src/sys/arch/amd64/compile/THINKCENTRE_C30 amd64
Architecture: x86_64
Machine: amd64
	The /etc/rc.d scripts that are all-caps are "barrier"
	scripts, which are used as dummy dependencies for actual
	rc.d scripts.  As such, they should not contain a REQUIRE
	line that lists a non-barrier scripts.

	The original discussion on tech-userlevel on March 2002
	was about reversing the direction of the dependencies in
	the barrier scripts.  Originally, for example, the DAEMON
	script required a lot of other scripts, but the /etc/rc
	threw errors if any of those required scripts were

	The commit by <thorpej> changed "a REQUIRE b" to
	"b BEFORE a" if "a" was a barrier script, so that the
	barrier scripts weren't as fragile if other scripts were
	removed.  However, for some reason, the only such change
	that wasn't made was "SERVER REQUIRE mountcritremote",
	which remained when all other such dependencies were

	# cd /etc/rc.d && rcorder [A-Z]*
	rcorder: requirement `mountcritremote' in file `SERVERS' has no providers.
	/etc/rc.d/SERVERS should lose the line that says:
		# REQUIRE: mountcritremote

	/etc/rc.d/mountcritremote should include a new line that says:

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.