summaryrefslogtreecommitdiff
path: root/src/librc
Commit message (Collapse)AuthorAge
...
* Make sure old rc_sys code never runs if the rc_sys variable exists.Robin H. Johnson2011-01-05
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Remove broken automatic LXC subsystem detection.Robin H. Johnson2011-01-05
| | | | | | | | | | | Any system using cgroups was being detected as an LXC system. This was triggering on OpenVZ under RHEL6 as well as the "automated per tty task groups" as discussed on the LKML. All LXC users should now switch to the new rc_sys variable introduced in the previous patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* 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>
* random spelling fixesMike Frysinger2010-01-08
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Only allow one service to be provided by default.Roy Marples2009-11-14
| | | | Fixes Gentoo #293139.
* Add support for Linux Containers, fixes #202.Roy Marples2009-11-04
| | | | Patch by bug reporter.
* Don't quote optsRoy Marples2009-09-21
|
* Don't provide ourself, fixes #190Roy Marples2009-07-20
|
* 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.
* Use rc_getline instead of assuming a fixed kernel cmdline length.Roy Marples2009-06-21
| | | | | | This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177.
* Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples2009-05-23
| | | | | | | | OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
* Fix compile on NetBSDRoy Marples2009-05-05
|
* Add runlevel stacking, #88Roy Marples2009-05-02
| | | | | This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Go back to gitRoy Marples2009-04-30
|
* Don't start services when their need dependency is brokenRoy Marples2009-04-28
|
* Use kill for the pid check as it's fast.Roy Marples2009-04-25
|
* We should match the full variable name.Roy Marples2009-04-24
|
* Improve style for KNFRoy Marples2009-04-23
|
* Set errno when service does not exist better.Roy Marples2009-02-28
|
* Fix return value for tests.Roy Marples2009-02-12
|
* Clean up some compiler warnings.Roy Marples2009-01-29
|
* rc_newer/older_than only report file if time_t is a pointer, so itRoy Marples2009-01-13
| | | | | should take precedence in the argument list.
* We now warn about clock skewsRoy Marples2009-01-12
| | | | | | rc-update -u will force a regen of the dep tree rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime
* CopyrightRoy Marples2009-01-12
|
* Use snprintf instead of strlcpy to save on size if not available.Roy Marples2009-01-12
|
* Punt .gitignore files.Roy Marples2008-12-04
|
* Ignore after dependencies for shutdown when not in the runlevel.Roy Marples2008-11-04
|
* Avoid depends not in the runlevel for sysinit and shutdown.Roy Marples2008-11-03
|
* Add a new shutdown runlevel, Gentoo #224537.Roy Marples2008-11-03
| | | | | | | Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package.
* Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵Roy Marples2008-10-10
| | | | services. Makes things much easier.
* 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.
* We don't check exec when starting, so don't when testing for crashed.Roy Marples2008-09-22
|
* Fix stopping wpa_supplicant incorrectly, #107Roy Marples2008-09-19
|
* Add missing profile bits to env, #72.Roy Marples2008-09-18
|
* Work with NULL lists.Roy Marples2008-09-18
|
* Add new functions, rc_stringlist_find and rc_stringlist_split.Roy Marples2008-09-18
|
* Add new OpenVZ detection codeRoy Marples2008-08-19
|
* Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵Roy Marples2008-07-27
| | | | maybe working better with interpreted scripts.
* Punt STAILQ and just use TAILQ so we're a bit more portable.Roy Marples2008-07-07
|
* Add older_than function to complement newer_than function. Also make the ↵Roy Marples2008-07-03
| | | | userland instance reversed to be compatable with current baselayout, which truely does suck.
* Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples2008-06-19
|
* fuzzy dependency ordering should be started, starting, stopped whilst ↵Roy Marples2008-06-10
| | | | checking runlevel, bootlevel, any at each stage.
* No need to include this.Roy Marples2008-06-05
|
* Remove broken before dependencies, Gentoo #224171.Roy Marples2008-06-05
|
* Use addu instead of another loop.Roy Marples2008-06-04
|
* Only add a backreference if it doesn't already exist.Roy Marples2008-06-04
|
* No need to check type twice like this.Roy Marples2008-06-04
|
* Style.Roy Marples2008-06-04
|
* realloc -> xreallocRoy Marples2008-05-19
|