summaryrefslogtreecommitdiff
path: root/etc/rc.conf.Linux
Commit message (Collapse)AuthorAge
* add cgroup cleanup supportAlexander Vershilov2013-04-25
| | | | | This adds the ability to kill all processes within a service's cgroup when that service is stopped or restarted.
* config: move rc_fuser_timeout to rc.confWilliam Hubbs2013-03-12
| | | | | 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.
* Make fuser command time outWilliam Hubbs2013-03-12
| | | | | | | | | | | | This avoids situations in which fuser hangs because of open files on remote file systems when the remote system goes down. I have also passed this bug on to the maintainers of psmisc since it should really be fixed in fuser. This is based on a patch submitted by evermind@tuxfamily.org Reported-by: evermind@tuxfamily.org X-Gentoo-Bug: 455458 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=455458
* cgroups: major update to cgroups supportWilliam Hubbs2013-02-19
| | | | | | | | | | This reworks cgroups support so we have one variable in rc.conf for each controller instead of each setting. Also we add support for all of the possible cgroup controllers. I would like to thank Alexander Vershilov for his help with testing and reworking this code.
* cgroups: remove comment about suspend for cpu_shares settingWilliam Hubbs2013-02-17
|
* cgroups: document kernel requirement for cpu controller settingsWilliam Hubbs2013-02-16
|
* Typo FixWilliam Hubbs2012-12-03
|
* Support cpu usage management for LinuxAlexander Vershilov2012-11-12
| | | | | | | | | | | This commit was modified by William Hubbs as follows: - The paths in the cgroup fs were put into variables to ease maintenance. - Documentation was added to rc.conf.Linux. - The services were added originally to openrc/svcname cgroups under the controller cgroups, but this left an "openrc" cgroup which was unused. Now they are added to individual cgroups with the name openrc_${RC_SVCNAME}.
* Bring Back prefix supportWilliam Hubbs2012-07-26
| | | | | We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
* cgroups: allow users to turn off creation of controller cgroupsWilliam Hubbs2012-07-03
| | | | | | | | | This adds a switch to not create the one-cgroup-per-controller setup of cgroups. reported-by: davidweb@klaftenegger.de X-Gentoo-Bug: 423317 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423317
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* Drop rc_sys definition from build systemWilliam Hubbs2012-02-20
|
* cgroups: hide configure option to turn off cgroupsWilliam Hubbs2012-01-05
| | | | | | Turning off the default cgroups is possible, but these groups are the recommended setup from the kernel, so turning them off is highly discouraged.
* add rc_cgroup option to allow disabling of cgroup default setupPiotr Karbowski2011-12-20
| | | | | | | | | | | Currently, cgroups are still in development, so we are not setting them up by default. However, this default will be changed in the future. This commit message and patch were updated by William Hubbs <williamh@gentoo.org>. X-Gentoo-Bug: 395079 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=395079
* CGroups: create the openrc cgroup hierarchyWilliam Hubbs2011-11-20
| | | | | | Openrc will create a cgroup hierarchy called openrc which will have all services it starts and all subsystems attached to it. If you need other groups/hierarchies, please use libcgroup.
* Change RC_CGROUP to lower caseWilliam Hubbs2011-11-17
|
* Add CGroup supportPatrick Lauer2011-11-17
| | | | | X-Gentoo-Bug: 390297 X-Gentoo-Bug: http://bugs.gentoo.org/show_bug.cgi?id=390297
* make rc_sys system specificWilliam Hubbs2011-04-18
| | | | | | | | 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
* update documentation for rc_sysWilliam Hubbs2011-03-21
| | | | | | | | | | | 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
* remove references to the migration guideWilliam Hubbs2011-03-05
| | | | | | 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.
* allow default rc_sys value to be set at build timeWilliam Hubbs2011-03-05
| | | | | | | | | | | This allows the default value of rc_sys to be set when openrc is compiled. This will allow openrc to be installed, e.g. on vserver guests and will allow them to be rebooted without the need to edit rc.conf. This patch is a combined effort between myself and Robin Johnson. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247
* Bug #351783: more documentation for rc_sys. But really see the OpenRC ↵Robin H. Johnson2011-01-16
| | | | migration guide where this is covered.
* bug 351523: fix deprecation date for rc_sysWilliam Hubbs2011-01-13
| | | | | | The deprecation notice for automatic detection of the system type stated that the automatic detection will be removed no later than 2010/03/01, but it should state 2011/03/01.
* Implement explicit selection of subsystem types.Robin H. Johnson2011-01-05
| | | | | | | | | | | - Fixes bugs #347583, #349389, both of which were triggered by cgroups being detected as the LXC subsystem type. - Makes it much easier to select "prefix" type. - "rc -S" will now print a warning if you have not configured rc_sys in /etc/rc.conf - All other semantics of rc_sys are unchanged in this patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples2008-10-10
| | | | | | | | | | | mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
* Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples2008-03-25
it easier to share init and conf files per OS.