Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-20 | librc:look for the pid file in a chroot if defined | Alexander Vershilov | |
X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388 | |||
2014-07-19 | src/librc/librc-daemon.c: style fix | William Hubbs | |
2014-06-20 | librc: filter out container processes on OpenVZ host | William Hubbs | |
Thanks to info and testing done by Daniel Robbins <drobbins@funtoo.org>, there is now a fix for this. Below is his description of the steps OpenRC needed to use. 1) See if /proc/<pid>/status exists 2) If it does, see if it has a "envID:" field 3) If it does, see if "envID:" is set to "0" 4) If so, then it's one of the host's processes and should be a candidate for the list. Otherwise, it is one of the container's processes and should be ignored. This should fix the bug and allow start-stop-daemon to work properly on OpenVZ hosts. X-Gentoo-Bug: 376817 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376817 | |||
2013-10-30 | Begin port to GNU/kFreeBSD | Steven Chamberlain | |
This is just a minimal port to get Debian up and running; the rest will be done later. | |||
2013-07-25 | Add support for DragonFly BSD | Gary | |
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-05-28 | librc: tweak style: foo () -> foo() | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Style fix: "char *foo" not "char* foo". | Robin H. Johnson | |
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-25 | Use kill for the pid check as it's fast. | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-01-12 | Copyright | Roy Marples | |
2009-01-12 | Use snprintf instead of strlcpy to save on size if not available. | Roy Marples | |
2008-09-22 | We don't check exec when starting, so don't when testing for crashed. | Roy Marples | |
2008-09-19 | Fix stopping wpa_supplicant incorrectly, #107 | Roy Marples | |
2008-07-27 | Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵ | Roy Marples | |
maybe working better with interpreted scripts. | |||
2008-04-30 | Wups, test compiles before commiting :) | Roy Marples | |
2008-04-30 | Remove redundant checking of /proc/pid/exe | Roy Marples | |
2008-04-30 | Save a few bytes and make it easier to read. | Roy Marples | |
2008-04-30 | No need to init this. | Roy Marples | |
2008-04-30 | Make the function a little smaller. | Roy Marples | |
2008-04-30 | Style | Roy Marples | |
2008-04-21 | If we don't have permission to inspect the pidfile, don't report crashed. ↵ | Roy Marples | |
Gentoo #218028. | |||
2008-03-26 | Add license blurb to a few files and append my email to my name. | Roy Marples | |
2008-03-21 | We should only free the buffer when done reading the dir. | Roy Marples | |
2008-03-17 | Make rc_getline private and save it's buffer so it's sort of like getline ↵ | Roy Marples | |
from glibc. | |||
2008-03-17 | init some vars. | Roy Marples | |
2008-03-17 | We should check for NULL here. | Roy Marples | |
2008-03-17 | Punt the rc_strcatpaths function and use snprintf instead to save on ↵ | Roy Marples | |
expensive malloc calls. | |||
2008-03-17 | rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array. | Roy Marples | |
2008-03-16 | Remove 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-03 | Sanitise the BSD defines a little. | Roy Marples | |
2008-03-03 | Ensure that normal users can use s-s-d on NetBSD. | Roy Marples | |
2008-02-23 | Now that s-s-d accepts >1 argument for stopping a daemon on match we need to ↵ | Roy Marples | |
store all arguments used incase a service started the same daemon more than once with different paramters. | |||
2008-02-22 | Welcome to 2008. | Roy Marples | |
2008-02-18 | Fix compile on FreeBSD. | Roy Marples | |
2008-02-18 | We need to check for contents of argv too. | Roy Marples | |
2008-02-18 | Fix a signed error. | Roy Marples | |
2008-02-17 | We need to be able to locate pids by argv, instead of just argv0. | Roy Marples | |
2008-02-13 | Use _PATH_DEVNULL on FreeBSD when using kvm_openfiles so we work in a jail, ↵ | Roy Marples | |
bug #21. | |||
2008-01-30 | Add xzalloc function to reduce size. | Roy Marples | |
2008-01-28 | Fix service_started_daemon, bug #11 | Roy Marples | |
2008-01-22 | Quiet some lint warnings. | Roy Marples | |
2008-01-14 | strip trailing newlines | Mike Frysinger | |
2008-01-11 | Re-indent to a standard tw of 8. | Roy Marples | |
2008-01-07 | rc_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-05 | Add 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. |