Date: Wed, 28 Sep 2011 19:26:16 GMT From: Stephen Sanders <ssanders@opnet.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/161107: stop_boot in mountcritlocal usage is incorrect. Message-ID: <201109281926.p8SJQG8L050717@red.freebsd.org> Resent-Message-ID: <201109281930.p8SJUESp070646@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161107 >Category: misc >Synopsis: stop_boot in mountcritlocal usage is incorrect. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >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: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109281926.p8SJQG8L050717>