aboutsummaryrefslogtreecommitdiff
path: root/src/rc
AgeCommit message (Collapse)Author
2008-07-02Fix compile with pcc.Roy Marples
2008-06-30Ignore ewaitfile.Roy Marples
2008-06-30If filtering fstab, only match additional mounts asked for.Roy Marples
2008-06-19Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples
2008-06-17open should use 3 args when using O_CREAT.Roy Marples
2008-06-10When we have dependant scheduled services, don't error if a need is stopped.Roy Marples
2008-06-04Include time headers for ewaitfile.Roy Marples
2008-06-03Add the ewaitfile function so init scripts can wait until sockts are ↵Roy Marples
created, Gentoo #175783.
2008-05-27Be quiet when checking at start.Roy Marples
2008-05-27When stopping with a pidfile, only read the pid once incase it vanishes but ↵Roy Marples
the process still hangs around.
2008-05-13Install symlinks correctly, thanks to zlin.Roy Marples
2008-05-12When testing services to stop, we should trace it. More for #79.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-05-12Fix help text, #75.Roy Marples
2008-05-12Don't report fstab passno of 0 when using greater or less than, #76.Roy Marples
2008-05-10Only launch single user when RUNLEVEL == S, #74.Roy Marples
2008-05-07Simplify the wait code.Roy Marples
2008-05-06Fix the EINTR check for waitpid, Gentoo #219929.Roy Marples
2008-05-06We don't need to handle SIGWINCH in sysinit, so this should fix loading a ↵Roy Marples
framebuffer module in init.sh (Gentoo #219929. Ideally someone should tell me why this is happening and if there is a better fix.
2008-04-29Fix another leak.Roy 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-28Add rc_program function which uses fork and signal masking to try and ↵Roy Marples
resolve the waitpid issue, Gentoo #219179.
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-21Add RC_TMPDIR so that there's a writeable location during boot.Roy Marples
2008-04-19Add help for mountargs, #63Roy Marples
2008-04-17Cast to unsigned char for ctype calls.Roy Marples
2008-04-17Fix rc-status some more.Roy Marples
2008-04-16Only report unassigned services when there are any, Gentoo #218005.Roy Marples
2008-04-15Add help text for rc-service --resole.Roy Marples
2008-04-09By default, rc-status now shows the statuses of the services in the current ↵Roy Marples
runlevel and any unassigned non stopped services, #52.
2008-04-08Give an error when running zap as a generic user.Roy Marples
2008-04-08rc_runlevel is now the preferred kernel commandline option for choosing ↵Roy Marples
default runlevel.
2008-04-07Fix rc-service --help output.Roy Marples
2008-04-06Some systems are only detectable after /proc is mounted, so re-test if unknown.Roy Marples
2008-04-06Increase pidstr size to 10 chars.Roy Marples
2008-04-06p could be null here.Roy Marples
2008-04-04Check list existance before iterating, Gentoo #216091.Roy Marples
2008-03-28Put some dir locations in rc.h so that 3rd party apps can become awware of them.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-26Fix a segfault if rc.conf does not exist, Gentoo #214887Roy Marples
2008-03-26Add --exists and --resolve to rc-service.Roy Marples
2008-03-26If we have coldplugged services, but no start_services, we need to create a ↵Roy Marples
new list for start_services.
2008-03-25Fix exclusive removal.Roy Marples
2008-03-24Fix segfault when no coldplugged services, thanks to Daijo.Roy Marples