Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-27 | src/tests/runtests.sh: add a FATAL_CHECKS variable to make whitespace/etc. fatal | Austin English | |
2018-11-27 | src/rc/openrc-shutdown.c: fix style | Austin English | |
2018-11-27 | fix misc whitespace issues | Austin English | |
2018-11-15 | supervise-daemon: make the pidfile an implementation detail | William Hubbs | |
The pidfile of the supervisor doesn't need to be adjustable by the service script. It is only used so the supervisor can stop itself when the --stop option is used. | |||
2018-11-15 | Do not complain if interrupted by a signal | William Hubbs | |
In start-stop-daemon and rc-schedules, we were printing out a warning if the nanosleep call was interrupted by a signal, but we did not treat this as an error situation other than displaying the message, so there is no need for the message. | |||
2018-11-05 | supervise-daemon: reap zombies | William Hubbs | |
We need to make sure to reap zombies so that we can shut down successfully. Fixes #252. Possibly related to #250. | |||
2018-11-05 | rc-service: fix help output | William Hubbs | |
2018-11-02 | openrc-init: add SELinux support | William Hubbs | |
This is for #173. | |||
2018-10-24 | openrc-shutdown: do not require a time for -w switch | William Hubbs | |
X-Gentoo-Bug: 669500 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=669500 | |||
2018-10-23 | supervise-daemon: add health checks | William Hubbs | |
Health checks are a way to monitor a service and make sure it stays healthy. If a service is not healthy, it will be automatically restarted after running the unhealthy() function to clean up. | |||
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. |