Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-29 | use printf consistently in cgroups handling | William Hubbs | |
This makes the cgroups handling consistent between cgroups v1 and v2. Also, it fixes #167. | |||
2017-09-22 | sh/rc-functions.sh: add need_if_exists convenience function | William Hubbs | |
2017-09-22 | man/openrc-run.8: Clarify the explanation of the need dependency | William Hubbs | |
2017-09-18 | ignore sigchld when shutting down the supervised process | William Hubbs | |
We need to do this to skip the zombie state for the child process since we are not easily able to wait() for it. | |||
2017-09-18 | typo fix | William Hubbs | |
2017-09-18 | typo fix | William Hubbs | |
2017-09-18 | supervise-daemon: code cleanup | William Hubbs | |
Clean up the process for killing an active supervisor when stopping. | |||
2017-09-18 | initialize the stop schedule | William Hubbs | |
2017-09-17 | rc-schedules.c: pass the correct pid to rc_find_pids | William Hubbs | |
This is for #163. | |||
2017-09-17 | selinux: fix const qualifier warning | Jason Zaman | |
rc-selinux.c: In function ‘selinux_setup’: rc-selinux.c:361:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] curr_t = context_type_get(curr_con); ^ | |||
2017-09-17 | selinux: use openrc contexts path to get contexts | Jason Zaman | |
The minimum requirement for libselinux is now >=2.6 The refpolicy and the gentoo policy contain the contexts since version 2.20170204-r4 | |||
2017-09-16 | sysfs: fix cgroup hybrid mode | William Hubbs | |
In hybrid mode, we should not try to mount cgroup2 if it is not available in the kernel. This fixes #164. | |||
2017-09-16 | cgroup2_find_path: use legacy mode if cgroup2 is not in the kernel | William Hubbs | |
This is related to #164. | |||
2017-09-16 | version 0.32 | William Hubbs | |
2017-09-15 | Update ChangeLog | William Hubbs | |
2017-09-15 | update news file | William Hubbs | |
2017-09-15 | cgroup_cleanup: try to remove the cgroup version 2 cgroup | William Hubbs | |
If we were able to kill all the processes in the cgroup, it should be removed. | |||
2017-09-15 | rc-cgroup.sh: cgroup_cleanup fix error handling | William Hubbs | |
cgroup_cleanup should warn if it is unable to clean up all processes in the control group, but it will always return success. | |||
2017-09-15 | rc-cgroup.sh: fix signal names | William Hubbs | |
The "SIG" prefix on signal names passed to kill -s isn't portable. | |||
2017-09-14 | add quiet switch to do_stop in src-schedules.c | William Hubbs | |
This allows supervise-daemon to run this code without attempting to print some status messages used by start-stop-daemon. | |||
2017-09-14 | make the procedure for killing child processes of services configurable | William Hubbs | |
2017-09-14 | Make cgroup_cleanup send only one sigterm and sigkill | William Hubbs | |
Instead of looping and sending multiple signals to child processes in cgroup_cleanup, we send sigterm followed by sleeping one second then sigkill. This brings us more in line with systemd's "control group" killmode setting. Also, this commit includes several shellcheck cleanups. | |||
2017-09-14 | rc-cgroup.sh: move cgroup_cleanup to the end of the file | William Hubbs | |
2017-09-14 | guide.md: clarify cgroups documentation | William Hubbs | |
Update the documentation to reflect cgroups version 2 support. Also, add a section on dealing with orphaned service processes. This fixes #94. | |||
2017-09-14 | add support for control groups version 2 | William Hubbs | |
This is for #94. | |||
2017-09-07 | version 0.31 | William Hubbs | |
2017-09-06 | Update ChangeLog | William Hubbs | |
2017-09-06 | add quiet parameter to run_stop_schedule | William Hubbs | |
2017-09-06 | add retry option to supervise-daemon | William Hubbs | |
The --retry option for supervise-daemon defines how the supervisor will attempt to stop the child process it is monitoring. It is defined when the supervisor is started since stopping the supervisor just sends a signal to the active supervisor. This fixes #160. | |||
2017-08-25 | make run_stop_schedule accept a pid instead of a pid file | William Hubbs | |
2017-08-24 | version 0.30 | William Hubbs | |
2017-08-24 | start-stop-daemon: move --retry processing code to a shared module | William Hubbs | |
This was part of start-stop-daemon; however, it needs to be shared in order to be used by supervise-daemon. | |||
2017-08-23 | move get_pid function to a shared file | William Hubbs | |
2017-08-16 | Update ChangeLog | William Hubbs | |
2017-08-15 | sh/openrc-run: source service script before ulimit is processed | William Hubbs | |
This is needed to allow the service script author to set a default for rc_ulimit inside the service script. | |||
2017-07-26 | man/openrc-run.8: document fstabinfo and mountinfo | William Hubbs | |
X-Gentoo-Bug: 592374 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592374 | |||
2017-07-25 | man/openrc-run.8: document _pre and _post functions | William Hubbs | |
Fixes https://github.com/openrc/openrc/issues/155. | |||
2017-07-24 | fix ENT macro usage | Jason Graham | |
X-Gentoo-Bug: 624796 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624796 | |||
2017-07-24 | version 0.29 | William Hubbs | |
2017-07-24 | Typo fix | John R. Graham | |
X-Gentoo-Bug: 624908 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624908 | |||
2017-07-13 | Update ChangeLog | William Hubbs | |
2017-07-13 | Add comment about overriding the default efivars mount in fstab to news | William Hubbs | |
2017-07-11 | add link to efivars issue to news file | William Hubbs | |
2017-07-11 | Update ChangeLog | William Hubbs | |
2017-07-11 | fix sysvinit compatibility for shutdown wrapper | William Hubbs | |
2017-07-11 | fix sysvinit compatibility for reboot wrapper | William Hubbs | |
2017-07-11 | fix sysvinit compatibility for poweroff wrapper | William Hubbs | |
2017-07-10 | fix halt wrapper so it is sysvinit compatible | William Hubbs | |
This makes the halt wrapper sysvinit compatible. It ignores several command line switches which are not currently implemented; however, those can be implemented if we need to do so. This fixes https://github.com/openrc/openrc/issues/146. | |||
2017-07-07 | man: fix an unclosed .Bl/.El warning | Adam Borowski | |
This fixes #151. | |||
2017-07-07 | man: fix missing .Pp warnings | Adam Borowski | |
This fixes #151. |