Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-30 | Code style fixes | Christian Ruppert | |
2011-12-30 | Compare stricter in proc_getent | Christian Ruppert | |
The new proc_getent compares stricter so that e.g. "ro" doesn't match root=/dev/sdaN anymore. So it has to be either "ro" or "ro=". | |||
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-05-28 | rc: delete now unused local "i" variable | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-02-16 | new implementation of applet option | William Hubbs | |
This reworks the implementation of the --applet option so that it is processed in run_applets() and does not require two calls to the getopts_long() function. It is based on code by Robin Johnson and Chris Richards. X-Gentoo-Bug: 351712 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=351712 | |||
2011-02-14 | make version option common | William Hubbs | |
This reworks the code for the version option so that it is part of the parser loop and is a common option to all applets. | |||
2011-01-17 | Style fix: "if (" not "if(". | Robin H. Johnson | |
2011-01-17 | Better error checking of argc for --applet call. | Robin H. Johnson | |
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2011-01-17 | Bug #351712: Implement --applet selection mode for SELinux wrappers. | Robin H. Johnson | |
In addition to detecting what multicall applet we want via argv[0], provide an explicit override mode with a --applet initial argument. 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-03-26 | Fix -s and -S. | 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-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 | Avoid more gcc warning about not checking return values ... | Roy Marples | |
2009-04-27 | Add the noshutdown keyword to special case the shutdown. | Roy Marples | |
2009-04-27 | Fix the nstop keyword. | Roy Marples | |
2009-04-26 | Add the nostop keyword so that we don't stop the network init script by default. | Roy Marples | |
2009-04-26 | Use /bin/bash or user shell in /etc/passwd if none set before /bin/sh. | Roy Marples | |
2009-04-24 | Don't drop to sulogin by default, but make this configurable. | Roy Marples | |
2009-04-24 | Allow rc to start (optionally stop) crashed services, #120 | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-01-18 | noinit makes more sense than noinitd | Roy Marples | |
2009-01-13 | yes should be YES | Roy Marples | |
2009-01-13 | Don't allow SYSVINIT parameters through anymore. | Roy Marples | |
RC_REBOOT is now yes when rebooting. Document the special reboot runlevel. | |||
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-02 | Fix compile, #136 | Roy Marples | |
2008-12-21 | Allow rc_runlevel/softlevel to set runlevel from kernel commandline. | Roy Marples | |
2008-12-13 | Store interactive mode after sysinit, #128 thanks to Matthias Schwarzott. | Roy Marples | |
2008-12-04 | runlevel override works correctly again. | Roy Marples | |
2008-12-01 | Include hotplugged services in our start list. | Roy Marples | |
2008-11-28 | Ignore interupts when waiting for processes to finish. Also, style fixes. | Roy Marples | |
2008-11-04 | We start off in sysinit correctly. | Roy Marples | |
2008-11-03 | No need for NULL here. | Roy Marples | |
2008-11-03 | We shouldn't run halt.sh anymore. | 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-27 | Style. | Roy Marples | |
2008-10-27 | Remove sysvinit specific code. | Roy Marples | |
The runlevels shutdown, reboot, sysinit and single should be called by init(8) and shutdown(8) and not manually. sysvinit users will have to add sulogin to their inittab to secure the console. | |||
2008-10-16 | Include sysinit services even in single user. | Roy Marples | |
2008-10-10 | Re-evaluate sys after running initsh. | Roy Marples | |
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-10-06 | #ifdef atexit cleanups calling free as the OS should do this for us, but ↵ | Roy Marples | |
valgrind debuggers need it. | |||
2008-10-01 | Add an env var so plugins know when leaving single means the end, or start ↵ | Roy Marples | |
the default level. | |||
2008-10-01 | Correcly call the right runlevel for plugins when shutting down. | Roy Marples | |
2008-09-27 | When stopping services, check the newlevel if given otherwise the current ↵ | Roy Marples | |
runlevel. Fixes #100. | |||
2008-09-18 | Use the new rc_stringlist_find function. | Roy Marples | |