public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2014-08-11 18:18 William Hubbs
  2014-08-22 19:10 ` William Hubbs
  0 siblings, 1 reply; 30+ messages in thread
From: William Hubbs @ 2014-08-11 18:18 UTC (permalink / raw
  To: gentoo-commits

commit:     24d82d9ff1ca1ba7085814f8f6530124c117aa5f
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Aug 11 17:57:23 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 17:57:23 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=24d82d9f

rc.conf: document rc_verbose

---
 etc/rc.conf.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 546c36e..69a5cf2 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -51,6 +51,10 @@
 # The default value is: /var/log/rc.log
 #rc_log_path="/var/log/rc.log"
 
+# If you want verbose output for OpenRC, set this to yes. If you want
+# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
+#rc_verbose=no
+
 # By default we filter the environment for our running scripts. To allow other
 # variables through, add them here. Use a * to allow all variables through.
 #rc_env_allow="VAR1 VAR2"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2016-12-15 23:56 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2016-12-15 23:56 UTC (permalink / raw
  To: gentoo-commits

commit:     dd61e6bfc3fc1da011b01f4f6cf3e45e26c59dc1
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Dec 15 23:52:34 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 23:52:34 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=dd61e6bf

rc.conf: fix the commented default setting for rc_logger

X-Gentoo-Bug: 601480
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601480

 etc/rc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/rc.conf b/etc/rc.conf
index 12362f0..028ceab 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -48,7 +48,7 @@
 # /var/log/rc.log
 # NOTE: Linux systems require the devfs service to be started before
 # logging can take place and as such cannot log the sysinit runlevel.
-#rc_logger="YES"
+#rc_logger="NO"
 
 # Through rc_log_path you can specify a custom log file.
 # The default value is: /var/log/rc.log


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2016-09-28  0:40 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2016-09-28  0:40 UTC (permalink / raw
  To: gentoo-commits

commit:     969546bcf0203379db286be21c7f709d27cc73b0
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Sep 28 00:38:20 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 00:39:02 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=969546bc

typo fix

X-Gentoo-Bug: 595306
X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595306

 etc/rc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/rc.conf b/etc/rc.conf
index cbb660a..12362f0 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -239,7 +239,7 @@ rc_tty_number=12
 # Set the pids controller settings for this service.
 #rc_cgroup_pids=""
 
-# Set this to YES if yu want all of the processes in a service's cgroup
+# Set this to YES if you want all of the processes in a service's cgroup
 # killed when the service is stopped or restarted.
 # This should not be set globally because it kills all of the service's
 # child processes, and most of the time this is undesirable. Please set


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2016-07-20 21:44 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2016-07-20 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     8927a37fb790e718c956376242a532ab9d1755e7
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jul 20 20:05:00 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 20:38:36 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=8927a37f

etc: remove rc.conf.* file fragments

 etc/rc.conf.DragonFly    |  13 ----
 etc/rc.conf.FreeBSD      |  13 ----
 etc/rc.conf.GNU          |  14 -----
 etc/rc.conf.GNU-kFreeBSD |  11 ----
 etc/rc.conf.Linux        |  90 ----------------------------
 etc/rc.conf.NetBSD       |  14 -----
 etc/rc.conf.in           | 151 -----------------------------------------------
 7 files changed, 306 deletions(-)

diff --git a/etc/rc.conf.DragonFly b/etc/rc.conf.DragonFly
deleted file mode 100644
index 208bcc1..0000000
--- a/etc/rc.conf.DragonFly
+++ /dev/null
@@ -1,13 +0,0 @@
-##############################################################################
-# DragonFly BSD SPECIFIC OPTIONS
-
-# This is the subsystem type. Valid options on DragonFly BSD:
-# ""        - nothing special
-# "jail"    - DragonFly BSD jails
-# "prefix"  - Prefix
-# If this is commented out, automatic detection will be used.
-#
-# This should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-#rc_sys=""
-

diff --git a/etc/rc.conf.FreeBSD b/etc/rc.conf.FreeBSD
deleted file mode 100644
index cb16b83..0000000
--- a/etc/rc.conf.FreeBSD
+++ /dev/null
@@ -1,13 +0,0 @@
-##############################################################################
-# FreeBSD SPECIFIC OPTIONS
-
-# This is the subsystem type. Valid options on FreeBSD:
-# ""        - nothing special
-# "jail"    - FreeBSD jails
-# "prefix"  - Prefix
-# If this is commented out, automatic detection will be used.
-#
-# This should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-#rc_sys=""
-

diff --git a/etc/rc.conf.GNU b/etc/rc.conf.GNU
deleted file mode 100644
index a9f054a..0000000
--- a/etc/rc.conf.GNU
+++ /dev/null
@@ -1,14 +0,0 @@
-##############################################################################
-# GNU/Hurd SPECIFIC OPTIONS
-
-# This is the subsystem type. Valid options on GNU/Hurd:
-# ""        - nothing special
-# "subhurd" - Hurd subhurds (to be checked)
-# If this is commented out, automatic detection will be used.
-#
-# This should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-#rc_sys=""
-# This is the number of tty's used in most of the rc-scripts (like
-# consolefont, numlock, etc ...)
-#rc_tty_number=6?

diff --git a/etc/rc.conf.GNU-kFreeBSD b/etc/rc.conf.GNU-kFreeBSD
deleted file mode 100644
index 67fe2ae..0000000
--- a/etc/rc.conf.GNU-kFreeBSD
+++ /dev/null
@@ -1,11 +0,0 @@
-##############################################################################
-# GNU/kFreeBSD SPECIFIC OPTIONS
-
-# This is the subsystem type. Valid options on GNU/kFreeBSD:
-# ""        - nothing special
-# "jail"    - FreeBSD jails (not yet implemented)
-# If this is commented out, automatic detection will be used.
-#
-# This should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-#rc_sys=""

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
deleted file mode 100644
index 265b51a..0000000
--- a/etc/rc.conf.Linux
+++ /dev/null
@@ -1,90 +0,0 @@
-##############################################################################
-# LINUX SPECIFIC OPTIONS
-
-# This is the subsystem type. Valid options on Linux:
-# ""               - nothing special
-# "docker"         - Docker container manager
-# "lxc"            - Linux Containers
-# "openvz"         - Linux OpenVZ
-# "prefix"         - Prefix
-# "rkt"            - CoreOS container management system
-# "uml"            - Usermode Linux
-# "vserver"        - Linux vserver
-# "systemd-nspawn" - Container created by the systemd-nspawn utility
-# "xen0"           - Xen0 Domain
-# "xenU"           - XenU Domain
-# If this is commented out, automatic detection will be used.
-#
-# This should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-#rc_sys=""
-
-# This is the number of tty's used in most of the rc-scripts (like
-# consolefont, numlock, etc ...)
-rc_tty_number=12
-
-##############################################################################
-# CGROUPS RESOURCE MANAGEMENT
-
-# If you have cgroups turned on in your kernel, this switch controls
-# whether or not a group for each controller is mounted under
-# /sys/fs/cgroup.
-# None of the other options in this section work if this is set to "NO".
-#rc_controller_cgroups="YES"
-
-# The following settings allow you to set up values for the cgroup
-# controllers for your services.
-# They can be set in this file;, however, if you do this, the settings
-# will apply to all of your services.
-# If you want different settings for each service, place the settings in
-# /etc/conf.d/foo for service foo.
-# The format is to specify the names of the settings followed by their
-# values. Each variable can hold multiple settings.
-# For example, you would use this to set the cpu.shares setting in the
-# cpu controller to 512 for your service.
-# rc_cgroup_cpu="
-# cpu.shares 512
-# "
-#
-#For more information about the adjustments that can be made with
-#cgroups, see Documentation/cgroups/* in the linux kernel source tree.
-
-# Set the blkio controller settings for this service.
-#rc_cgroup_blkio=""
-
-# Set the cpu controller settings for this service.
-#rc_cgroup_cpu=""
-
-# Add this service to the cpuacct controller (any value means yes).
-#rc_cgroup_cpuacct=""
-
-# Set the cpuset controller settings for this service.
-#rc_cgroup_cpuset=""
-
-# Set the devices controller settings for this service.
-#rc_cgroup_devices=""
-
-# Set the hugetlb controller settings for this service.
-#rc_cgroup_hugetlb=""
-
-# Set the memory controller settings for this service.
-#rc_cgroup_memory=""
-
-# Set the net_cls controller settings for this service.
-#rc_cgroup_net_cls=""
-
-# Set the net_prio controller settings for this service.
-#rc_cgroup_net_prio=""
-
-# Set the pids controller settings for this service.
-#rc_cgroup_pids=""
-
-# Set this to YES if yu want all of the processes in a service's cgroup
-# killed when the service is stopped or restarted.
-# This should not be set globally because it kills all of the service's
-# child processes, and most of the time this is undesirable. Please set
-# it in /etc/conf.d/<service>.
-# To perform this cleanup manually for a stopped service, you can
-# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
-# rc-service <service> cgroup_cleanup.
-# rc_cgroup_cleanup="NO"

diff --git a/etc/rc.conf.NetBSD b/etc/rc.conf.NetBSD
deleted file mode 100644
index 43f8b88..0000000
--- a/etc/rc.conf.NetBSD
+++ /dev/null
@@ -1,14 +0,0 @@
-##############################################################################
-# NetBSD SPECIFIC OPTIONS
-
-# This is the subsystem type. Valid options on NetBSD:
-# ""        - nothing special
-# "prefix"  - Prefix
-# "xen0"    - Xen0 Domain
-# "xenU"    - XenU Domain
-# If this is commented out, automatic detection will be used.
-#
-# This should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-#rc_sys=""
-

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
deleted file mode 100644
index 3159165..0000000
--- a/etc/rc.conf.in
+++ /dev/null
@@ -1,151 +0,0 @@
-# Global OpenRC configuration settings
-
-# Set to "YES" if you want the rc system to try and start services
-# in parallel for a slight speed improvement. When running in parallel we
-# prefix the service output with its name as the output will get
-# jumbled up.
-# WARNING: whilst we have improved parallel, it can still potentially lock
-# the boot process. Don't file bugs about this unless you can supply
-# patches that fix it without breaking other things!
-#rc_parallel="NO"
-
-# Set rc_interactive to "YES" and you'll be able to press the I key during
-# boot so you can choose to start specific services. Set to "NO" to disable
-# this feature. This feature is automatically disabled if rc_parallel is
-# set to YES.
-#rc_interactive="YES"
-
-# If we need to drop to a shell, you can specify it here.
-# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
-# otherwise /bin/sh
-# Linux users could specify /sbin/sulogin
-#rc_shell=/bin/sh
-
-# Do we allow any started service in the runlevel to satisfy the dependency
-# or do we want all of them regardless of state? For example, if net.eth0
-# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
-# both will be started, but services that depend on 'net' will work if either
-# one comes up. With rc_depend_strict="YES" we would require them both to
-# come up.
-#rc_depend_strict="YES"
-
-# rc_hotplug controls which services we allow to be hotplugged.
-# A hotplugged service is one started by a dynamic dev manager when a matching
-# hardware device is found.
-# Hotplugged services appear in the "hotplugged" runlevel.
-# If rc_hotplug is set to any value, we compare the name of this service
-# to every pattern in the value, from left to right, and we allow the
-# service to be hotplugged if it matches a pattern, or if it matches no
-# patterns. Patterns can include shell wildcards.
-# To disable services from being hotplugged, prefix patterns with "!".
-#If rc_hotplug is not set or is empty, all hotplugging is disabled.
-# Example - rc_hotplug="net.wlan !net.*"
-# This allows net.wlan and any service not matching net.* to be hotplugged.
-# Example - rc_hotplug="!net.*"
-# This allows services that do not match "net.*" to be hotplugged.
-
-# rc_logger launches a logging daemon to log the entire rc process to
-# /var/log/rc.log
-# NOTE: Linux systems require the devfs service to be started before
-# logging can take place and as such cannot log the sysinit runlevel.
-#rc_logger="YES"
-
-# Through rc_log_path you can specify a custom log file.
-# The default value is: /var/log/rc.log
-#rc_log_path="/var/log/rc.log"
-
-# If you want verbose output for OpenRC, set this to yes. If you want
-# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
-#rc_verbose=no
-
-# By default we filter the environment for our running scripts. To allow other
-# variables through, add them here. Use a * to allow all variables through.
-#rc_env_allow="VAR1 VAR2"
-
-# By default we assume that all daemons will start correctly.
-# However, some do not - a classic example is that they fork and return 0 AND
-# then child barfs on a configuration error. Or the daemon has a bug and the
-# child crashes. You can set the number of milliseconds start-stop-daemon
-# waits to check that the daemon is still running after starting here.
-# The default is 0 - no checking.
-#rc_start_wait=100
-
-# rc_nostop is a list of services which will not stop when changing runlevels.
-# This still allows the service itself to be stopped when called directly.
-#rc_nostop=""
-
-# rc will attempt to start crashed services by default.
-# However, it will not stop them by default as that could bring down other
-# critical services.
-#rc_crashed_stop=NO
-#rc_crashed_start=YES
-
-# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
-# output.
-#rc_nocolor=NO
-
-##############################################################################
-# MISC CONFIGURATION VARIABLES
-# There variables are shared between many init scripts
-
-# Set unicode to YES to turn on unicode support for keyboards and screens.
-#unicode="NO"
-
-# This is how long fuser should wait for a remote server to respond. The
-# default is 60 seconds, but  it can be adjusted here.
-#rc_fuser_timeout=60
-
-# Below is the default list of network fstypes.
-#
-# afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
-# nfs nfs4 ocfs2 shfs smbfs
-#
-# If you would like to add to this list, you can do so by adding your
-# own fstypes to the following variable.
-#extra_net_fs_list=""
-
-##############################################################################
-# SERVICE CONFIGURATION VARIABLES
-# These variables are documented here, but should be configured in
-# /etc/conf.d/foo for service foo and NOT enabled here unless you
-# really want them to work on a global basis.
-# If your service has characters in its name which are not legal in
-# shell variable names and you configure the variables for it in this
-# file, those characters should be replaced with underscores in the
-# variable names as shown below.
-
-# Some daemons are started and stopped via start-stop-daemon.
-# We can set some things on a per service basis, like the nicelevel.
-#SSD_NICELEVEL="-19"
-
-# Pass ulimit parameters
-# If you are using bash in POSIX mode for your shell, note that the
-# ulimit command uses a block size of 512 bytes for the -c and -f
-# options
-#rc_ulimit="-u 30"
-
-# It's possible to define extra dependencies for services like so
-#rc_config="/etc/foo"
-#rc_need="openvpn"
-#rc_use="net.eth0"
-#rc_after="clock"
-#rc_before="local"
-#rc_provide="!net"
-
-# You can also enable the above commands here for each service. Below is an
-# example for service foo.
-#rc_foo_config="/etc/foo"
-#rc_foo_need="openvpn"
-#rc_foo_after="clock"
-
-# Below is an example for service foo-bar. Note that the '-' is illegal
-# in a shell variable name, so we convert it to an underscore.
-# example for service foo-bar.
-#rc_foo_bar_config="/etc/foo-bar"
-#rc_foo_bar_need="openvpn"
-#rc_foo_bar_after="clock"
-
-# You can also remove dependencies.
-# This is mainly used for saying which servies do NOT provide net.
-#rc_net_tap0_provide="!net"
-


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2016-07-20 21:44 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2016-07-20 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     b085b2cda58bc884acb959e48f14fb044c983042
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jul 20 17:51:07 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 20:37:50 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b085b2cd

etc: create default rc.conf

Before now, /etc/rc.conf was created by the build system from multiple
rc.conf.* file fragments and there was no reason for this.

 etc/.gitignore |   1 -
 etc/Makefile   |   7 +-
 etc/rc.conf    | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 248 insertions(+), 7 deletions(-)

diff --git a/etc/.gitignore b/etc/.gitignore
index 6d86e6d..fe38bc1 100644
--- a/etc/.gitignore
+++ b/etc/.gitignore
@@ -1,3 +1,2 @@
-rc.conf
 rc
 rc.shutdown

diff --git a/etc/Makefile b/etc/Makefile
index 53bf47c..1695dee 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,10 +1,8 @@
 DIR=	${SYSCONFDIR}
-SRCS=	rc.conf.in rc.in rc.shutdown.in
+SRCS=	rc.in rc.shutdown.in
 BIN=	${BIN-${OS}}
 CONF=	rc.conf ${BIN-${OS}}
 
-CLEANFILES+=	rc.conf
-
 MK=	../mk
 include ${MK}/os.mk
 
@@ -23,6 +21,3 @@ CONF-NetBSD=
 SED_EXTRA=	${SED_EXTRA-${OS}}
 
 include ${MK}/scripts.mk
-
-rc.conf: rc.conf.in rc.conf.${OS}
-	${SED} ${SED_REPLACE} ${SED_EXTRA} $^ > $@

diff --git a/etc/rc.conf b/etc/rc.conf
new file mode 100644
index 0000000..80f68dd
--- /dev/null
+++ b/etc/rc.conf
@@ -0,0 +1,247 @@
+# Global OpenRC configuration settings
+
+# Set to "YES" if you want the rc system to try and start services
+# in parallel for a slight speed improvement. When running in parallel we
+# prefix the service output with its name as the output will get
+# jumbled up.
+# WARNING: whilst we have improved parallel, it can still potentially lock
+# the boot process. Don't file bugs about this unless you can supply
+# patches that fix it without breaking other things!
+#rc_parallel="NO"
+
+# Set rc_interactive to "YES" and you'll be able to press the I key during
+# boot so you can choose to start specific services. Set to "NO" to disable
+# this feature. This feature is automatically disabled if rc_parallel is
+# set to YES.
+#rc_interactive="YES"
+
+# If we need to drop to a shell, you can specify it here.
+# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
+# otherwise /bin/sh
+# Linux users could specify /sbin/sulogin
+#rc_shell=/bin/sh
+
+# Do we allow any started service in the runlevel to satisfy the dependency
+# or do we want all of them regardless of state? For example, if net.eth0
+# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
+# both will be started, but services that depend on 'net' will work if either
+# one comes up. With rc_depend_strict="YES" we would require them both to
+# come up.
+#rc_depend_strict="YES"
+
+# rc_hotplug controls which services we allow to be hotplugged.
+# A hotplugged service is one started by a dynamic dev manager when a matching
+# hardware device is found.
+# Hotplugged services appear in the "hotplugged" runlevel.
+# If rc_hotplug is set to any value, we compare the name of this service
+# to every pattern in the value, from left to right, and we allow the
+# service to be hotplugged if it matches a pattern, or if it matches no
+# patterns. Patterns can include shell wildcards.
+# To disable services from being hotplugged, prefix patterns with "!".
+#If rc_hotplug is not set or is empty, all hotplugging is disabled.
+# Example - rc_hotplug="net.wlan !net.*"
+# This allows net.wlan and any service not matching net.* to be hotplugged.
+# Example - rc_hotplug="!net.*"
+# This allows services that do not match "net.*" to be hotplugged.
+
+# rc_logger launches a logging daemon to log the entire rc process to
+# /var/log/rc.log
+# NOTE: Linux systems require the devfs service to be started before
+# logging can take place and as such cannot log the sysinit runlevel.
+#rc_logger="YES"
+
+# Through rc_log_path you can specify a custom log file.
+# The default value is: /var/log/rc.log
+#rc_log_path="/var/log/rc.log"
+
+# If you want verbose output for OpenRC, set this to yes. If you want
+# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
+#rc_verbose=no
+
+# By default we filter the environment for our running scripts. To allow other
+# variables through, add them here. Use a * to allow all variables through.
+#rc_env_allow="VAR1 VAR2"
+
+# By default we assume that all daemons will start correctly.
+# However, some do not - a classic example is that they fork and return 0 AND
+# then child barfs on a configuration error. Or the daemon has a bug and the
+# child crashes. You can set the number of milliseconds start-stop-daemon
+# waits to check that the daemon is still running after starting here.
+# The default is 0 - no checking.
+#rc_start_wait=100
+
+# rc_nostop is a list of services which will not stop when changing runlevels.
+# This still allows the service itself to be stopped when called directly.
+#rc_nostop=""
+
+# rc will attempt to start crashed services by default.
+# However, it will not stop them by default as that could bring down other
+# critical services.
+#rc_crashed_stop=NO
+#rc_crashed_start=YES
+
+# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
+# output.
+#rc_nocolor=NO
+
+##############################################################################
+# MISC CONFIGURATION VARIABLES
+# There variables are shared between many init scripts
+
+# Set unicode to YES to turn on unicode support for keyboards and screens.
+#unicode="NO"
+
+# This is how long fuser should wait for a remote server to respond. The
+# default is 60 seconds, but  it can be adjusted here.
+#rc_fuser_timeout=60
+
+# Below is the default list of network fstypes.
+#
+# afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
+# nfs nfs4 ocfs2 shfs smbfs
+#
+# If you would like to add to this list, you can do so by adding your
+# own fstypes to the following variable.
+#extra_net_fs_list=""
+
+##############################################################################
+# SERVICE CONFIGURATION VARIABLES
+# These variables are documented here, but should be configured in
+# /etc/conf.d/foo for service foo and NOT enabled here unless you
+# really want them to work on a global basis.
+# If your service has characters in its name which are not legal in
+# shell variable names and you configure the variables for it in this
+# file, those characters should be replaced with underscores in the
+# variable names as shown below.
+
+# Some daemons are started and stopped via start-stop-daemon.
+# We can set some things on a per service basis, like the nicelevel.
+#SSD_NICELEVEL="-19"
+
+# Pass ulimit parameters
+# If you are using bash in POSIX mode for your shell, note that the
+# ulimit command uses a block size of 512 bytes for the -c and -f
+# options
+#rc_ulimit="-u 30"
+
+# It's possible to define extra dependencies for services like so
+#rc_config="/etc/foo"
+#rc_need="openvpn"
+#rc_use="net.eth0"
+#rc_after="clock"
+#rc_before="local"
+#rc_provide="!net"
+
+# You can also enable the above commands here for each service. Below is an
+# example for service foo.
+#rc_foo_config="/etc/foo"
+#rc_foo_need="openvpn"
+#rc_foo_after="clock"
+
+# Below is an example for service foo-bar. Note that the '-' is illegal
+# in a shell variable name, so we convert it to an underscore.
+# example for service foo-bar.
+#rc_foo_bar_config="/etc/foo-bar"
+#rc_foo_bar_need="openvpn"
+#rc_foo_bar_after="clock"
+
+# You can also remove dependencies.
+# This is mainly used for saying which services do NOT provide net.
+#rc_net_tap0_provide="!net"
+
+# This is the subsystem type.
+# It is used to match against keywords set by the keyword call in the
+# depend function of service scripts.
+#
+# It should be set to the value representing the environment this file is
+# PRESENTLY in, not the virtualization the environment is capable of.
+# If it is commented out, automatic detection will be used.
+#
+# The list below shows all possible settings as well as the host
+# operating systems where they can be used and autodetected.
+#
+# ""               - nothing special
+# "docker"         - Docker container manager (Linux)
+# "jail"           - Jail (DragonflyBSD or FreeBSD)
+# "lxc"            - Linux Containers
+# "openvz"         - Linux OpenVZ
+# "prefix"         - Prefix
+# "rkt"            - CoreOS container management system (Linux)
+# "subhurd"        - Hurd subhurds (to be checked)
+# "systemd-nspawn" - Container created by systemd-nspawn (Linux)
+# "uml"            - Usermode Linux
+# "vserver"        - Linux vserver
+# "xen0"           - Xen0 Domain (Linux and NetBSD)
+# "xenU"           - XenU Domain (Linux and NetBSD)
+#rc_sys=""
+
+# on Linux and Hurd, this is the number of ttys allocated for logins
+# It is used in the consolefont, keymaps, numlock and termencoding
+# service scripts.
+rc_tty_number=12
+
+##############################################################################
+# LINUX CGROUPS RESOURCE MANAGEMENT
+
+# If you have cgroups turned on in your kernel, this switch controls
+# whether or not a group for each controller is mounted under
+# /sys/fs/cgroup.
+# None of the other options in this section work if this is set to "NO".
+#rc_controller_cgroups="YES"
+
+# The following settings allow you to set up values for the cgroup
+# controllers for your services.
+# They can be set in this file;, however, if you do this, the settings
+# will apply to all of your services.
+# If you want different settings for each service, place the settings in
+# /etc/conf.d/foo for service foo.
+# The format is to specify the names of the settings followed by their
+# values. Each variable can hold multiple settings.
+# For example, you would use this to set the cpu.shares setting in the
+# cpu controller to 512 for your service.
+# rc_cgroup_cpu="
+# cpu.shares 512
+# "
+#
+#For more information about the adjustments that can be made with
+#cgroups, see Documentation/cgroups/* in the linux kernel source tree.
+
+# Set the blkio controller settings for this service.
+#rc_cgroup_blkio=""
+
+# Set the cpu controller settings for this service.
+#rc_cgroup_cpu=""
+
+# Add this service to the cpuacct controller (any value means yes).
+#rc_cgroup_cpuacct=""
+
+# Set the cpuset controller settings for this service.
+#rc_cgroup_cpuset=""
+
+# Set the devices controller settings for this service.
+#rc_cgroup_devices=""
+
+# Set the hugetlb controller settings for this service.
+#rc_cgroup_hugetlb=""
+
+# Set the memory controller settings for this service.
+#rc_cgroup_memory=""
+
+# Set the net_cls controller settings for this service.
+#rc_cgroup_net_cls=""
+
+# Set the net_prio controller settings for this service.
+#rc_cgroup_net_prio=""
+
+# Set the pids controller settings for this service.
+#rc_cgroup_pids=""
+
+# Set this to YES if yu want all of the processes in a service's cgroup
+# killed when the service is stopped or restarted.
+# This should not be set globally because it kills all of the service's
+# child processes, and most of the time this is undesirable. Please set
+# it in /etc/conf.d/<service>.
+# To perform this cleanup manually for a stopped service, you can
+# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
+# rc-service <service> cgroup_cleanup.
+# rc_cgroup_cleanup="NO"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2015-12-02 17:12 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2015-12-02 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     a4038e11712d4c3f87f541f90be0b88f2903b82d
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Dec  2 17:11:45 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Dec  2 17:11:45 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a4038e11

rc.conf.Linux: document the rkt keyword

 etc/rc.conf.Linux | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 0865075..265b51a 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -7,6 +7,7 @@
 # "lxc"            - Linux Containers
 # "openvz"         - Linux OpenVZ
 # "prefix"         - Prefix
+# "rkt"            - CoreOS container management system
 # "uml"            - Usermode Linux
 # "vserver"        - Linux vserver
 # "systemd-nspawn" - Container created by the systemd-nspawn utility


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2015-10-29 16:36 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2015-10-29 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     6cae41a4e63510cdcf3af1153d6e8300435e1838
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Oct 21 17:49:00 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Oct 21 17:49:00 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6cae41a4

etc/rc.conf: Clean up documentation for rc_hotplug

X-Gentoo-Bug: 554540
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=554540

 etc/rc.conf.in | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 1b78c88..3159165 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -29,17 +29,20 @@
 # come up.
 #rc_depend_strict="YES"
 
-# rc_hotplug is a list of services that we allow to be hotplugged.
-# By default we do not allow hotplugging.
+# rc_hotplug controls which services we allow to be hotplugged.
 # A hotplugged service is one started by a dynamic dev manager when a matching
 # hardware device is found.
-# This service is intrinsically included in the boot runlevel.
-# To disable services, prefix with a !
+# Hotplugged services appear in the "hotplugged" runlevel.
+# If rc_hotplug is set to any value, we compare the name of this service
+# to every pattern in the value, from left to right, and we allow the
+# service to be hotplugged if it matches a pattern, or if it matches no
+# patterns. Patterns can include shell wildcards.
+# To disable services from being hotplugged, prefix patterns with "!".
+#If rc_hotplug is not set or is empty, all hotplugging is disabled.
 # Example - rc_hotplug="net.wlan !net.*"
-# This allows net.wlan and any service not matching net.* to be plugged.
-# Example - rc_hotplug="*"
-# This allows all services to be hotplugged
-#rc_hotplug="*"
+# This allows net.wlan and any service not matching net.* to be hotplugged.
+# Example - rc_hotplug="!net.*"
+# This allows services that do not match "net.*" to be hotplugged.
 
 # rc_logger launches a logging daemon to log the entire rc process to
 # /var/log/rc.log


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2015-05-22 14:57 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2015-05-22 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     bbabf546f9d72cbfc48bd839a6d01b402ee6cced
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri May 22 14:43:51 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May 22 14:43:51 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=bbabf546

Document bash's handling of ulimit options

When bash is used in posix mode for the shell, the ulimit command uses
a block size of 512 bytes for the -c and -f options.

X-Gentoo-Bug: 549238
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=549238

 etc/rc.conf.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 69a5cf2..1b78c88 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -116,6 +116,9 @@
 #SSD_NICELEVEL="-19"
 
 # Pass ulimit parameters
+# If you are using bash in POSIX mode for your shell, note that the
+# ulimit command uses a block size of 512 bytes for the -c and -f
+# options
 #rc_ulimit="-u 30"
 
 # It's possible to define extra dependencies for services like so


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2015-05-08 17:33 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2015-05-08 17:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0198affc742297b6e203bbcecc14436682119cc7
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri May  8 17:29:26 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May  8 17:29:26 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0198affc

The rc_supervisor variable is a service configuration variable

This variable should not be changed globally unless you really know what
you are doing.

 etc/rc.conf.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index b16aaff..7fcdfe8 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -77,12 +77,6 @@
 #rc_crashed_stop=NO
 #rc_crashed_start=YES
 
-# Set rc_supervisor to use a program to monitor your daemons and restart
-# them when they crash.
-# Leaving this undefined uses start-stop-daemon, which is OpenRC's
-# default.
-#rc_supervisor=""
-
 # Set rc_nocolor to yes if you do not want colors displayed in OpenRC
 # output.
 #rc_nocolor=NO
@@ -117,6 +111,12 @@
 # file, those characters should be replaced with underscores in the
 # variable names as shown below.
 
+# Set rc_supervisor to use a program to monitor your daemons and restart
+# them when they crash.
+# Leaving this undefined uses start-stop-daemon, which is OpenRC's
+# default.
+#rc_supervisor=""
+
 # Some daemons are started and stopped via start-stop-daemon.
 # We can set some things on a per service basis, like the nicelevel.
 #SSD_NICELEVEL="-19"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2014-12-08  1:07 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2014-12-08  1:07 UTC (permalink / raw
  To: gentoo-commits

commit:     72186ea3bbbf0b09b88a6f3e1fb23bf04ce1ddad
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Dec  8 01:06:51 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Dec  8 01:07:11 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=72186ea3

etc/rc and etc/rc.shutdown: change references from rc to openrc

---
 etc/rc.in          | 6 +++---
 etc/rc.shutdown.in | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/etc/rc.in b/etc/rc.in
index 864bd1b..e6fb38b 100644
--- a/etc/rc.in
+++ b/etc/rc.in
@@ -10,9 +10,9 @@
 trap : SIGINT
 trap "echo 'Boot interrupted'; exit 1" SIGQUIT
 
-/sbin/rc sysinit || exit 1
-/sbin/rc boot || exit 1
-/sbin/rc default
+/sbin/openrc sysinit || exit 1
+/sbin/openrc boot || exit 1
+/sbin/openrc default
 
 # We don't actually care if rc default worked or not, we should exit 0
 # to allow logins

diff --git a/etc/rc.shutdown.in b/etc/rc.shutdown.in
index 216e2f8..88c7b93 100644
--- a/etc/rc.shutdown.in
+++ b/etc/rc.shutdown.in
@@ -14,4 +14,4 @@ LD_LIBRARY_PATH="/lib${LD_LIBRARY_PATH:+:}${LDLIBRARY_PATH}" ; export LD_LIBRARY
 [ -z "$TERM" -o "$TERM" = "dumb" ] && TERM="@TERM@" && export TERM
 
 action=${1:-shutdown}
-exec /sbin/rc "${action}"
+exec /sbin/openrc "${action}"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2014-03-15  3:19 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2014-03-15  3:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e0e1f2a4da376d9d05487ec23922c1ca356cbbc6
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Mar 15 03:18:25 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 03:18:25 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=e0e1f2a4

rc.conf: typo fix

---
 etc/rc.conf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 8abfd75..546c36e 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -73,7 +73,7 @@
 #rc_crashed_stop=NO
 #rc_crashed_start=YES
 
-# Set rc_nocolor to yes if you do not want colors displayed in OpenRc
+# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
 # output.
 #rc_nocolor=NO
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2014-03-09 20:39 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2014-03-09 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     d0186d422c3bb75ac2977dfe7d1f8f97c3ce5c3b
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Mar  9 20:35:41 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Mar  9 20:37:38 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=d0186d42

rc.conf: document rc_nocolor setting

---
 etc/rc.conf.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index e90ad81..8abfd75 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -73,6 +73,10 @@
 #rc_crashed_stop=NO
 #rc_crashed_start=YES
 
+# Set rc_nocolor to yes if you do not want colors displayed in OpenRc
+# output.
+#rc_nocolor=NO
+
 ##############################################################################
 # MISC CONFIGURATION VARIABLES
 # There variables are shared between many init scripts


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2013-12-08 19:45 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2013-12-08 19:45 UTC (permalink / raw
  To: gentoo-commits

commit:     7230b29bf365ab05f656bb5bbba471ead2597bf7
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Dec  8 19:40:23 2013 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Dec  8 19:40:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=7230b29b

rc.conf: Sync list of network file systems with actual defaults

I would like to thank Aaron Ten Clay <aarontc <AT> aarontc.com> for pointing
this out; this is based on a patch he submitted.

X-Gentoo-Bug: 491384
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=491384

---
 etc/rc.conf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index cbab502..e90ad81 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -86,7 +86,7 @@
 
 # Below is the default list of network fstypes.
 #
-# afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
+# afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
 # nfs nfs4 ocfs2 shfs smbfs
 #
 # If you would like to add to this list, you can do so by adding your


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2013-03-12 19:18 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2013-03-12 19:18 UTC (permalink / raw
  To: gentoo-commits

commit:     66dd88d6f6a28b9b607433248ead8bde57e2b258
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Mar 12 19:16:41 2013 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 19:16:41 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=66dd88d6

config: move rc_fuser_timeout to rc.conf

I was told that fuser does exist on *bsd, so this will need to bee
supported there. This moves the timeout setting to rc.conf.

---
 etc/rc.conf.Linux |    4 ----
 etc/rc.conf.in    |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index d85b1c1..4fb48ae 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -20,10 +20,6 @@
 # consolefont, numlock, etc ...)
 rc_tty_number=12
 
-# This is how long fuser should wait for a remote server to respond. The
-# default is 60 seconds, but  it can be adjusted here.
-#rc_fuser_timeout=60
-
 ##############################################################################
 # CGROUPS RESOURCE MANAGEMENT
 

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 1536aa5..cbab502 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -80,6 +80,10 @@
 # Set unicode to YES to turn on unicode support for keyboards and screens.
 #unicode="NO"
 
+# This is how long fuser should wait for a remote server to respond. The
+# default is 60 seconds, but  it can be adjusted here.
+#rc_fuser_timeout=60
+
 # Below is the default list of network fstypes.
 #
 # afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2013-02-17 17:09 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2013-02-17 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     a55eb3965e60e856f00bb346fed85117b8eea12e
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Feb 17 17:09:02 2013 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Feb 17 17:09:02 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a55eb396

cgroups: remove comment about suspend for cpu_shares setting

---
 etc/rc.conf.Linux |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 9b030a5..7571f98 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -37,5 +37,4 @@ rc_tty_number=12
 # This is the number of CPU shares a service is allowed to use. The
 # default value, set by the kernel, is 1024.
 # This requires CONFIG_FAIR_GROUP_SCHED to be set in the kernel.
-# Also, this setting is not preserved if you suspend your computer.
 #rc_cgroup_cpu_shares=1024


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2013-02-16 22:12 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2013-02-16 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     405dfea7ad054f0767c0dda87b18398a7ec626b9
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Feb 16 22:05:54 2013 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Feb 16 22:11:33 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=405dfea7

cgroups: document kernel requirement for cpu controller settings

---
 etc/rc.conf.Linux |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index cb24b89..9b030a5 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -36,5 +36,6 @@ rc_tty_number=12
 
 # This is the number of CPU shares a service is allowed to use. The
 # default value, set by the kernel, is 1024.
+# This requires CONFIG_FAIR_GROUP_SCHED to be set in the kernel.
 # Also, this setting is not preserved if you suspend your computer.
 #rc_cgroup_cpu_shares=1024


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2012-12-04  0:24 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2012-12-04  0:24 UTC (permalink / raw
  To: gentoo-commits

commit:     31bcc6bee46c0d825ea71e76997af71af2fbad9a
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Dec  3 20:59:22 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Dec  3 20:59:22 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=31bcc6be

Typo Fix

---
 etc/rc.conf.Linux |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 6285bde..cb24b89 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -24,7 +24,7 @@ rc_tty_number=12
 # CGROUPS RESOURCE MANAGEMENT
 
 # If you have cgroups turned on in your kernel, this switch controls
-# whether or not a group for each controler is mounted under
+# whether or not a group for each controller is mounted under
 # /sys/fs/cgroup.
 # None of the other options in this section work if this is set to "NO".
 #rc_controller_cgroups="YES"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2012-10-30 16:17 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2012-10-30 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     eff07c48b7a2266a4c82a202960856b4f39936d0
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 30 16:12:20 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 30 16:12:20 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=eff07c48

Expand the documentation for service configuration variables

The original documentation for these variables did not give an example
of what to do if the service had a name that had illegal characters in
it, so this commit adds an example. There was no bug report; this was
suggested by Tobias Klausmann.

---
 etc/rc.conf.in |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 2dad333..e49a410 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -94,6 +94,10 @@
 # These variables are documented here, but should be configured in
 # /etc/conf.d/foo for service foo and NOT enabled here unless you
 # really want them to work on a global basis.
+# If your service has characters in its name which are not legal in
+# shell variable names and you configure the variables for it in this
+# file, those characters should be replaced with underscores in the
+# variable names as shown below.
 
 # Some daemons are started and stopped via start-stop-daemon.
 # We can set some things on a per service basis, like the nicelevel.
@@ -116,6 +120,13 @@
 #rc_foo_need="openvpn"
 #rc_foo_after="clock"
 
+# Below is an example for service foo-bar. Note that the '-' is illegal
+# in a shell variable name, so we convert it to an underscore.
+# example for service foo-bar.
+#rc_foo_bar_config="/etc/foo-bar"
+#rc_foo_bar_need="openvpn"
+#rc_foo_bar_after="clock"
+
 # You can also remove dependencies.
 # This is mainly used for saying which servies do NOT provide net.
 #rc_net_tap0_provide="!net"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2012-02-13 18:00 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2012-02-13 18:00 UTC (permalink / raw
  To: gentoo-commits

commit:     8199dee8d698d7ffa8955d36085a3b9eccbaa7dc
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 17:29:19 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 17:29:19 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=8199dee8

Revert "Remove rc_parallel from rc.conf"

This reverts commit 695f3886fb2d255e64387ce780be3c1cbc170fa9.

Reported-by: Pacho Ramos <pacho <AT> gentoo.org>
X-Gentoo-Bug: 400741
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400741

---
 etc/rc.conf.in |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 9b1daa8..2dad333 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -1,8 +1,18 @@
 # Global OpenRC configuration settings
 
+# Set to "YES" if you want the rc system to try and start services
+# in parallel for a slight speed improvement. When running in parallel we
+# prefix the service output with its name as the output will get
+# jumbled up.
+# WARNING: whilst we have improved parallel, it can still potentially lock
+# the boot process. Don't file bugs about this unless you can supply
+# patches that fix it without breaking other things!
+#rc_parallel="NO"
+
 # Set rc_interactive to "YES" and you'll be able to press the I key during
 # boot so you can choose to start specific services. Set to "NO" to disable
-# this feature.
+# this feature. This feature is automatically disabled if rc_parallel is
+# set to YES.
 #rc_interactive="YES"
 
 # If we need to drop to a shell, you can specify it here.



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2012-01-25 18:40 Christian Ruppert
  0 siblings, 0 replies; 30+ messages in thread
From: Christian Ruppert @ 2012-01-25 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     caf954897f657c83bffcbbddf088c0da2499cc21
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 17:10:03 2012 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 17:10:03 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=caf95489

Enable rc_logger and rc_interactive by default

---
 etc/rc.conf.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 9b1daa8..6c36fcc 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -3,7 +3,7 @@
 # Set rc_interactive to "YES" and you'll be able to press the I key during
 # boot so you can choose to start specific services. Set to "NO" to disable
 # this feature.
-#rc_interactive="YES"
+rc_interactive="YES"
 
 # If we need to drop to a shell, you can specify it here.
 # If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
@@ -35,7 +35,7 @@
 # /var/log/rc.log
 # NOTE: Linux systems require the devfs service to be started before
 # logging can take place and as such cannot log the sysinit runlevel.
-#rc_logger="YES"
+rc_logger="YES"
 
 # Through rc_log_path you can specify a custom log file.
 # The default value is: /var/log/rc.log



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2012-01-06  4:36 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2012-01-06  4:36 UTC (permalink / raw
  To: gentoo-commits

commit:     982ac38f35b5f0c7d80341783e74f803c177e8dd
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 04:29:37 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 04:29:37 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=982ac38f

cgroups: hide configure option to turn off cgroups

Turning off the default cgroups is possible, but these groups are the
recommended setup from the kernel, so turning them off is highly
discouraged.

---
 etc/rc.conf.Linux |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index e149a2c..e88fc53 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -21,10 +21,3 @@ rc_sys="@RC_SYS_DEFAULT@"
 # This is the number of tty's used in most of the rc-scripts (like
 # consolefont, numlock, etc ...)
 rc_tty_number=12
-
-# openrc can set up linux control groups the way the documentation in
-# the kernel recommends creating them.
-# Currently, this option is disabled by default, but it will be enabled
-# in the future, so if you would like to see how control groups will be
-# created, uncomment this line.
-#rc_cgroups="YES"



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-11-26 23:47 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-11-26 23:47 UTC (permalink / raw
  To: gentoo-commits

commit:     695f3886fb2d255e64387ce780be3c1cbc170fa9
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 23:33:10 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 23:33:10 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=695f3886

Remove rc_parallel from rc.conf

rc_parallel has never been considered a stable feature of openrc. To
that end, I am removing the documentation for this feature from
rc.conf.

It is still available, but bugs against it are not considered stable
blockers, and it should only be used currently by developers and users
who are willing to test the feature.

X-Gentoo-Bug: 391945
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=391945

---
 etc/rc.conf.in |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 2dad333..9b1daa8 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -1,18 +1,8 @@
 # Global OpenRC configuration settings
 
-# Set to "YES" if you want the rc system to try and start services
-# in parallel for a slight speed improvement. When running in parallel we
-# prefix the service output with its name as the output will get
-# jumbled up.
-# WARNING: whilst we have improved parallel, it can still potentially lock
-# the boot process. Don't file bugs about this unless you can supply
-# patches that fix it without breaking other things!
-#rc_parallel="NO"
-
 # Set rc_interactive to "YES" and you'll be able to press the I key during
 # boot so you can choose to start specific services. Set to "NO" to disable
-# this feature. This feature is automatically disabled if rc_parallel is
-# set to YES.
+# this feature.
 #rc_interactive="YES"
 
 # If we need to drop to a shell, you can specify it here.



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-07-06 23:40 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-07-06 23:40 UTC (permalink / raw
  To: gentoo-commits

commit:     fe6cd232870e2b9b0784b09a29d088ad7454454d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  6 23:38:52 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul  6 23:38:52 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=fe6cd232

rc_log_path should be quoted

---
 etc/rc.conf.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index e4a062b..2dad333 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -49,7 +49,7 @@
 
 # Through rc_log_path you can specify a custom log file.
 # The default value is: /var/log/rc.log
-#rc_log_path=/var/log/rc.log
+#rc_log_path="/var/log/rc.log"
 
 # By default we filter the environment for our running scripts. To allow other
 # variables through, add them here. Use a * to allow all variables through.



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-07-05 22:52 Christian Ruppert
  0 siblings, 0 replies; 30+ messages in thread
From: Christian Ruppert @ 2011-07-05 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     48dcc55b65c6e62d32b9c6a5ec69e67081e939ae
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  5 22:47:15 2011 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Tue Jul  5 22:47:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=48dcc55b

Document the new rc_logger_path option

---
 etc/rc.conf.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 6b14298..e668782 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -47,6 +47,10 @@
 # logging can take place and as such cannot log the sysinit runlevel.
 #rc_logger="YES"
 
+# Through rc_logger_path you can specify a custom log file.
+# The default value is: /var/log/rc.log
+#rc_logger_path=/var/log/rc.log
+
 # By default we filter the environment for our running scripts. To allow other
 # variables through, add them here. Use a * to allow all variables through.
 #rc_env_allow="VAR1 VAR2"



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-04-18 20:22 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-04-18 20:22 UTC (permalink / raw
  To: gentoo-commits

commit:     372bae32132ef4866cdff878f5457ec4361c9ddd
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 19:42:02 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 19:42:02 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=372bae32

make rc_sys system specific

This rearranges the configuration files so it is more clear that the
rc_sys setting is system specific.

X-Gentoo-Bug: 363957
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363957

---
 etc/rc.conf.FreeBSD |    3 +++
 etc/rc.conf.Linux   |    6 +++---
 etc/rc.conf.NetBSD  |    3 +++
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/etc/rc.conf.FreeBSD b/etc/rc.conf.FreeBSD
index 6c48ae7..d557213 100644
--- a/etc/rc.conf.FreeBSD
+++ b/etc/rc.conf.FreeBSD
@@ -1,3 +1,6 @@
+##############################################################################
+# FreeBSD SPECIFIC OPTIONS
+
 # This is the subsystem type. Valid options on FreeBSD:
 # ""        - nothing special
 # "jail"    - FreeBSD jails

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 9a6e1ab..9b5859a 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -1,3 +1,6 @@
+##############################################################################
+# LINUX SPECIFIC OPTIONS
+
 # This is the subsystem type. Valid options on Linux:
 # ""        - nothing special
 # "lxc"     - Linux Containers
@@ -15,9 +18,6 @@
 # PRESENTLY in, not the virtualization the environment is capable of.
 rc_sys="@RC_SYS_DEFAULT@"
 
-##############################################################################
-# LINUX SPECIFIC OPTIONS
-
 # This is the number of tty's used in most of the rc-scripts (like
 # consolefont, numlock, etc ...)
 rc_tty_number=12

diff --git a/etc/rc.conf.NetBSD b/etc/rc.conf.NetBSD
index 12d61bf..864aa55 100644
--- a/etc/rc.conf.NetBSD
+++ b/etc/rc.conf.NetBSD
@@ -1,3 +1,6 @@
+##############################################################################
+# NetBSD SPECIFIC OPTIONS
+
 # This is the subsystem type. Valid options on NetBSD:
 # ""        - nothing special
 # "prefix"  - Prefix



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-03-22  4:05 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-03-22  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c9912942f0f4c2c150d81ed212a700b3508f0ab0
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 22:11:10 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 04:04:08 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=c9912942

update documentation for rc_sys

Originally the plan was to deprecate this code, but this will not be
happening. There are some subsystems which can still be autodetected, so
we are keeping this code and allowing users to override the automatic
detection with this variable as well as set it to other subtypes we
cannot autodetect.

X-Gentoo-Bug: 357247
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247

---
 etc/rc.conf.FreeBSD |    8 ++++----
 etc/rc.conf.Linux   |    9 +++++----
 etc/rc.conf.NetBSD  |    8 ++++----
 3 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/etc/rc.conf.FreeBSD b/etc/rc.conf.FreeBSD
index ed5b215..6c48ae7 100644
--- a/etc/rc.conf.FreeBSD
+++ b/etc/rc.conf.FreeBSD
@@ -2,10 +2,10 @@
 # ""        - nothing special
 # "jail"    - FreeBSD jails
 # "prefix"  - Prefix
-# If unset, the old automagic detection code will be triggered. Said old code
-# is deprecated and will be removed not later than 2011/03/01.
+# If this is commented out, automatic detection will be attempted.
+# Note that automatic detection does not work in a prefix environment.
 #
-# This should be set to the value representing what environment this file is
-# PRESENTLY in, not what virtualization the environment is capable of.
+# This should be set to the value representing the environment this file is
+# PRESENTLY in, not the virtualization the environment is capable of.
 rc_sys="@RC_SYS_DEFAULT@"
 

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 9632a75..9a6e1ab 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -7,11 +7,12 @@
 # "vserver" - Linux vserver
 # "xen0"    - Xen0 Domain
 # "xenU"    - XenU Domain
-# If unset, the old automagic detection code will be triggered. Said old code
-# is deprecated and will be removed not later than 2011/03/01.
+# If this is commented out, automatic detection will be attempted.
+# Note that autodetection will not work in a prefix environment or in a
+# linux container.
 #
-# This should be set to the value representing what environment this file is
-# PRESENTLY in, not what virtualization the environment is capable of.
+# This should be set to the value representing the environment this file is
+# PRESENTLY in, not the virtualization the environment is capable of.
 rc_sys="@RC_SYS_DEFAULT@"
 
 ##############################################################################

diff --git a/etc/rc.conf.NetBSD b/etc/rc.conf.NetBSD
index c49a9ab..12d61bf 100644
--- a/etc/rc.conf.NetBSD
+++ b/etc/rc.conf.NetBSD
@@ -3,10 +3,10 @@
 # "prefix"  - Prefix
 # "xen0"    - Xen0 Domain
 # "xenU"    - XenU Domain
-# If unset, the old automagic detection code will be triggered. Said old code
-# is deprecated and will be removed not later than 2011/03/01.
+# If this is commented out, automatic detection will be attempted.
+# Note that automatic detection does not work in a prefix environment.
 #
-# This should be set to the value representing what environment this file is
-# PRESENTLY in, not what virtualization the environment is capable of.
+# This should be set to the value representing the environment this file is
+# PRESENTLY in, not the virtualization the environment is capable of.
 rc_sys="@RC_SYS_DEFAULT@"
 



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-03-15  3:11 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-03-15  3:11 UTC (permalink / raw
  To: gentoo-commits

commit:     d7e48fe643bc82ae6280193dc42f5fef7265abac
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 01:24:28 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 01:35:08 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=d7e48fe6

rc_sys: let default behavior be automagic

The default rc_sys behavior was changed to always require manual
intervention by users.  This pretty much breaks all of the diff
system variants out there if people don't explicitly edit their
rc.conf file ahead of time.  We should have things work "out of
the box" as much as possible and reasonable.

X-Gentoo-Bug: 357247
X-Gentoo-Bug-URL: http://bugs.gentoo.org/357247
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

---
 etc/Makefile |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/etc/Makefile b/etc/Makefile
index 24e5455..314225a 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -8,5 +8,14 @@ include ${MK}/os.mk
 include Makefile.${OS}
 include ${MK}/scripts.mk
 
+# We can't use "ifndef" here because that treats set-but-empty
+# as not-set which is not what we want
+MKRCSYS ?= automagicplease
+ifeq ($(MKRCSYS),automagicplease)
+# If the user isn't picking a default, then have the
+# config go with runtime automagic detection #357247
+rc.conf: SED_EXTRA += -e '/^rc_sys=""/s:^:\#:'
+MKRCSYS =
+endif
 rc.conf: rc.conf.in rc.conf.${OS}
 	${SED} ${SED_REPLACE} ${SED_EXTRA} $^ > $@



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-03-05  6:13 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-03-05  6:13 UTC (permalink / raw
  To: gentoo-commits

commit:     0f3d6a01c7136edf1a7cecb764473ddc7f2cfe61
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 06:11:24 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 06:11:24 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=0f3d6a01

remove references to the migration guide

The openrc code base is not gentoo specific, so I feel that we should
not refer to the migration guide in the comments inside the configuration
files.

---
 etc/rc.conf.FreeBSD |    1 -
 etc/rc.conf.Linux   |    1 -
 etc/rc.conf.NetBSD  |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/etc/rc.conf.FreeBSD b/etc/rc.conf.FreeBSD
index 139a825..ed5b215 100644
--- a/etc/rc.conf.FreeBSD
+++ b/etc/rc.conf.FreeBSD
@@ -7,6 +7,5 @@
 #
 # This should be set to the value representing what environment this file is
 # PRESENTLY in, not what virtualization the environment is capable of.
-# See the OpenRC migration guide for more details.
 rc_sys="@RC_SYS_DEFAULT@"
 

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 1400af5..9632a75 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -12,7 +12,6 @@
 #
 # This should be set to the value representing what environment this file is
 # PRESENTLY in, not what virtualization the environment is capable of.
-# See the OpenRC migration guide for more details.
 rc_sys="@RC_SYS_DEFAULT@"
 
 ##############################################################################

diff --git a/etc/rc.conf.NetBSD b/etc/rc.conf.NetBSD
index 3528a00..c49a9ab 100644
--- a/etc/rc.conf.NetBSD
+++ b/etc/rc.conf.NetBSD
@@ -8,6 +8,5 @@
 #
 # This should be set to the value representing what environment this file is
 # PRESENTLY in, not what virtualization the environment is capable of.
-# See the OpenRC migration guide for more details.
 rc_sys="@RC_SYS_DEFAULT@"
 



^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: etc/
@ 2011-03-03 21:07 William Hubbs
  0 siblings, 0 replies; 30+ messages in thread
From: William Hubbs @ 2011-03-03 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     202fa20cbca2895f29f533e7b908544bcc0248f3
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 21:06:39 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 21:06:39 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=202fa20c

fix typo

---
 etc/rc.conf.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 3c1210b..6b14298 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -21,7 +21,7 @@
 # Linux users could specify /sbin/sulogin
 #rc_shell=/bin/sh
 
-# Do we allow any started service in the runlevel to satisfy the depedency
+# Do we allow any started service in the runlevel to satisfy the dependency
 # or do we want all of them regardless of state? For example, if net.eth0
 # and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
 # both will be started, but services that depend on 'net' will work if either



^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2016-12-15 23:56 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 18:18 [gentoo-commits] proj/openrc:master commit in: etc/ William Hubbs
2014-08-22 19:10 ` William Hubbs
  -- strict thread matches above, loose matches on Subject: below --
2016-12-15 23:56 William Hubbs
2016-09-28  0:40 William Hubbs
2016-07-20 21:44 William Hubbs
2016-07-20 21:44 William Hubbs
2015-12-02 17:12 William Hubbs
2015-10-29 16:36 William Hubbs
2015-05-22 14:57 William Hubbs
2015-05-08 17:33 William Hubbs
2014-12-08  1:07 William Hubbs
2014-03-15  3:19 William Hubbs
2014-03-09 20:39 William Hubbs
2013-12-08 19:45 William Hubbs
2013-03-12 19:18 William Hubbs
2013-02-17 17:09 William Hubbs
2013-02-16 22:12 William Hubbs
2012-12-04  0:24 William Hubbs
2012-10-30 16:17 William Hubbs
2012-02-13 18:00 William Hubbs
2012-01-25 18:40 Christian Ruppert
2012-01-06  4:36 William Hubbs
2011-11-26 23:47 William Hubbs
2011-07-06 23:40 William Hubbs
2011-07-05 22:52 Christian Ruppert
2011-04-18 20:22 William Hubbs
2011-03-22  4:05 William Hubbs
2011-03-15  3:11 William Hubbs
2011-03-05  6:13 William Hubbs
2011-03-03 21:07 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox