aboutsummaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2015-05-22Document bash's handling of ulimit optionsWilliam Hubbs
When bash is used in posix mode for the shell, the ulimit command uses a block size of 512 bytes for the -c and -f options. X-Gentoo-Bug: 549238 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=549238
2015-05-11Rework supervisor integration frameworkWilliam Hubbs
The original way of doing this allowed users to change the supervisor in conf.d/*. This changes this so that the supervisor setup can be done in the service script itself.
2015-05-08The rc_supervisor variable is a service configuration variableWilliam Hubbs
This variable should not be changed globally unless you really know what you are doing.
2015-05-08Make the default start, stop and status functions overridableWilliam Hubbs
This will make it possible to add support for supervision suites such as runit and s6.
2015-05-01Add support for systemd-nspawn containersWilliam Hubbs
This adds support for running OpenRC in a container created by the systemd-nspawn utility. This fixes #52. X-Gentoo-Bug: 548058 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
2014-12-07etc/rc and etc/rc.shutdown: change references from rc to openrcWilliam Hubbs
2014-10-23add missing files for GNU/HurdSvante Signell
2014-08-11rc.conf: document rc_verboseWilliam Hubbs
2014-03-14rc.conf: typo fixWilliam Hubbs
2014-03-09rc.conf: document rc_nocolor settingWilliam Hubbs
2013-12-08rc.conf: Sync list of network file systems with actual defaultsWilliam Hubbs
I would like to thank Aaron Ten Clay <aarontc@aarontc.com> for pointing this out; this is based on a patch he submitted. X-Gentoo-Bug: 491384 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=491384
2013-10-30Begin port to GNU/kFreeBSDSteven Chamberlain
This is just a minimal port to get Debian up and running; the rest will be done later.
2013-07-25Add support for DragonFly BSDGary
2013-04-25add cgroup cleanup supportAlexander Vershilov
This adds the ability to kill all processes within a service's cgroup when that service is stopped or restarted.
2013-03-12config: move rc_fuser_timeout to rc.confWilliam Hubbs
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.
2013-03-12Make fuser command time outWilliam Hubbs
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
2013-02-19cgroups: major update to cgroups supportWilliam Hubbs
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.
2013-02-17cgroups: remove comment about suspend for cpu_shares settingWilliam Hubbs
2013-02-16cgroups: document kernel requirement for cpu controller settingsWilliam Hubbs
2012-12-03Typo FixWilliam Hubbs
2012-11-12Support cpu usage management for LinuxAlexander Vershilov
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}.
2012-11-07checkbashisms: clean up export statements.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-10-30Expand the documentation for service configuration variablesWilliam Hubbs
The original documentation for these variables did not give an example of what to do if the service had a name that had illegal characters in it, so this commit adds an example. There was no bug report; this was suggested by Tobias Klausmann.
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-07-03cgroups: allow users to turn off creation of controller cgroupsWilliam Hubbs
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
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.
2012-02-20Drop rc_sys definition from build systemWilliam Hubbs
2012-02-13Revert "Remove rc_parallel from rc.conf"William Hubbs
This reverts commit 695f3886fb2d255e64387ce780be3c1cbc170fa9. Reported-by: Pacho Ramos <pacho@gentoo.org> X-Gentoo-Bug: 400741 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400741
2012-01-05cgroups: hide configure option to turn off cgroupsWilliam Hubbs
Turning off the default cgroups is possible, but these groups are the recommended setup from the kernel, so turning them off is highly discouraged.
2011-12-20add rc_cgroup option to allow disabling of cgroup default setupPiotr Karbowski
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
2011-11-26Remove rc_parallel from rc.confWilliam Hubbs
rc_parallel has never been considered a stable feature of openrc. To that end, I am removing the documentation for this feature from rc.conf. It is still available, but bugs against it are not considered stable blockers, and it should only be used currently by developers and users who are willing to test the feature. X-Gentoo-Bug: 391945 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=391945
2011-11-20CGroups: create the openrc cgroup hierarchyWilliam Hubbs
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.
2011-11-17Change RC_CGROUP to lower caseWilliam Hubbs
2011-11-17Add CGroup supportPatrick Lauer
X-Gentoo-Bug: 390297 X-Gentoo-Bug: http://bugs.gentoo.org/show_bug.cgi?id=390297
2011-10-20further clean up OS differences in makefilesMike Frysinger
No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-10-19Make variable references in Makefiles consistentWilliam Hubbs
Some variable references were written as $(foo), but the majority were written as ${foo}. This commit changes all of the variable references to using braces.
2011-10-18consolodate MakefilesWilliam Hubbs
The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
2011-07-06rc_log_path should be quotedWilliam Hubbs
2011-07-06Rename rc_logger_path to rc_log_pathChristian Ruppert
2011-07-06Document the new rc_logger_path optionChristian Ruppert
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-18make rc_sys system specificWilliam Hubbs
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
2011-03-21update documentation for rc_sysWilliam Hubbs
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
2011-03-14rc_sys: let default behavior be automagicMike Frysinger
The default rc_sys behavior was changed to always require manual intervention by users. This pretty much breaks all of the diff system variants out there if people don't explicitly edit their rc.conf file ahead of time. We should have things work "out of the box" as much as possible and reasonable. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/357247 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-05remove references to the migration guideWilliam Hubbs
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.
2011-03-05allow default rc_sys value to be set at build timeWilliam Hubbs
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
2011-03-03fix typoWilliam Hubbs
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-16Bug #351783: more documentation for rc_sys. But really see the OpenRC ↵Robin H. Johnson
migration guide where this is covered.
2011-01-13bug 351523: fix deprecation date for rc_sysWilliam Hubbs
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.