summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
Commit message (Collapse)AuthorAge
...
* Warn about stopping sysinit services, thanks to Matthias Schwarzott. Fixes #126.Roy Marples2008-12-11
|
* Not needed.Roy Marples2008-11-27
|
* Switch from select to poll and improve the no prefixing of eend calls.Roy Marples2008-11-27
|
* Don't warn about waiting for services marked as notimeout, Gentoo #247306.Roy Marples2008-11-23
|
* 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.
* We no longer hotplug by default.Roy Marples2008-10-30
|
* 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.
* Clean up warnings regarding printf.Roy Marples2008-10-08
|
* #ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples2008-10-06
| | | | valgrind debuggers need it.
* Use flock to lock PREFIX_LOCK so that multiple processes can cleanly write ↵Roy Marples2008-09-27
| | | | to the same tty.
* Warn when waiting for a service every few seconds.Roy Marples2008-09-27
|
* Use the new rc_stringlist_find function.Roy Marples2008-09-18
|
* Clean up some compile warnings.Roy Marples2008-09-18
|
* When we have dependant scheduled services, don't error if a need is stopped.Roy Marples2008-06-10
|
* The real fix for the last commit is to uncomment some code - d'oh.Roy Marples2008-05-12
|
* When stopping, stop services that need our provide as well, #79.Roy Marples2008-05-12
|
* Check we have a deptree before using it, Gentoo #220579Roy Marples2008-05-12
|
* Tweak the last commit and fix a valgrind error.Roy Marples2008-04-29
|
* We need to ensure that the init script started is correct, translating ↵Roy Marples2008-04-29
| | | | symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526.
* Don't re-start or re-stop failed services if runlevel is changing.Roy Marples2008-04-27
|
* Check we have a list before running depends.Roy Marples2008-04-26
|
* If we don't have permission to inspect the pidfile, don't report crashed. ↵Roy Marples2008-04-21
| | | | Gentoo #218028.
* Give an error when running zap as a generic user.Roy Marples2008-04-08
|
* Increase pidstr size to 10 chars.Roy Marples2008-04-06
|
* Check list existance before iterating, Gentoo #216091.Roy Marples2008-04-04
|
* 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
|
* Fix some crashers in a prefix with few services.Roy Marples2008-03-21
|
* euid 0 should always be able to find pids too.Roy Marples2008-03-21
|
* Only test crashed services if we can see pid 1.Roy Marples2008-03-21
|
* SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.Roy Marples2008-03-19
|
* Fix errors when reporting who we are scheduled by.Roy Marples2008-03-19
|
* Fix some tests on FreeBSD.Roy Marples2008-03-17
|
* 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.
* 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.
* Test access instead of euid.Roy Marples2008-03-06
|
* When stopping localmount, set LC_ALL=C so bash doesn't lock /usr.Roy Marples2008-03-04
|
* Don't check for root in prefix.Roy Marples2008-03-02
|
* close fd doesn't seem good enough - whereas fcntl does the job.Roy Marples2008-02-28
|
* Welcome to 2008.Roy Marples2008-02-22
|
* Fix an off-by-one error.Roy Marples2008-02-19
|
* keywords -> keywordRoy Marples2008-02-19
|
* RC_DEP_START/STOP should only be used for ordering services, and not the ↵Roy Marples2008-02-03
| | | | actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
* Block signals to avoid fork /signal races.Roy Marples2008-02-02
|
* Constantise as much as possible so that it reduces COW usage.Roy Marples2008-02-01
|
* Use sigaction over signal.Roy Marples2008-02-01
|
* Fix up deps for new scripts.Roy Marples2008-01-31
|