From nobody@FreeBSD.org  Wed Sep 28 19:26:16 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 515CC106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Sep 2011 19:26:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 41A438FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Sep 2011 19:26:16 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8SJQGIl050718
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Sep 2011 19:26:16 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8SJQG8L050717;
	Wed, 28 Sep 2011 19:26:16 GMT
	(envelope-from nobody)
Message-Id: <201109281926.p8SJQG8L050717@red.freebsd.org>
Date: Wed, 28 Sep 2011 19:26:16 GMT
From: Stephen Sanders <ssanders@opnet.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: stop_boot in mountcritlocal usage is incorrect.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161107
>Category:       conf
>Synopsis:       [rc] stop_boot in mountcritlocal usage is incorrect.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-rc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 28 19:30:14 UTC 2011
>Closed-Date:    
>Last-Modified:  Mon Oct 10 04:53:41 UTC 2011
>Originator:     Stephen Sanders
>Release:        8.1
>Organization:
OPNET
>Environment:
FreeBSD al3170ss.lab.opnet.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Aug 19 11:48:26 PDT 2011     jtoung@focus8.networkphysics.com:/u1/builds/8.5.1/ALKernel.jt/src/sys/amd64/compile/NPBAB8  amd64

>Description:
The line "stop_boot true" in /etc/rc.d/mountcritlocal is incorrect.
checkvars will complain that $true not set correctly.

It should look more like:

STOP=true
stop_boot STOP


>How-To-Repeat:
Corrupt a local file system such that it will not mount ( some fun here ) and reboot the system.  When mountcritlocal tries to stop the start up, a message will be displayed stating that $true is invalid and one should check the man page for rc.conf



>Fix:
Change 

stop_boot true

to

STOP=true
stop_boot STOP

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Oct 10 04:53:32 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161107 
>Unformatted:
