summaryrefslogtreecommitdiff
path: root/src/rc/rc.c
Commit message (Collapse)AuthorAge
...
* 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.
* Fix another leak.Roy Marples2008-04-29
|
* Add rc_program function which uses fork and signal masking to try and ↵Roy Marples2008-04-28
| | | | resolve the waitpid issue, Gentoo #219179.
* Check we have a list before running depends.Roy Marples2008-04-26
|
* Cast to unsigned char for ctype calls.Roy Marples2008-04-17
|
* rc_runlevel is now the preferred kernel commandline option for choosing ↵Roy Marples2008-04-08
| | | | default runlevel.
* Some systems are only detectable after /proc is mounted, so re-test if unknown.Roy Marples2008-04-06
|
* Increase pidstr size to 10 chars.Roy Marples2008-04-06
|
* Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples2008-03-28
| | | | The application may not wish this behaviour and should fork/exec the service itself.
* Add license blurb to a few files and append my email to my name.Roy Marples2008-03-26
|
* If we have coldplugged services, but no start_services, we need to create a ↵Roy Marples2008-03-26
| | | | new list for start_services.
* Fix segfault when no coldplugged services, thanks to Daijo.Roy Marples2008-03-24
|
* Fix coldplug disabling.Roy Marples2008-03-24
|
* Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples2008-03-24
|
* add support for automatic gdb launching when RC_DEBUG is defined to 1 to ↵Mike Frysinger2008-03-22
| | | | ease bug reporting / information gathering
* Fix some crashers in a prefix with few services.Roy Marples2008-03-21
|
* ksoftlevel -> krunlevelRoy Marples2008-03-21
|
* Add rc-service and update all softlevel refs to runlevel.Roy Marples2008-03-19
|
* Get going_down and parallel the right away round.Roy Marples2008-03-18
|
* Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples2008-03-17
| | | | from glibc.
* We should check for NULL here.Roy Marples2008-03-17
|
* Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples2008-03-17
| | | | expensive malloc calls.
* rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.Roy Marples2008-03-17
|
* Use correct TAILQ_CONCAT macro when not defined.Roy Marples2008-03-16
|
* Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples2008-03-16
| | | | from queue(3). Refactor code style around the BSD KNF.
* RC_SERVICE now points to the service file, so daemons can recall us directly.Roy Marples2008-03-11
|
* Coldplug net devices on the BSD's as found by getifaddrs.Roy Marples2008-03-11
|
* Test access instead of euid.Roy Marples2008-03-06
|
* Show version similar to gcc.Roy Marples2008-03-05
|
* Style.Roy Marples2008-03-05
|
* Inform plugins when we exit if on signal.Roy Marples2008-03-04
|
* Fix compile on Linux.Roy Marples2008-03-03
|
* Split VPS into VSERVER and OPENVZRoy Marples2008-03-03
|