summaryrefslogtreecommitdiff
path: root/init.d/sysfs.in
Commit message (Collapse)AuthorAge
* efivarfs: Support EFI variable access in 3.10 kernels.Robin H. Johnson2013-06-24
| | | | | | | In the 3.10 kernel, EFI variables are now provided by a dedicated filesystem that needs to be mounted. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Fix shebangs in services to point to the correct location of runscriptAndrew Gregory2013-02-23
| | | | | | | | 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>
* sysfs: mount the fusectl file systemWilliam Hubbs2013-02-01
| | | | | | Reported-by: vapier@gentoo.org X-Gentoo-Bug: 453740 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=453740
* sysfs: add -lxc keywordWilliam Hubbs2012-10-02
| | | | | | | | The sysfs filesystem should not be mounted inside a linux container. Reported-by: permeakra@gmail.com X-Gentoo-Bug: 425790 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=425790
* 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.
* Cgroups: do not update mtab when mounting control groupsWilliam Hubbs2012-01-27
| | | | | | | | | | This is based on a patch submitted by the reporter; however, there was another mount command which needed -n as well so it was added to the patch. Reported-by: Ben Kohler <bkohler@gmail.com> X-Gentoo-Bug: 400967 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400967
* cgroups: make sure /sys/fs/cgroup is a mount pointWilliam Hubbs2012-01-26
| | | | | | | | | We need to make sure this directory is a mount point before we add the control groups. Reported-by: Andrej Filipcic <andrej.filipcic@ijs.si> X-Gentoo-Bug: 400903 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400903
* Cgroups: activate the openrc control group release agentWilliam Hubbs2012-01-23
|
* Cgroups: create openrc control groupWilliam Hubbs2012-01-23
| | | | | This creates the "openrc" control group with no subsystems attached. The next step will be to add everything openrc starts to this group.
* cgroups: turn on groups by defaultWilliam Hubbs2012-01-05
| | | | | | The control groups we create are the ones recommended by the linux kernel, so this should be on most of the time if cgroups are enabled in the kernel.
* cgroups: default the size of the tmpfs to 10 mbWilliam Hubbs2011-12-29
|
* cgroups: always mount the tmpfs on /sys/fs/cgroupWilliam Hubbs2011-12-20
| | | | | X-Gentoo-Bug:395079 X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=395079
* 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: remove references to the "openrc" cgroupWilliam Hubbs2011-12-19
| | | | Openrc will set up cgroups the way the kernel documentation recommends.
* cgroups: mount cgroups suggested by the kernel documentationWilliam Hubbs2011-12-18
| | | | | | The linux kernel documentation suggests mounting a separate cgroup hierarchy for each subsystem you want to control/monitor. This changes the cgroups mounting code to do this.
* 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.
* CGroups: /sys/fs/cgroups should be a tmpfsWilliam Hubbs2011-11-18
| | | | | | | | | | | The kernel documentation states that a cgroup file system should not be mounted here, but a tmpfs. This also means that we should not create a group for each process, but we should allow the user to specify which group a process should be assigned to. The rc_cgroup variable will be used for this purpose. For more information, see /usr/src/linux/Documentation/cgroups/cgroups.txt.
* Add support for automounting configfs and cgroupfsAlexey Shvetsov2011-10-26
| | | | Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* We should use -feature instead of nofeature.Roy Marples2009-07-01
| | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Style.Roy Marples2009-04-27
|
* dmesg and sysfs won't work in a vserver, #137 thanks to Hollow.Roy Marples2009-01-01
|
* We should not update mtab here.Roy Marples2008-11-04
|
* 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.