Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-04 | remove unnecessary shell calls | William Hubbs | |
The main makefile, init.d/Makefile and src/librc/Makefile all contain several shell calls which can be handled as make conditionals. This switches them to conditionals. | |||
2011-01-31 | use immediate evaluation for shell calls | William Hubbs | |
This reworks the shell calls in the makefiles to use immediate evaluation and should improve parallel building. X-Gentoo-Bug: 289264 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264 | |||
2011-01-17 | librc: delete trailing newlines | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Document that rc_sys_v{1,2} should not be used outside of OpenRC. | Robin H. Johnson | |
2011-01-17 | Bug #351570: Fix hidden functions visibility for rc_deptree_load_file. | Robin H. Johnson | |
2011-01-17 | Bug #351570: Hidden function fixes: rc_conf_value. | Robin H. Johnson | |
Refactor rc_conf_value into librc for use in library context. Also requires moving: - rc_conf internal static - Defines: PROFILE_ENV, SYS_WHITELIST, USR_WHITELIST, RC_PATH_PREFIX moved to rc.h with new RC_ prefix added. - Defines: RC_CONF, RC_CONF_OLD moved to rc.h. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2011-01-17 | Style fix: "char *foo" not "char* foo". | Robin H. Johnson | |
2011-01-17 | Style fix: /* */ comments not // comments. | Robin H. Johnson | |
2011-01-17 | Style fix: "while (" not "while(". | Robin H. Johnson | |
2011-01-17 | Style fix: "if (" not "if(". | 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. | |||
2011-01-05 | Make sure old rc_sys code never runs if the rc_sys variable exists. | Robin H. Johnson | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2011-01-05 | Remove broken automatic LXC subsystem detection. | Robin H. Johnson | |
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> | |||
2011-01-05 | Implement explicit selection of subsystem types. | Robin H. Johnson | |
- 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> | |||
2010-01-08 | random spelling fixes | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-11-14 | Only allow one service to be provided by default. | Roy Marples | |
Fixes Gentoo #293139. | |||
2009-11-04 | Add support for Linux Containers, fixes #202. | Roy Marples | |
Patch by bug reporter. | |||
2009-09-21 | Don't quote opts | Roy Marples | |
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-06-21 | Use rc_getline instead of assuming a fixed kernel cmdline length. | Roy Marples | |
This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177. | |||
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-05 | Fix compile on NetBSD | Roy Marples | |
2009-05-02 | Add runlevel stacking, #88 | Roy Marples | |
This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-30 | Go back to git | Roy Marples | |
2009-04-28 | Don't start services when their need dependency is broken | Roy Marples | |
2009-04-25 | Use kill for the pid check as it's fast. | Roy Marples | |
2009-04-24 | We should match the full variable name. | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-02-28 | Set errno when service does not exist better. | Roy Marples | |
2009-02-12 | Fix return value for tests. | Roy Marples | |
2009-01-29 | Clean up some compiler warnings. | 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 | |||
2009-01-12 | Copyright | Roy Marples | |
2009-01-12 | Use snprintf instead of strlcpy to save on size if not available. | Roy Marples | |
2008-12-04 | Punt .gitignore files. | Roy Marples | |
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-09-22 | We don't check exec when starting, so don't when testing for crashed. | Roy Marples | |
2008-09-19 | Fix stopping wpa_supplicant incorrectly, #107 | Roy Marples | |
2008-09-18 | Add missing profile bits to env, #72. | Roy Marples | |
2008-09-18 | Work with NULL lists. | Roy Marples | |
2008-09-18 | Add new functions, rc_stringlist_find and rc_stringlist_split. | Roy Marples | |
2008-08-19 | Add new OpenVZ detection code | Roy Marples | |