aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-15supervise-daemon: make the pidfile an implementation detailWilliam 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-15Do not complain if interrupted by a signalWilliam 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-07Create save-keymaps and save-ktermencoding servicesWilliam Hubbs
These services represent the parts of the keymaps and termencoding services which saved the settings back to the root file system so they can be loaded very early in the boot process. These are needed to allow keymaps and termencoding to run earlier in the boot sequence. X-Gentoo-Bug: 446018 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=446018
2018-11-06supervise-daemon.sh: drop invalid --signal switchWilliam Hubbs
This fixes #230.
2018-11-05supervise-daemon: reap zombiesWilliam Hubbs
We need to make sure to reap zombies so that we can shut down successfully. Fixes #252. Possibly related to #250.
2018-11-05rc-service: fix help outputWilliam Hubbs
2018-11-02openrc-init: add SELinux supportWilliam Hubbs
This is for #173.
2018-10-24openrc-shutdown: do not require a time for -w switchWilliam Hubbs
X-Gentoo-Bug: 669500 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=669500
2018-10-24version 0.40William Hubbs
2018-10-23Update ChangeLogWilliam Hubbs
2018-10-23news.md: add information about the modules service changesWilliam Hubbs
2018-10-23modules: Add --first-time switch to modprobe commandsWilliam Hubbs
On Linux, kernel modules should be loaded once during boot, either in an initramfs or by this service. This does not change anything other than printing out messages if a module is loaded more than once. X-Gentoo-Bug: 659530 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=659530
2018-10-23supervise-daemon: add health checksWilliam 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-23news.md: add note about scheduled shutdownWilliam Hubbs
2018-10-22supervise-daemon-guide.md: re-format and add more variablesWilliam Hubbs
2018-10-18openrc-shutdown: Add scheduled shutdown and the ability to cancel a shutdownWilliam 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-15supervise-daemon: fix respawn_max off by oneZac 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-13misc: style fixupsAustin English
2018-10-13misc: whitespace fixesAustin English
2018-10-09Complete implementation of forever timeout value in stop schedulesWilliam Hubbs
2018-10-06supervise-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-06openrc-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-14Stop mounting efivarfs read-onlyWilliam Hubbs
We do not need to do this any longer since all supported linux kernels make efivarfs immutable and the tools that manipulate it are aware of this feature. This fixes https://github.com/openrc/openrc/issues/238.
2018-08-06librc: fix EACCES errno false-positive crashZac 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-07-09rc-functions.sh: Remove addon supportWilliam Hubbs
This is an old relic from Gentoo baselayout-1.x which should not be used any longer.
2018-06-29modules: remove the ability to rename modules on the flyWilliam Hubbs
Kmod doesn't support the -o switch, so if you have been using this your module loads have been failing.
2018-06-29rc-status: initialize uptime pointer to prevent memory corruptionHolger Hoffstätte
This fixes #231.
2018-06-28version 0.39William Hubbs
2018-06-28Update ChangeLogWilliam Hubbs
2018-06-27supervise-daemon.c: clean up memory leaksWilliam Hubbs
2018-06-27librc-daemon.c: fix memory leaksWilliam Hubbs
2018-06-22librc-daemon: convert most snprintf calls to xasprintfWilliam Hubbs
2018-06-20librc-misc: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-20libeinfo: convert remaining snprintf calls to xasprintfWilliam Hubbs
2018-06-20openrc: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19supervise-daemon: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19start-stop-daemon: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19rc-status: convert snprintf calls to xasprintfWilliam Hubbs
2018-06-19rc-status: fix gcc 7 warningsWilliam Hubbs
2018-06-19start-stop-daemon: fix gcc 7 warningsWilliam Hubbs
2018-06-19checkpath: fix gcc 7 warningsWilliam Hubbs
2018-06-19fix gcc 7 warnings in pipe routinesWilliam Hubbs
2018-06-19libeinfo: clean up gcc 7 compiler warningsWilliam Hubbs
2018-06-17version 0.38William Hubbs
2018-06-15Update ChangeLogWilliam Hubbs
2018-06-15sh/start-stop-daemon.sh: fix processing of the logger argumentsWilliam Hubbs
2018-06-15Update ChangeLogWilliam Hubbs
2018-06-15start-stop-daemon: add ability to log stdout or stderr to processesWilliam Hubbs
2018-06-14fix a typoWilliam Hubbs
2018-06-13Add helper to spawn process with stdin connected to a pipeMike Gilbert