Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-17 | Add new option -F to rc-depend tool, so that we can debug user deptree files ↵ | Robin H. Johnson | |
easily. | |||
2011-01-17 | Factor out new function rc_deptree_load_file to aid in debugging deptree ↵ | Robin H. Johnson | |
files from users. Loads from a given filename instead of the hardcoded RC_DEPTREE_CACHE define. | |||
2011-01-12 | bug 351160: make openrc exit codes LSB compliant | Eray Aslan | |
* status on a stopped service now has a return code of 3 (was 1) * starting an already started service now has a return code of 0 (was 1) * stopping an already stopped service now has a return code of 0 (was 1) | |||
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-12-03 | Avoid race condition in runscript (bug #319865) | Thomas Pfaff | |
Under normal conditions, runscript creates one child and waits for its termination, which is signaled by a pipe write from the SIGCHLD sighandler. When running killprocs however more than one SIGHCLD signal is generated, at least on all of my amd64 boxes running on real hardware and in vmware. When the first SIGCHLD occurs svc_exec leaves the loop and closes the pipe. Subsequent SIGCHLDs during the close can lead to a race condition and create an EBADF error in the pipe write (pipe is closed but the file handle is still != -1). We avoid this by blocking SIGHCHLD during the pipe close. | |||
2010-04-09 | restore init.d pause option | Mike Frysinger | |
2010-04-09 | restore old e* func output | Mike Frysinger | |
Gentoo has always used the sytle: * moo ... [ ok ] Latest openrc now does: * moo... [ok] Realistically, 4 spaces out of 80 on reduced terminals doesn't make any sort of realistic difference and it's been just fine for the last 10 years, so keep the default behavior. | |||
2010-03-26 | Fix -s and -S. | Roy Marples | |
2010-03-17 | Fix two leaks. | Roy Marples | |
2010-01-08 | random spelling fixes | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-12-14 | start-stop-daemon can now set process IO scheduling. | Roy Marples | |
2009-11-14 | Only allow one service to be provided by default. | Roy Marples | |
Fixes Gentoo #293139. | |||
2009-11-13 | Fix logic | Roy Marples | |
2009-11-13 | Add a --warn option to just warn when reference file does not exist. | Roy Marples | |
Fixes Gentoo #291894. | |||
2009-11-04 | Add support for Linux Containers, fixes #202. | Roy Marples | |
Patch by bug reporter. | |||
2009-10-16 | Regenerate version.h if necessary | Roy Marples | |
2009-10-15 | fix wait time for gentoo bug 288495 | William Hubbs | |
The wait time was in seconds. This patch converts it to milliseconds. | |||
2009-10-13 | Add new utility and init script swclock that sets the system time based on | Roy Marples | |
the mtime of a file. It saves the shutdown time to this file also. This is handy for systems without a working RTC chip. Based on an idea by Michael A. Smith <michael@smith-li.com>. Fixes Gentoo #272073. | |||
2009-10-08 | Add pkg-config support, fixes #187. | Roy Marples | |
2009-09-21 | Don't quote opts | Roy Marples | |
2009-09-04 | Allow init scripts to show their dependencies easier | Roy Marples | |
2009-09-04 | Add -P to start-stop-daemon to display a . for each second elapsed. | Roy Marples | |
Fixes #197. | |||
2009-09-04 | Really fix --signal 0 | Roy Marples | |
2009-09-04 | Fix signed error. | Roy Marples | |
2009-09-01 | Allow any valid numeric signal and not just what we define. | Roy Marples | |
2009-07-20 | Don't provide ourself, fixes #190 | Roy Marples | |
2009-07-01 | We should use -feature instead of nofeature. | Roy Marples | |
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178. | |||
2009-06-21 | Use rc_getline instead of assuming a fixed kernel cmdline length. | Roy Marples | |
This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177. | |||
2009-06-01 | Warn about going inactive correctly. | Roy Marples | |
2009-05-23 | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | |
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well. | |||
2009-05-17 | If already started or stopped, abort. | Roy Marples | |
2009-05-07 | Unset PAM environment variables if not set | Roy Marples | |
2009-05-05 | Fix compile on NetBSD | Roy Marples | |
2009-05-05 | Fix compile on NetBSD and FreeBSD | 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-02 | Ignore test results | Roy Marples | |
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-05-01 | Add -i, --ifexists so that we can do this | Roy Marples | |
rc-sercice -i foo -- restart instead of this rc-service -e foo && rc-service foo -- restart | |||
2009-05-01 | Fix git versioning | Roy Marples | |
2009-04-30 | Add -Z, --dry-run option to show which services we would start/stop | Roy Marples | |
without actually doing so. Fixes #151. | |||
2009-04-30 | Avoid more gcc warning about not checking return values ... | Roy Marples | |
2009-04-30 | Brand with git version instead of svn | Roy Marples | |
2009-04-30 | Fix parens | Juan RP | |
2009-04-30 | Go back to git | Roy Marples | |
2009-04-28 | Don't start services when their need dependency is broken | Roy Marples | |
2009-04-27 | Add the noshutdown keyword to special case the shutdown. | Roy Marples | |
2009-04-27 | Fix the nstop keyword. | Roy Marples | |
2009-04-26 | Add the nostop keyword so that we don't stop the network init script by default. | Roy Marples | |