aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc.c
AgeCommit message (Collapse)Author
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-08-19Add new OpenVZ detection codeRoy Marples
2008-06-05No need to include this.Roy Marples
2008-04-08Give an error when running zap as a generic user.Roy Marples
2008-03-28Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrcRoy Marples
2008-03-28Support XEN on NetBSDRoy 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-24Fix adding services to the boot runlevel, #43Roy Marples
2008-03-24add missing rc_stringlist_new/rc_sys hidden defsMike Frysinger
2008-03-23Fix returning a service descriptions.Roy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-19Fix define nameRoy Marples
2008-03-19Return scheduled services correctly.Roy Marples
2008-03-17Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples
from glibc.
2008-03-17init some vars.Roy Marples
2008-03-17This should be a fixed buffer.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-08d_type is not portable across filesystems.Roy Marples
2008-03-03Split VPS into VSERVER and OPENVZRoy Marples
2008-03-03rc single and rc sysinit don't check sysvinit env vars in prefix.Roy Marples
2008-03-03Introduce LOCAL_PREFIX for a user maintained script location.Roy Marples
2008-03-03Fix prefix test.Roy Marples
2008-03-02If build in a prefix, define the system as prefix.Roy Marples
2008-03-01Fix unused var.Roy Marples
2008-02-28Support the use of PREFIX and PKG_PREFIX.Roy Marples
2008-02-19Fix compile on Linux.Roy Marples
2008-02-19Add the nojail keyword which excludes services marked as such from the ↵Roy Marples
dependency tree when in a jail, #bug 22
2008-02-10Remove unsed varsRoy Marples
2008-02-04Just restore the old set.Roy Marples
2008-02-02Fix fork error message.Roy Marples
2008-02-02OK, we have to use fork with sigprocmask as not all systems provide a ↵Roy Marples
working and sane kernel call to bypass libc.
2008-02-02Fix compile on systems that do not expose SYS_sigaction.Roy Marples
2008-02-02Using syscall in a vfork is safe for sigaction and sigprogmask.Roy Marples
2008-02-02Block signals to avoid fork /signal races.Roy Marples
2008-01-30Fix adding net scripts to the boot runlevel.Roy Marples
2008-01-22Quiet some lint warnings.Roy Marples
2008-01-15If adding to the boot runlevel, ensure that the realpath of the resolved ↵Roy Marples
service points to /etc/init.d/$service
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-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-06We should check we resolved a service before stating it's existance.Roy 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.