Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-22 | openrc-shutdown: add dry-run option | William Hubbs | |
2017-05-22 | openrc-shutdown: move to single user mode by default | William Hubbs | |
To be more compatible with sysvinit, move to single user mode if no options are specified on the command line. | |||
2017-05-22 | init: add ability to switch to single user mode | William Hubbs | |
2017-05-19 | add kill_all helper | William Hubbs | |
This is similar to the sysvinit killall5 utility. It should only be used in service scripts, so it will not be installed in the path. This closes #129. | |||
2017-05-15 | rc_status: calculate time differences in time_t and display seconds in uptime | William Hubbs | |
2017-05-12 | supervise-daemon: save start time and respawn count before dropping privs | William Hubbs | |
2017-05-11 | rc-status: show uptimes and respawn counts for supervised daemons | William Hubbs | |
2017-05-11 | fix to_time_t to honor dst | William Hubbs | |
2017-05-11 | fix from_time_t function | William Hubbs | |
2017-05-11 | Move time_t conversions to rc-misc.c so they can be shared | William Hubbs | |
2017-05-11 | supervise-daemon: save start time and respawn count | William Hubbs | |
This will allow rc-status to display an uptime and restart count for supervised processes. | |||
2017-05-11 | supervise-daemon: fix our status when we give up on the child process | William Hubbs | |
2017-05-10 | supervise-daemon:create multiple options from --respawn-limit | William Hubbs | |
This creates --respawn-delay, --respawn-max and --respawn-period. It was suggested that it would be easier to follow if the options were separated. This is for #126. | |||
2017-05-09 | supervise-daemon: add a --respawn-limit option | William Hubbs | |
Allow limiting the number of times supervise-daemon will attempt to respawn a daemon once it has died to prevent infinite respawning. Also, set a reasonable default limit (10 times in a 5 second period). This is for issue #126. | |||
2017-04-29 | supervise-daemon: mark all open file descriptors FD_CLOEXEC | William Hubbs | |
2017-04-29 | supervise-daemon:remove the controlling tty in the supervisor | William Hubbs | |
2017-04-29 | supervise-daemon: fix access to tty_fd and devnull_fd | William Hubbs | |
Both the child and supervisor need access to these file descriptors. | |||
2017-04-29 | supervise-daemon: mark the service started when the supervisor is active | William Hubbs | |
2017-04-17 | init: send term/kill signals as final step of shutdown | William Hubbs | |
2017-04-13 | init: fix signal handling | William Hubbs | |
The only signals we handle are SIGINT and SIGCHLD, so block all others and unblock them in the child process before we start a rurnlevel. | |||
2017-04-12 | init: add re-exec capability | William Hubbs | |
This will allow the re-execution of the init process after upgrading OpenRC. | |||
2017-04-07 | Add attribution to openrc-init.c and openrc-shutdown.c | William Hubbs | |
2017-04-06 | add init process | William Hubbs | |
openrc-init.c and openrc-shutdown.c are based on code which was written by James Hammons <jlhamm@acm.org>, so I would like to publically thank him for his work. | |||
2017-04-03 | start-stop-daemon: warn if calling --start with --retry or --stop with --wait | Austin English | |
This fixes #122 | |||
2017-01-25 | start-stop-daemon: allow all standard signals | Doug Freed | |
Also we define the signalpair_item macro. This fixes #113. X-Gentoo-Bug: 604986 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604986 | |||
2017-01-04 | mountinfo: make the path to /proc/mounts a constant | William Hubbs | |
This path should not be hard coded in the open call. Linux prior to 2.4.19 did not have /proc/self/mounts, so for now I'm making this value /proc/mounts everywhere, but that may change to /proc/self/mounts on linux; I'm not sure we should care about <2.4.19. X-Gentoo-Bug: 604646 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604646 | |||
2017-01-04 | Clean up warnings that can use the _unused macro | Benda Xu | |
X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 | |||
2017-01-04 | Indentation fixes | Benda Xu | |
X-Gentoo-Bug: 604666 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 | |||
2016-11-17 | selinux: fix SIGSEGV with invalid contexts | Jason Zaman | |
Fixes: https://github.com/openrc/openrc/issues/104 | |||
2016-11-01 | src/rc/rc: do not try to start services if fork fails | William Hubbs | |
2016-10-24 | src/rc/rc-misc.c: report error if call to flock() fails | William Hubbs | |
X-Gentoo-Bug: 597390 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=597390 | |||
2016-10-11 | do_service: Initialize idx to 0 | Sven Wegener | |
If index is not explicitly specified for service_started_daemon, it will look for daemons by random index. This fixes #100. | |||
2016-09-30 | openrc-run: fix double free | Doug Freed | |
2016-09-19 | Revert "Disable parallel startup in interactive mode" | William Hubbs | |
This reverts commit 8b4fc05ff2645b2ecb0f153492f72dd8b39ba431. The original commit did not explain why this feature was disabled, and I now have a request to enable it. This fixes #24. | |||
2016-09-16 | rc-misc: allow EINFO_VERBOSE through too | Doug Freed | |
2016-09-14 | rc-misc: Allow EINFO_COLOR through env_filter() | Doug Freed | |
This allows rc-service -C <service> <action> to properly not print color messages. Fixes #93 | |||
2016-08-25 | openrc-run: make runscript warning respect quiet option | William Hubbs | |
X-Gentoo-Bug: 591414 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591414 | |||
2016-07-26 | start-stop-daemon: Add SSD_IONICELEVEL | Kenneth Lakin | |
This is the disk IO counterpart to SSD_NICELEVEL. Modified by William Hubbs to add the variable to the start-stop-daemon man page. This fixes #69. | |||
2016-07-24 | rc-logger: refuse to cat TMPLOG into itself | Doug Freed | |
This prevents an infinite loop in case somebody decides to set rc_log_path to match TMPLOG. | |||
2016-07-18 | rc-status: add -m/--manual option to show manually started services | William Hubbs | |
X-Gentoo-Bug: 585906 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=585906 | |||
2016-07-16 | rc: Rename some static variables to kill warnings | Doug Freed | |
2016-07-14 | Remove the DEBUG_MEMORY macro | William Hubbs | |
This fixes #43. | |||
2016-07-14 | make variable aflag a boolean show_all | William Hubbs | |
2016-06-10 | fstabinfo/mountinfo: ensure /etc/fstab exists before calling setmntent | William Hubbs | |
This is based on a patch by A. Wilcox <awilfox.gentoo@foxkit.us>. X-Gentoo-Bug: 478226 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226 X-Gentoo-Bug: 478226 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226 | |||
2016-05-24 | Make deprecation warnings for rc and runscript more visible | William Hubbs | |
These warnings were inserted in verbose only mode in OpenRC-0.13.A Now, we are making them more visible in preparation for removing these compatibility binaries in the future. | |||
2016-05-23 | supervise-daemon: log the exit code or signal when a child process dies | William Hubbs | |
2016-05-13 | rc-selinux: access check was backwards | Jason Zaman | |
2016-05-13 | supervise-daemon: add pam service file | William Hubbs | |
2016-05-04 | openrc-run: clean up runscript deprecation message | William Hubbs | |
2016-04-27 | add daemon supervisor | William Hubbs | |
The supervise-daemon process is meant to be a lightweight supervisor which can monitor and restart a daemon if it crashes. |