Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 382426 Details for
Bug 484796
sys-apps/baselayout: consider replacing /etc/sysctl.conf with /etc/sysctl.d/99-*.conf
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-sysctl.linux.in-use-the-system-option.patch
0001-sysctl.linux.in-use-the-system-option.patch (text/plain), 1.19 KB, created by
William Hubbs
on 2014-08-07 03:09:28 UTC
(
hide
)
Description:
0001-sysctl.linux.in-use-the-system-option.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2014-08-07 03:09:28 UTC
Size:
1.19 KB
patch
obsolete
>From 58a3a11440efdb847e0f4c762e11c5daf321465b Mon Sep 17 00:00:00 2001 >From: William Hubbs <w.d.hubbs@gmail.com> >Date: Wed, 6 Aug 2014 22:01:30 -0500 >Subject: [PATCH] sysctl.linux.in: use the --system option > >X-Gentoo-Bug: 484796 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796 >--- > init.d/sysctl.Linux.in | 22 ++-------------------- > 1 file changed, 2 insertions(+), 20 deletions(-) > >diff --git a/init.d/sysctl.Linux.in b/init.d/sysctl.Linux.in >index cda86b5..12d3f19 100644 >--- a/init.d/sysctl.Linux.in >+++ b/init.d/sysctl.Linux.in >@@ -10,25 +10,7 @@ depend() > > start() > { >- local conf= retval=0 err errs >- > ebegin "Configuring kernel parameters" >- eindent >- >- for conf in @SYSCONFDIR@/sysctl.conf @SYSCONFDIR@/sysctl.d/*.conf; do >- if [ -r "$conf" ]; then >- vebegin "applying $conf" >- if ! err=$(sysctl -p "$conf" 2>&1 >/dev/null) ; then >- errs="${errs} ${err}" >- sysctl -e -p "${conf}" >/dev/null >- fi >- veend $? || retval=1 >- fi >- done >- >- eoutdent >- if [ ${retval} -eq 0 ] && [ -n "${errs}" ] ; then >- ewarn "Unknown keys:${errs}" >- fi >- eend $retval "Some errors were encountered: ${errs}" >+ sysctl --system >+ eend $? "Unable to configure all parameters" > } >-- >1.8.5.5 >
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 484796
: 382426 |
402152