aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
AgeCommit message (Collapse)Author
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
2008-01-21Prefer for (;;) over while (1)Roy Marples
2008-01-18Don't enforce a C99 compiler.Roy Marples
2008-01-14strip trailing newlinesMike Frysinger
2008-01-13Remove rc_service_plugable function and make it private as it needs to read ↵Roy Marples
from our config file.
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-09Compile without warnings on NetBSDRoy Marples
2008-01-07rc_getline keeps expanding it's malloced buffer until it has read a whole ↵Roy Marples
line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line.
2008-01-06Set include paths in Makefile instead of .c filesRoy Marples
2008-01-05Add the missing changes from the recent Makefile updatesRoy Marples
2008-01-05Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.