Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 445038 Details for
Bug 503134
sys-apps/openrc: rc_cgroup_* in rc.conf should be used as default settngs, not overrides for per-service conf.d files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix-config.patch
fix-config.patch (text/plain), 972 bytes, created by
William Hubbs
on 2016-09-05 16:09:59 UTC
(
hide
)
Description:
fix-config.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2016-09-05 16:09:59 UTC
Size:
972 bytes
patch
obsolete
>diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in >index ce5432f..4cbfb16 100644 >--- a/sh/openrc-run.sh.in >+++ b/sh/openrc-run.sh.in >@@ -193,6 +193,15 @@ status() > > yesno $RC_DEBUG && set -x > >+# Load configuration settings. First the global ones, then any >+# service-specific settings. >+sourcex -e "@SYSCONFDIR@/rc.conf" >+if [ -d "@SYSCONFDIR@/rc.conf.d" ]; then >+ for _f in "@SYSCONFDIR@"/rc.conf.d/*.conf; do >+ sourcex -e "$_f" >+ done >+fi >+ > _conf_d=${RC_SERVICE%/*}/../conf.d > # If we're net.eth0 or openvpn.work then load net or openvpn config > _c=${RC_SVCNAME%%.*} >@@ -209,15 +218,6 @@ if ! sourcex -e "$_conf_d/$RC_SVCNAME.$RC_RUNLEVEL"; then > fi > unset _conf_d > >-# Load any system overrides >-sourcex -e "@SYSCONFDIR@/rc.conf" >-if [ -d "@SYSCONFDIR@/rc.conf.d" ]; then >- for _f in "@SYSCONFDIR@"/rc.conf.d/*.conf; do >- sourcex -e "$_f" >- done >-fi >- >- > # load service supervisor functions > sourcex "@LIBEXECDIR@/sh/runit.sh" > sourcex "@LIBEXECDIR@/sh/s6.sh"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503134
: 445038