summaryrefslogtreecommitdiff
path: root/src/rc/rc.c
Commit message (Collapse)AuthorAge
* Style fix: "if (" not "if(".Robin H. Johnson2011-01-17
|
* Better error checking of argc for --applet call.Robin H. Johnson2011-01-17
|
* Clean up all trailing whitespace in src/.Robin H. Johnson2011-01-17
|
* Bug #351712: Implement --applet selection mode for SELinux wrappers.Robin H. Johnson2011-01-17
| | | | | | | 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>
* 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>
* Fix -s and -S.Roy Marples2010-03-26
|
* 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.
* 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
|
* Avoid more gcc warning about not checking return values ...Roy Marples2009-04-30
|
* Add the noshutdown keyword to special case the shutdown.Roy Marples2009-04-27
|
* Fix the nstop keyword.Roy Marples2009-04-27
|
* Add the nostop keyword so that we don't stop the network init script by default.Roy Marples2009-04-26
|
* Use /bin/bash or user shell in /etc/passwd if none set before /bin/sh.Roy Marples2009-04-26
|
* Don't drop to sulogin by default, but make this configurable.Roy Marples2009-04-24
|
* Allow rc to start (optionally stop) crashed services, #120Roy Marples2009-04-24
|
* Improve style for KNFRoy Marples2009-04-23
|
* noinit makes more sense than noinitdRoy Marples2009-01-18
|
* yes should be YESRoy Marples2009-01-13
|
* Don't allow SYSVINIT parameters through anymore.Roy Marples2009-01-13
| | | | | | RC_REBOOT is now yes when rebooting. Document the special reboot runlevel.
* 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
* Fix compile, #136Roy Marples2009-01-02
|
* Allow rc_runlevel/softlevel to set runlevel from kernel commandline.openrc-0.4.1Roy Marples2008-12-21
|
* Store interactive mode after sysinit, #128 thanks to Matthias Schwarzott.Roy Marples2008-12-13
|
* runlevel override works correctly again.Roy Marples2008-12-04
|
* Include hotplugged services in our start list.Roy Marples2008-12-01
|
* Ignore interupts when waiting for processes to finish. Also, style fixes.Roy Marples2008-11-28
|
* We start off in sysinit correctly.Roy Marples2008-11-04
|
* No need for NULL here.Roy Marples2008-11-03
|
* We shouldn't run halt.sh anymore.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.
* Style.Roy Marples2008-10-27
|
* Remove sysvinit specific code.Roy Marples2008-10-27
| | | | | | | | 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.
* Include sysinit services even in single user.Roy Marples2008-10-16
|
* Re-evaluate sys after running initsh.Roy Marples2008-10-10
|
* 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.
* #ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples2008-10-06
| | | | valgrind debuggers need it.
* Add an env var so plugins know when leaving single means the end, or start ↵Roy Marples2008-10-01
| | | | the default level.
* Correcly call the right runlevel for plugins when shutting down.Roy Marples2008-10-01
|
* When stopping services, check the newlevel if given otherwise the current ↵Roy Marples2008-09-27
| | | | runlevel. Fixes #100.
* Use the new rc_stringlist_find function.Roy Marples2008-09-18
|
* rc_nostop now lists services we should not stop on shutdown.Roy Marples2008-09-18
|
* Clean up some compile warnings.Roy Marples2008-09-18
|
* When testing services to stop, we should trace it. More for #79.Roy Marples2008-05-12
|
* Only launch single user when RUNLEVEL == S, #74.Roy Marples2008-05-10
|
* Fix the EINTR check for waitpid, Gentoo #219929.Roy Marples2008-05-06
|
* We don't need to handle SIGWINCH in sysinit, so this should fix loading a ↵Roy Marples2008-05-06
| | | | framebuffer module in init.sh (Gentoo #219929. Ideally someone should tell me why this is happening and if there is a better fix.