Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-18 | openrc-shutdown: Add scheduled shutdown and the ability to cancel a shutdown | William Hubbs | |
You can now schedule a shutdown for a certain time or a cpecific number of minutes into the future. When a shutdown is running, you can now cancel it with ^c from the keyboard or by running "openrc-shutdown -c" from another shell. | |||
2018-10-15 | supervise-daemon: fix respawn_max off by one | Zac Medico | |
Fix the comparison between respawn_count and respawn_max so that respawn_max = 1 will allow for one respawn. Since respawn_count is incremented before the comparison, use a 'greater than' comparison so that respawn will be triggered when respawn_count is equal to respawn_max. Fixes: https://github.com/OpenRC/openrc/issues/247 Fixes: https://github.com/OpenRC/openrc/issues/248 | |||
2018-10-13 | misc: style fixups | Austin English | |
2018-10-13 | misc: whitespace fixes | Austin English | |
2018-10-09 | Complete implementation of forever timeout value in stop schedules | William Hubbs | |
2018-10-06 | supervise-daemon: use nanosleep() instead of sleep() | William Hubbs | |
We will be using sigalrm in this process for health checking, and sigalrm cannot be used with sleep() safely. | |||
2018-10-06 | openrc-init: convert sleep() call to nanosleep() | William Hubbs | |
Nanosleep is the safer call to use in case we need to use alarms eventually. | |||
2018-08-06 | librc: fix EACCES errno false-positive crash | Zac Medico | |
Use errno != EACCES to fix false-positive for non-root users with grsecurity kernels. Fixes: 37e29442721a ("librc: Add check for crashed state") This fixes #237 | |||
2018-06-29 | rc-status: initialize uptime pointer to prevent memory corruption | Holger Hoffstätte | |
This fixes #231. | |||
2018-06-27 | supervise-daemon.c: clean up memory leaks | William Hubbs | |
2018-06-27 | librc-daemon.c: fix memory leaks | William Hubbs | |
2018-06-22 | librc-daemon: convert most snprintf calls to xasprintf | William Hubbs | |
2018-06-20 | librc-misc: convert snprintf calls to xasprintf | William Hubbs | |
2018-06-20 | libeinfo: convert remaining snprintf calls to xasprintf | William Hubbs | |
2018-06-20 | openrc: convert snprintf calls to xasprintf | William Hubbs | |
2018-06-19 | supervise-daemon: convert snprintf calls to xasprintf | William Hubbs | |
2018-06-19 | start-stop-daemon: convert snprintf calls to xasprintf | William Hubbs | |
2018-06-19 | rc-status: convert snprintf calls to xasprintf | William Hubbs | |
2018-06-19 | rc-status: fix gcc 7 warnings | William Hubbs | |
2018-06-19 | start-stop-daemon: fix gcc 7 warnings | William Hubbs | |
2018-06-19 | checkpath: fix gcc 7 warnings | William Hubbs | |
2018-06-19 | fix gcc 7 warnings in pipe routines | William Hubbs | |
2018-06-19 | libeinfo: clean up gcc 7 compiler warnings | William Hubbs | |
2018-06-15 | start-stop-daemon: add ability to log stdout or stderr to processes | William Hubbs | |
2018-06-14 | fix a typo | William Hubbs | |
2018-06-13 | Add helper to spawn process with stdin connected to a pipe | Mike Gilbert | |
2018-05-22 | Logger: only log printable characters and newlines | William Hubbs | |
X-Gentoo-Bug: 651412 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412 | |||
2018-05-22 | Add mark_service_crashed binary | William Hubbs | |
2018-05-22 | rc-misc: add the crashed state | William Hubbs | |
2018-05-22 | librc: Add check for crashed state | William Hubbs | |
In rc_service_state,, call rc_service_daemons_crashed to check for a crashed daemon if the service is started. | |||
2018-05-22 | librc: Add crashed state | William Hubbs | |
2018-05-18 | Remove the _rc_can_find_pids function | William Hubbs | |
This test to find if we could see pid 1 was being used inconsistently in rc-status and mark_service_crashed to decide whether we could test to see if the daemon for the service was crashed, and it was not part of the librc library. I am removing it from the executables because of inconsistent usage. I will add it to the library if it is needed there. | |||
2018-05-16 | rc-service: add --ifstarted and --ifstopped options | William Hubbs | |
2018-05-15 | rc-service: add -d/--debug and -D/--nodeps options | William Hubbs | |
2018-05-15 | openrc-run: respect the RC_NODEPS environment variable | William Hubbs | |
2018-05-15 | Add RC_DEBUG and RC_NODEPS to environment whitelist | William Hubbs | |
These are needed so rc-service can pass debug and nodeps options to openrc-run. | |||
2018-05-14 | openrc-run: respect the IN_DRYRUN environment variable | William Hubbs | |
This allows rc-service to pass the tryrun option to openrc-run. This is for #225. | |||
2018-05-14 | rc-misc.c: Add IN_DRYRUN to environment whitelist | William Hubbs | |
This allows rc-service to pass the dryrun option to openrc-run. This is for #225. | |||
2018-05-14 | rc-service: add a --dry-run option | William Hubbs | |
This is for #225. | |||
2018-05-10 | Revert "Logger: only log printable characters and newlines" | William Hubbs | |
This reverts commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf. This seems to create issues shutting down, so I need to look into it further. | |||
2018-05-09 | Logger: only log printable characters and newlines | William Hubbs | |
X-Gentoo-Bug: 651412 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412 | |||
2018-05-02 | start-stop-daemon: don't fail stopping if pidfile is gone | Andrey Utkin | |
If pidfile does not exist when we are stopping the daemon, assume it is already stopped, and report success. hostapd is an example of a daemon which removes its pidfile when it is exiting. If this daemon terminates prematurely, that is, without s-s-d involvement, then openrc fails to restart it, because s-s-d "stop" command fails when pidfile is missing. X-Gentoo-Bug: 646274 X-Gentoo-Bug-URL: https://bugs.gentoo.org/646274 | |||
2018-03-21 | rc-update: fix typo | Scall | |
2018-03-14 | supervise-daemon: fix off-by-one error | William Hubbs | |
2018-03-01 | openrc-run: fix memory size (#213) | Chris Cromer | |
Fixes #212 | |||
2018-02-27 | supervise-daemon: make an error message more verbose | William Hubbs | |
2018-02-26 | fstabinfo: fix an error message | William Hubbs | |
2018-02-26 | openrc: remove unused #define's. | William Hubbs | |
2018-02-26 | openrc: convert another execl() call to execlp() | William Hubbs | |
2018-02-26 | openrc-init: convert execl calls to execlp | William Hubbs | |