Bug 140495

Summary: [patch] /etc/rc.conf.d is not documented in rc.conf(5)
Product: Documentation Reporter: Tom Judge <tom>
Component: Books & ArticlesAssignee: Glen Barber <gjb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
rc.conf.5.txt none

Description Tom Judge 2009-11-12 00:20:01 UTC
There is no reference to /etc/rc.conf.d in rc.conf(5).

The patch adds info about that dir.

Fix: Patch attached with submission follows:
Comment 1 Tom Judge 2009-11-12 00:28:03 UTC
Here is a better more accurate patch.
Comment 2 Jason 2009-12-22 03:12:59 UTC
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.
Comment 3 Glen Barber freebsd_committer freebsd_triage 2011-01-07 19:17:36 UTC
Responsible Changed
From-To: freebsd-doc->gjb

I'll take this.
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-01-08 13:28:49 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"
Comment 5 Glen Barber freebsd_committer freebsd_triage 2011-01-08 14:23:53 UTC
State Changed
From-To: open->patched

Patched in HEAD.  MFC after 14 days, or after upcoming 
releases, whichever happens later.
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-01-24 15:17:18 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"
Comment 7 dfilter service freebsd_committer freebsd_triage 2011-01-24 15:18:25 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"
Comment 8 Glen Barber freebsd_committer freebsd_triage 2011-01-24 15:19:02 UTC
State Changed
From-To: patched->closed

MFC'd to stable/8 and stable/7.  Thanks!