aboutsummaryrefslogtreecommitdiff
path: root/init.d/sysctl.Linux.in
AgeCommit message (Collapse)Author
2015-05-01Disable service scripts for systemd-nspawnMike Gilbert
This adds the -systemd-nspawn keyword to service scripts which are not intended to run in systemd-nspawn containers. This fixes #52. X-Gentoo-Bug: 548058 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
2015-04-07Make sysctl on Linux respect rc_verbose settingWilliam Hubbs
We do not need to spam the console with variable settings by default. This fixes #51. X-Gentoo-Bug: 541922 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=541922
2014-08-09sysctl.linux.in: use the --system optionWilliam Hubbs
According to the sysctl man page, the --system option causes sysctl to process all system configuration files, which include the following: /run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf X-Gentoo-Bug: 484796 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796
2014-07-04sysctl.Linux.in: remove -lxc from keywordsKaarle Ritvanen
certain tunables can be set independently for each container X-Gentoo-Bug: 516050 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516050
2013-12-29Rename runscript to openrc-runWilliam Hubbs
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
2013-02-23Fix shebangs in services to point to the correct location of runscriptAndrew Gregory
SBINDIR and BINDIR can be set independently of PREFIX. This fixes broken shebangs in service files when SBINDIR is set to something other than PREFIX/sbin Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2012-07-26Bring Back prefix supportWilliam Hubbs
We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
2012-03-26Add -lxc keyword to sysctl script for linux systemsWilliam Hubbs
Kernel parameters should not be set from inside a lxc guest. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com>
2012-03-24sysctl: use @SYSCONFDIR@ in the scripts instead of hard coding /etcWilliam Hubbs
2012-03-24Allow files in sysctl.d to override sysctl.confWilliam Hubbs
reported-by: Peter Gantner (a.k.a. nephros) <gentoo@nephros.org> X-Gentoo-Bug: 406631 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406631
2012-03-24init.d/sysctl.Linux: do not use sysctl -qDiego Elio Pettenò
The -q option is not implemented by BusyBox, so instead of using that, make it so that the standard error is caught, but standard output is thrown away. Note: the ordered behaviour of redirection is part of POSIX so we should be on the safe side with this change, as first we duplicate the output descriptor to be used as stderr, then we change the output descriptor to point to NULL. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-02-21Remove prefix supportWilliam Hubbs
I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-18sysctl: do not make unknown keys fatalMike Frysinger
If unknown keys are found, currently sysctl would add all of its valid settings, but then leave itself marked as "stopped". Since this is not really what we want, make unknown keys a non-fatal error. Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-28bug #349443: remove -openvz keyword from sysctl serviceWilliam Hubbs
Openvz supports sysctl settings which are different from the host settings, so allow the sysctl service to run for openvz systems.
2010-10-23remove 'use hostname' bug 340991, Thanks DiegoJory A. Pratt
2009-11-10Allow sysctl to read confs from /etc/sysctl.dRoy Marples
Fixes #203.
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-05-01Add (c) to CopyrightRoy Marples
2008-03-28Restore noserver and noopenvz to sysctl.Roy Marples
2008-03-26Split sysctl into Linux and BSD specific files.Roy Marples