Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-26 | Bring Back prefix support | William Hubbs | |
We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree. | |||
2012-02-21 | Remove prefix support | William Hubbs | |
I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems. | |||
2012-02-12 | Fix some more warnings | Christian Ruppert | |
2011-11-16 | add support for extra_stopped_commands | William Hubbs | |
2011-11-07 | add auto detection for lxc | William Hubbs | |
Reported-by: Francesco Riosa <francesco+gentoo_bugzilla@pnpitalia.it> X-Gentoo-Bug: 384151 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=384151 | |||
2011-07-13 | Fix rc_service_value_get() to return multiple lines as well | Christian Ruppert | |
As introduced in bug 372547 using service_get_value() in the init scripts or using rc_service_value_get() directly will only return one line. This patch fixes it by using the new rc_getfile() function, it returns even multiple lines. We're still using a char *, so the lines will be appended instead of added into new element. X-Gentoo-Bug: 372547 X-Gentoo-Bug-URL: http://bugs.gentoo.org/372547 | |||
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-04-27 | fix rc_service_extra_commands return value | James Le Cuirot | |
If there were no extra commands, rc_service_extra_commands returned a list containing a single empty string. This changes that to return an empty list, which is more consistent with what you would expect. X-Gentoo-Bug: 360013 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360013 | |||
2011-04-27 | fix list returned by rc_service_extra_commands | William Hubbs | |
This function was returning the setting of the variable $opts, which is not correct. $opts was used in baselayout-1, but it is replaced by $extra_commands and $extra_started_commands in openrc. This does not appear to break backward compatibility since this function does not appear to be used anywhere in the openrc code. Thanks to James Le Cuirot for the original patch. X-Gentoo-Bug: 360013 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=360013 | |||
2011-01-17 | Document that rc_sys_v{1,2} should not be used outside of OpenRC. | Robin H. Johnson | |
2011-01-17 | Style fix: "char *foo" not "char* foo". | Robin H. Johnson | |
2011-01-17 | Style fix: /* */ comments not // comments. | Robin H. Johnson | |
2011-01-17 | Style fix: "while (" not "while(". | Robin H. Johnson | |
2011-01-17 | Style fix: "if (" not "if(". | Robin H. Johnson | |
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2011-01-05 | Make sure old rc_sys code never runs if the rc_sys variable exists. | Robin H. Johnson | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2011-01-05 | Remove broken automatic LXC subsystem detection. | Robin H. Johnson | |
Any system using cgroups was being detected as an LXC system. This was triggering on OpenVZ under RHEL6 as well as the "automated per tty task groups" as discussed on the LKML. All LXC users should now switch to the new rc_sys variable introduced in the previous patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2011-01-05 | Implement explicit selection of subsystem types. | Robin H. Johnson | |
- Fixes bugs #347583, #349389, both of which were triggered by cgroups being detected as the LXC subsystem type. - Makes it much easier to select "prefix" type. - "rc -S" will now print a warning if you have not configured rc_sys in /etc/rc.conf - All other semantics of rc_sys are unchanged in this patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2010-01-08 | random spelling fixes | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-11-04 | Add support for Linux Containers, fixes #202. | Roy Marples | |
Patch by bug reporter. | |||
2009-09-21 | Don't quote opts | Roy Marples | |
2009-05-02 | Add runlevel stacking, #88 | Roy Marples | |
This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-02-28 | Set errno when service does not exist better. | Roy Marples | |
2009-01-29 | Clean up some compiler warnings. | Roy Marples | |
2008-10-10 | Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵ | Roy Marples | |
services. Makes things much easier. | |||
2008-10-10 | sysinit is now a real runlevel that handles things like udev, dmesg and | Roy 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-19 | Add new OpenVZ detection code | Roy Marples | |
2008-06-05 | No need to include this. | Roy Marples | |
2008-04-08 | Give an error when running zap as a generic user. | Roy Marples | |
2008-03-28 | Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc | Roy Marples | |
2008-03-28 | Support XEN on NetBSD | Roy Marples | |
2008-03-28 | Remove 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-26 | Add license blurb to a few files and append my email to my name. | Roy Marples | |
2008-03-24 | Fix adding services to the boot runlevel, #43 | Roy Marples | |
2008-03-24 | add missing rc_stringlist_new/rc_sys hidden defs | Mike Frysinger | |
2008-03-23 | Fix returning a service descriptions. | Roy Marples | |
2008-03-19 | Add rc-service and update all softlevel refs to runlevel. | Roy Marples | |
2008-03-19 | Fix define name | Roy Marples | |
2008-03-19 | Return scheduled services correctly. | 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 | This should be a fixed buffer. | Roy Marples | |
2008-03-17 | Punt the rc_strcatpaths function and use snprintf instead to save on ↵ | Roy Marples | |
expensive malloc calls. | |||
2008-03-16 | Use correct TAILQ_CONCAT macro when not defined. | 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-08 | d_type is not portable across filesystems. | Roy Marples | |
2008-03-03 | Split VPS into VSERVER and OPENVZ | Roy Marples | |