From nobody@FreeBSD.org  Thu Mar  6 20:32:20 2008
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 69749106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  6 Mar 2008 20:32:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 576FF8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  6 Mar 2008 20:32:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m26KTGiE010615
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 6 Mar 2008 20:29:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m26KTFZe010614;
	Thu, 6 Mar 2008 20:29:15 GMT
	(envelope-from nobody)
Message-Id: <200803062029.m26KTFZe010614@www.freebsd.org>
Date: Thu, 6 Mar 2008 20:29:15 GMT
From: Michael Ross <michael.ross@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rc(8) and rcorder(8) unclear about PROVIDE keyword being mandatory
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121440
>Category:       docs
>Synopsis:       rc(8) and rcorder(8) unclear about PROVIDE keyword being mandatory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keramida
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 06 20:40:00 UTC 2008
>Closed-Date:    
>Last-Modified:  Thu Mar 06 23:21:12 UTC 2008
>Originator:     Michael Ross
>Release:        7-stable
>Organization:
n/a
>Environment:
n/a
>Description:
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
>How-To-Repeat:

>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.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Thu Mar 6 23:20:33 UTC 2008 
Responsible-Changed-Why:  
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. 

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