aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.conf
AgeCommit message (Collapse)Author
2023-10-10change default RC_CGROUP_MODE to unifiedWilliam Hubbs
This improves resource management by assigning services to individual cgroups. X-Gentoo-Bug: https://bugs.gentoo.org/914972
2023-04-17rc.conf: note SSD_* vars need exportingDoug Freed
2023-03-07init.d/rc.conf: make unicode default to yesWilliam Hubbs
2023-03-06rc.conf: default to unicode consolepsykose
it's the high year of 2023, after all. closes #607
2023-01-15netmount: add fuse.glusterfsMike Frysinger
Fixes #495.
2021-12-22add option for OOM score adjustmentMatt Whitlock
This commit adds a new --oom-score-adj option to start-stop-daemon and supervise-daemon, as well as an equivalent SSD_OOM_SCORE_ADJ environment variable. If either of these are specified (with the command-line option taking precedence), then the specified adjustment value is written to /proc/self/oom_score_adj after forking but prior to exec'ing the daemon (at the time when nice and ionice are applied). Additionally, per a suggestion by Mike Frysinger, the suggested values for the SSD_NICELEVEL, SSD_IONICELEVEL, and SSD_OOM_SCORE_ADJ variables in the example config file are now given as zeros, which are the kernel's default values of these process knobs for the init process at boot. Note that uncommenting any of these zero-valued suggestions will cause SSD/SD to set the corresponding process knob affirmatively to zero, whereas leaving the variable unset (and the equivalent command- line option unspecified) means SSD/SD will not change the corresponding process knob from its inherited value. See: https://github.com/OpenRC/openrc/pull/435#discussion_r688310672 This fixes #435.
2021-10-15 Use cgroup.kill in cgroup_cleanup when possibleAidan Harris
The old code is moved to a cgroup_fallback_cleanup function and only called if cgroup2_kill fails. This fixes #454.
2021-02-23fix unified cgroups v2 setupWilliam Hubbs
The cgroups v2 setup required the rc_cgroups_controllers variable to be set to the list of controllers to enable regardless of whether the mode was hybrid or unified. This makes sense for hybrid mode since the controllers can't be in both the cgroups v1 and v2 hierarchies, but for unified mode we should enable all controllers that are configured in the kernel.
2018-11-29rc.conf: typo fixWilliam Hubbs
X-Gentoo-Bug: 670874 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=670874
2018-02-26cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1William Hubbs
2017-09-14make the procedure for killing child processes of services configurableWilliam Hubbs
2017-09-14add support for control groups version 2William Hubbs
This is for #94.
2017-04-06add init processWilliam Hubbs
openrc-init.c and openrc-shutdown.c are based on code which was written by James Hammons <jlhamm@acm.org>, so I would like to publically thank him for his work.
2016-12-15rc.conf: fix the commented default setting for rc_loggerWilliam Hubbs
X-Gentoo-Bug: 601480 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601480
2016-09-27typo fixWilliam Hubbs
X-Gentoo-Bug: 595306 X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595306
2016-07-26start-stop-daemon: Add SSD_IONICELEVELKenneth Lakin
This is the disk IO counterpart to SSD_NICELEVEL. Modified by William Hubbs to add the variable to the start-stop-daemon man page. This fixes #69.
2016-07-20etc: create default rc.confWilliam Hubbs
Before now, /etc/rc.conf was created by the build system from multiple rc.conf.* file fragments and there was no reason for this.
2008-03-25Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples
it easier to share init and conf files per OS.
2008-03-05Add tunable SYSCONFDIRRoy Marples
2008-01-31Remove rc_force_auto as users can now specify -y in fsck_args.Roy Marples
2008-01-30Allow !net to remove the net provision from dependencies.Roy Marples
2008-01-05Move the env whitelists to an rc var and build in the system whitelist.Roy Marples
2008-01-02Allow rc_$service_$deptype in rc.confRoy Marples
2007-12-27Add a misc var section and add unicode to it.Roy Marples
2007-11-23Move /etc/conf.d/rc to /etc/rc.conf.Roy Marples
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
2007-11-14These files belong with baselayoutRoy Marples
2007-08-25Punt PAGER and EDITOR. People need to set this themselves now.Mike Frysinger
2007-04-05Rewrite the core parts in C. We now provide librc so other programs canRoy Marples
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.