Bug 121440 - rc(8) and rcorder(8) unclear about PROVIDE keyword being mandatory
Summary: rc(8) and rcorder(8) unclear about PROVIDE keyword being mandatory
Status: In Progress
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 20:40 UTC by Michael Ross
Modified: 2018-04-10 18:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ross 2008-03-06 20:40:00 UTC
rc.d scripts without a PROVIDE keyword are skipped by rc.subr and thus not executed.

rc(8) does not state this clearly, quote:
Each script should contain rcorder(8) keywords, especially an appropriate ``PROVIDE'' 

rcorder(8) is more confusing, as it states, quote:
A file may contain zero ``PROVIDE'' lines


See message 63aggbF26iusnU1@mid.individual.net and followups on news:comp.unix.bsd.freebsd.misc

Fix: 

Rephrase rc(8) to make clear that scripts require a PROVIDE keyword
Rephrase rcorder(8) to make clear that, while rcorder does not require the PROVIDE keyword, the script will not be executed without one.
Comment 1 Giorgos Keramidas freebsd_committer 2008-03-06 23:20:33 UTC
Responsible Changed
From-To: freebsd-doc->keramida

I was the one who requested that this is logged as a PR, so 
I would get a reminder to handle it, so assign it to me.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2015-03-10 03:05:28 UTC
Release to wild.