Bug 180183 - [rc.d] rc.d allows scripts without rcvar set to start unconditionally
Summary: [rc.d] rc.d allows scripts without rcvar set to start unconditionally
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 22:20 UTC by Doug Barton
Modified: 2018-01-17 19:13 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Barton 2013-07-01 22:20:00 UTC
An rc.d script without rcvar set will run unconditionally at system start time. See ports/180182 for an example.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-07-02 00:16:48 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:01:15 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
Comment 3 Chad Jacob Milios 2018-01-17 14:30:41 UTC
holy cobwebs batman! this PR is old. can we close this as WONTFIX if we arent gonna? i just filed PR ports/225262 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225262

porter's handbook section 6.27 already shows $rcvar being set, maybe we should just add a sentence to drive the point that it isn't optional.
Comment 4 Chris Rees freebsd_committer freebsd_triage 2018-01-17 19:13:18 UTC
Not a bug, as Doug explained below.  Please file a PR against the port if the port RC file misbehaves.

Thanks Milios for digging this one up :)