From nobody@FreeBSD.org  Thu Nov 12 00:13:42 2009
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 D631E106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Nov 2009 00:13:42 +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 C5D0F8FC23
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Nov 2009 00:13:42 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAC0DgUf070790
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Nov 2009 00:13:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nAC0DgY1070788;
	Thu, 12 Nov 2009 00:13:42 GMT
	(envelope-from nobody)
Message-Id: <200911120013.nAC0DgY1070788@www.freebsd.org>
Date: Thu, 12 Nov 2009 00:13:42 GMT
From: Tom Judge <tom@tomjudge.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/rc.conf.d is not documented in rc.conf(5)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140495
>Category:       docs
>Synopsis:       [patch] /etc/rc.conf.d is not documented in rc.conf(5)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gjb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 12 00:20:01 UTC 2009
>Closed-Date:    Mon Jan 24 15:19:34 UTC 2011
>Last-Modified:  Mon Jan 24 15:20:14 UTC 2011
>Originator:     Tom Judge
>Release:        9-Current
>Organization:
Mintel International Ltd
>Environment:
FreeBSD rita.nodomain 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r197472M: Thu Sep 24 21:09:49 UTC 2009     root@rita.nodomain:/usr/obj/usr/src/sys/ME  i386

>Description:
There is no reference to /etc/rc.conf.d in rc.conf(5).

The patch adds info about that dir.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: rc.conf.5
===================================================================
--- rc.conf.5	(revision 199205)
+++ rc.conf.5	(working copy)
@@ -63,7 +63,11 @@
 .Pa /etc/rc.conf.local
 is used to override settings in
 .Pa /etc/rc.conf
-for historical reasons.
+for historical reasons. In addition to 
+.Pa /etc/rc.conf.local
+you can also place smaller config files in the directory
+.Pa /etc/rc.conf.d
+which will be included by rc.subr's load_rc_config function.
 See the
 .Va rc_conf_files
 variable below.


>Release-Note:
>Audit-Trail:

From: Tom Judge <tom@tomjudge.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-doc@FreeBSD.org
Cc:  
Subject: Re: docs/140495: /etc/rc.conf.d is not documented in rc.conf(5)
Date: Thu, 12 Nov 2009 00:28:03 +0000

 This is a multi-part message in MIME format.
 --------------080900080505060605010203
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Here is a better more accurate patch.
 
 
 --------------080900080505060605010203
 Content-Type: text/plain;
  name="rc.conf.5.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="rc.conf.5.txt"
 
 Index: rc.conf.5
 ===================================================================
 --- rc.conf.5	(revision 199205)
 +++ rc.conf.5	(working copy)
 @@ -63,8 +63,16 @@
  .Pa /etc/rc.conf.local
  is used to override settings in
  .Pa /etc/rc.conf
 -for historical reasons.
 -See the
 +for historical reasons. In addition to 
 +.Pa /etc/rc.conf.local
 +you can also place smaller configuration files for each rc script in 
 +the directory
 +.Pa /etc/rc.conf.d
 +which will be included by the 
 +.Va load_rc_config 
 +function. For jail configuration you would use the file
 +.Pa /etc/rc.conf.d/jail
 +to store jail specific configuration options. Also see the
  .Va rc_conf_files
  variable below.
  .Pp
 
 --------------080900080505060605010203--

From: Jason Helfman <jhelfman@e-e.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140495: [patch] /etc/rc.conf.d is not documented in rc.conf(5)
Date: Mon, 21 Dec 2009 19:12:59 -0800

 Although it is not mentioned in the rc.conf man page, it is mentioned in
 the rc.subr manpage.
 
 I believe this should be appropriate enough, but that is for the
 freebsd-doc team to take up.
Responsible-Changed-From-To: freebsd-doc->gjb 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Fri Jan 7 19:17:36 UTC 2011 
Responsible-Changed-Why:  
I'll take this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=140495 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140495: commit references a PR
Date: Sat,  8 Jan 2011 13:28:49 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Sat Jan  8 13:28:43 2011
 New Revision: 217148
 URL: http://svn.freebsd.org/changeset/base/217148
 
 Log:
   Document rc.conf.d in rc.conf(5).
   
   PR:		140495
   Submitted by:	Tom Judge (tom of tomjudge com)
   Approved by:	keramida (mentor)
   MFC after:	2 weeks
 
 Modified:
   head/share/man/man5/rc.conf.5
 
 Modified: head/share/man/man5/rc.conf.5
 ==============================================================================
 --- head/share/man/man5/rc.conf.5	Sat Jan  8 12:43:05 2011	(r217147)
 +++ head/share/man/man5/rc.conf.5	Sat Jan  8 13:28:43 2011	(r217148)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 24, 2010
 +.Dd January 7, 2011
  .Dt RC.CONF 5
  .Os
  .Sh NAME
 @@ -64,7 +64,19 @@ The file
  is used to override settings in
  .Pa /etc/rc.conf
  for historical reasons.
 -See the
 +In addition to
 +.Pa /etc/rc.conf.local
 +you can also place smaller configuration files for each
 +.Xr rc
 +script in the
 +.Pa /etc/rc.conf.d
 +directory, which will be included by the
 +.Va load_rc_config
 +function.
 +For jail configurations you could use the file
 +.Pa /etc/rc.conf.d/jail
 +to store jail specific configuration options.
 +Also see the
  .Va rc_conf_files
  variable below.
  .Pp
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: gjb 
State-Changed-When: Sat Jan 8 14:23:53 UTC 2011 
State-Changed-Why:  
Patched in HEAD.  MFC after 14 days, or after upcoming 
releases, whichever happens later. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=140495 
State-Changed-From-To: patched->closed 
State-Changed-By: gjb 
State-Changed-When: Mon Jan 24 15:19:02 UTC 2011 
State-Changed-Why:  
MFC'd to stable/8 and stable/7.  Thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=140495 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140495: commit references a PR
Date: Mon, 24 Jan 2011 15:17:18 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Mon Jan 24 15:17:10 2011
 New Revision: 217787
 URL: http://svn.freebsd.org/changeset/base/217787
 
 Log:
   MFC 217148, 217786:
   Document rc.conf.d in rc.conf(5).
   
   PR:		140495
   Approved by:	keramida (mentor)
 
 Modified:
   stable/8/share/man/man5/rc.conf.5
 Directory Properties:
   stable/8/share/man/man5/   (props changed)
 
 Modified: stable/8/share/man/man5/rc.conf.5
 ==============================================================================
 --- stable/8/share/man/man5/rc.conf.5	Mon Jan 24 15:11:08 2011	(r217786)
 +++ stable/8/share/man/man5/rc.conf.5	Mon Jan 24 15:17:10 2011	(r217787)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 13, 2010
 +.Dd January 7, 2011
  .Dt RC.CONF 5
  .Os
  .Sh NAME
 @@ -64,7 +64,19 @@ The file
  is used to override settings in
  .Pa /etc/rc.conf
  for historical reasons.
 -See the
 +In addition to
 +.Pa /etc/rc.conf.local
 +you can also place smaller configuration files for each
 +.Xr rc 8
 +script in the
 +.Pa /etc/rc.conf.d
 +directory, which will be included by the
 +.Va load_rc_config
 +function.
 +For jail configurations you could use the file
 +.Pa /etc/rc.conf.d/jail
 +to store jail specific configuration options.
 +Also see the
  .Va rc_conf_files
  variable below.
  .Pp
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/140495: commit references a PR
Date: Mon, 24 Jan 2011 15:18:25 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Mon Jan 24 15:18:18 2011
 New Revision: 217788
 URL: http://svn.freebsd.org/changeset/base/217788
 
 Log:
   MFC 217148, 217786:
   Document rc.conf.d in rc.conf(5).
   
   PR:		140495
   Approved by:	keramida (mentor)
 
 Modified:
   stable/7/share/man/man5/rc.conf.5
 Directory Properties:
   stable/7/share/man/man5/   (props changed)
 
 Modified: stable/7/share/man/man5/rc.conf.5
 ==============================================================================
 --- stable/7/share/man/man5/rc.conf.5	Mon Jan 24 15:17:10 2011	(r217787)
 +++ stable/7/share/man/man5/rc.conf.5	Mon Jan 24 15:18:18 2011	(r217788)
 @@ -24,7 +24,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd November 13, 2010
 +.Dd January 7, 2011
  .Dt RC.CONF 5
  .Os
  .Sh NAME
 @@ -64,7 +64,19 @@ The file
  is used to override settings in
  .Pa /etc/rc.conf
  for historical reasons.
 -See the
 +In addition to
 +.Pa /etc/rc.conf.local
 +you can also place smaller configuration files for each
 +.Xr rc 8
 +script in the
 +.Pa /etc/rc.conf.d
 +directory, which will be included by the
 +.Va load_rc_config
 +function.
 +For jail configurations you could use the file
 +.Pa /etc/rc.conf.d/jail
 +to store jail specific configuration options.
 +Also see the
  .Va rc_conf_files
  variable below.
  .Pp
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
