aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
AgeCommit message (Collapse)Author
2008-11-27Not needed.Roy Marples
2008-11-27Switch from select to poll and improve the no prefixing of eend calls.Roy Marples
2008-11-23Don't warn about waiting for services marked as notimeout, Gentoo #247306.Roy Marples
2008-11-03Add 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-30We no longer hotplug by default.Roy Marples
2008-10-10Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵Roy Marples
services. Makes things much easier.
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy 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-08Clean up warnings regarding printf.Roy Marples
2008-10-06#ifdef atexit cleanups calling free as the OS should do this for us, but ↵Roy Marples
valgrind debuggers need it.
2008-09-27Use flock to lock PREFIX_LOCK so that multiple processes can cleanly write ↵Roy Marples
to the same tty.
2008-09-27Warn when waiting for a service every few seconds.Roy Marples
2008-09-18Use the new rc_stringlist_find function.Roy Marples
2008-09-18Clean up some compile warnings.Roy Marples
2008-06-10When we have dependant scheduled services, don't error if a need is stopped.Roy Marples
2008-05-12The real fix for the last commit is to uncomment some code - d'oh.Roy Marples
2008-05-12When stopping, stop services that need our provide as well, #79.Roy Marples
2008-05-12Check we have a deptree before using it, Gentoo #220579Roy Marples
2008-04-29Tweak the last commit and fix a valgrind error.Roy Marples
2008-04-29We need to ensure that the init script started is correct, translating ↵Roy Marples
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.
2008-04-27Don't re-start or re-stop failed services if runlevel is changing.Roy Marples
2008-04-26Check we have a list before running depends.Roy Marples
2008-04-21If we don't have permission to inspect the pidfile, don't report crashed. ↵Roy Marples
Gentoo #218028.
2008-04-08Give an error when running zap as a generic user.Roy Marples
2008-04-06Increase pidstr size to 10 chars.Roy Marples
2008-04-04Check list existance before iterating, Gentoo #216091.Roy Marples
2008-03-28Remove rc_service_start/stop from librc as they block and unmask signals. ↵Roy Marples
The application may not wish this behaviour and should fork/exec the service itself.
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-21Fix some crashers in a prefix with few services.Roy Marples
2008-03-21euid 0 should always be able to find pids too.Roy Marples
2008-03-21Only test crashed services if we can see pid 1.Roy Marples
2008-03-19SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.Roy Marples
2008-03-19Fix errors when reporting who we are scheduled by.Roy Marples
2008-03-17Fix some tests on FreeBSD.Roy Marples
2008-03-17We should check for NULL here.Roy Marples
2008-03-17Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples
expensive malloc calls.
2008-03-16Use correct TAILQ_CONCAT macro when not defined.Roy Marples
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-06Test access instead of euid.Roy Marples
2008-03-04When stopping localmount, set LC_ALL=C so bash doesn't lock /usr.Roy Marples
2008-03-02Don't check for root in prefix.Roy Marples
2008-02-28close fd doesn't seem good enough - whereas fcntl does the job.Roy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-19Fix an off-by-one error.Roy Marples
2008-02-19keywords -> keywordRoy Marples
2008-02-03RC_DEP_START/STOP should only be used for ordering services, and not the ↵Roy Marples
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.
2008-02-02Block signals to avoid fork /signal races.Roy Marples
2008-02-01Constantise as much as possible so that it reduces COW usage.Roy Marples
2008-02-01Use sigaction over signal.Roy Marples
2008-01-31Fix up deps for new scripts.Roy Marples
2008-01-22Quiet some more lint warnings.Roy Marples