Bug 161107 - stop_boot in mountcritlocal usage is incorrect.
Summary: stop_boot in mountcritlocal usage is incorrect.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-rc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 20:30 UTC by Stephen Sanders
Modified: 2024-12-14 02:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Sanders 2011-09-28 20:30:14 UTC
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

Fix: 

Change 

stop_boot true

to

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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-10-10 05:53:32 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped