Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-21 | librc: Complain when a real and virtual service have the same name | William Hubbs | |
2016-01-19 | librc: move system detection code into rc_sys and use it | Doug Freed | |
This fixes an issue where librc code was calling code that only existed in the rc binary. This reverts commits 8addd79 and 9f6e056 This fixes #75. | |||
2016-01-18 | Revert "librc: fix librc-depend functions to call rc_sys" | William Hubbs | |
This reverts commit 73482cf13a338051606788957cbd0031ac850c70. | |||
2016-01-18 | librc: fix librc-depend functions to call rc_sys | William Hubbs | |
2015-12-21 | Convert OpenRC to a centralized copyright/license structure | William Hubbs | |
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html | |||
2015-12-08 | Convert rc_sys() calls to detect_container() and detect_vm() | William Hubbs | |
2015-11-12 | Implement "want" dependency | Ian Stakenvicius | |
The want dependency is similar to the use dependency. If a service script, for example called service1, adds "want service2" to its depend function, OpenRC will attempt to start service2, if it exists on the system, when service1 is started. However, service1 will start regardless of the status of service2. X-Gentoo-Bug: 406021 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406021 | |||
2014-10-23 | Bundle <sys/queue.h> from NetBSD | Anthony G. Basile | |
We are bundling this to allow building on musl-based systems since musl does not include <sys/queue.h>. | |||
2013-10-04 | librc: fix off-by-one bug | Natanael Copa | |
We need allocate space for both the added leading '-' and the trailing '\0'. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | |||
2012-10-04 | set the RC_UNAME environment variable when updating dependencies | William Hubbs | |
This is needed because the network script uses this variable in the depend() function but it wasn't exported when this was run. Reported-by: <aaly90@gmail.com> | |||
2012-04-26 | Reduce overhead by leaving rc_deptree_update_needed() as soon as possible | Christian Ruppert | |
There's no need to check any further if we're returning true anyway. Signed-off-by: Christian Ruppert <idl0r@gentoo.org> | |||
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-06-28 | Use RC_CONF instead of the hardcoded /etc/rc.conf | Christian Ruppert | |
2011-05-28 | librc: tweak style: foo () -> foo() | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-04-09 | typo fix | William Hubbs | |
X-Gentoo-Bug: 217999 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=217999 | |||
2011-01-17 | Bug #351570: Fix hidden functions visibility for rc_deptree_load_file. | Robin H. Johnson | |
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2011-01-17 | Factor out new function rc_deptree_load_file to aid in debugging deptree ↵ | Robin H. Johnson | |
files from users. Loads from a given filename instead of the hardcoded RC_DEPTREE_CACHE define. | |||
2009-11-14 | Only allow one service to be provided by default. | Roy Marples | |
Fixes Gentoo #293139. | |||
2009-07-20 | Don't provide ourself, fixes #190 | Roy Marples | |
2009-07-01 | We should use -feature instead of nofeature. | Roy Marples | |
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178. | |||
2009-05-23 | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | |
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. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-28 | Don't start services when their need dependency is broken | Roy Marples | |
2009-02-12 | Fix return value for tests. | Roy Marples | |
2009-01-13 | rc_newer/older_than only report file if time_t is a pointer, so it | Roy Marples | |
should take precedence in the argument list. | |||
2009-01-12 | We now warn about clock skews | Roy Marples | |
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 | |||
2008-11-04 | Ignore after dependencies for shutdown when not in the runlevel. | Roy Marples | |
2008-11-03 | Avoid depends not in the runlevel for sysinit and shutdown. | Roy Marples | |
2008-11-03 | Add a new shutdown runlevel, Gentoo #224537. | Roy Marples | |
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. | |||
2008-10-10 | Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵ | Roy Marples | |
services. Makes things much easier. | |||
2008-10-10 | sysinit is now a real runlevel that handles things like udev, dmesg and | Roy Marples | |
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. | |||
2008-07-07 | Punt STAILQ and just use TAILQ so we're a bit more portable. | Roy Marples | |
2008-07-03 | Add older_than function to complement newer_than function. Also make the ↵ | Roy Marples | |
userland instance reversed to be compatable with current baselayout, which truely does suck. | |||
2008-06-10 | fuzzy dependency ordering should be started, starting, stopped whilst ↵ | Roy Marples | |
checking runlevel, bootlevel, any at each stage. | |||
2008-06-05 | Remove broken before dependencies, Gentoo #224171. | Roy Marples | |
2008-06-04 | Use addu instead of another loop. | Roy Marples | |
2008-06-04 | Only add a backreference if it doesn't already exist. | Roy Marples | |
2008-06-04 | No need to check type twice like this. | Roy Marples | |
2008-06-04 | Style. | Roy Marples | |
2008-05-12 | The real fix for the last commit is to uncomment some code - d'oh. | Roy Marples | |
2008-04-26 | Check we have a list before running depends. | Roy Marples | |
2008-04-26 | Check we have a list before running depends. | Roy Marples | |
2008-04-21 | Add RC_TMPDIR so that there's a writeable location during boot. | Roy Marples | |
2008-04-17 | Cast to unsigned char for ctype calls. | Roy Marples | |
2008-04-10 | Don't assume that we have a list returned. | Roy Marples | |
2008-03-26 | Add license blurb to a few files and append my email to my name. | Roy Marples | |
2008-03-19 | Fix last commit. | Roy Marples | |
2008-03-17 | Make rc_getline private and save it's buffer so it's sort of like getline ↵ | Roy Marples | |
from glibc. | |||
2008-03-17 | Punt the rc_strcatpaths function and use snprintf instead to save on ↵ | Roy Marples | |
expensive malloc calls. |