Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-16 | s6 supervisor fixes | William Hubbs | |
Add the ability to force-kill a service if it does not go down successfully. Also, adjust the default wait time for an s6 service to go down to 60 seconds. | |||
2017-11-14 | strongly encourage Linux users to not make /etc/mtab a flat file | William Hubbs | |
The OpenRC team does not currently know of any modern linux tools that require /etc/mtab to be a flat file, so this puts users on notice that the mtab service will be removed in the future. | |||
2017-11-14 | adjust mtab and localmount dependencies | William Hubbs | |
localmount had mtab in its "use" dependencies; however, it makes more sense to add "before localmount" to the mtab service and remove "use mtab" from the localmount service. | |||
2017-11-13 | rc_find_pids: namespace fix | William Hubbs | |
Ignore namespaces if there are errors reading either the pid namespace for the current process or the process we aare testing. This fixes https://github.com/openrc/openrc/issues/180. | |||
2017-11-07 | start-stop-daemon: do not use do_stop to verify whether a daemon is running | William Hubbs | |
X-Gentoo-Bug: 636574 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=636574 | |||
2017-10-30 | fix issue with --reexec call | William Hubbs | |
2017-10-27 | supervise-daemon: use RC_SVCNAME as the first argument to the daemon | William Hubbs | |
This makes ps show which service the supervisor is monitoring. | |||
2017-10-27 | supervise-daemon: fix logging for reexec and the child command line | William Hubbs | |
2017-10-27 | log as supervise-daemon not the service | William Hubbs | |
2017-10-26 | supervise-daemon: clarify a log message | William Hubbs | |
2017-10-26 | supervise-daemon: log the command line we run to spawn the child process | William Hubbs | |
2017-10-26 | supervise-daemon: log with the service name instead of "supervise-daemon" | William Hubbs | |
2017-10-26 | implement "unsupervised" status | William Hubbs | |
The unsupervised status is to be used when a supervisor of a supervised service dies but leaves the service daemon itself running. | |||
2017-10-26 | supervise-daemon: remove child_pid from saved options during shutdown | William Hubbs | |
This allows us to detect when the supervisor dies unexpectedly because in that case child_pid will still exist. | |||
2017-10-26 | rc_service_value_set: remove the option if NULL is the value | William Hubbs | |
This allows the equivalent of "unsetting" a value for a service. | |||
2017-10-25 | supervise-daemon.sh: fix status function with no namespaces | William Hubbs | |
2017-10-25 | cgroups_cleanup: clean up shutdown signaling | Patrick McLean | |
- do not sleep for the full 90 seconds if processes are dead - re-arrange the order of signals we attempt to send to the processes | |||
2017-10-25 | add "unsupervised" status and return code 64 to supervise-daemon status function | William Hubbs | |
This is to be used if the service is being supervised and the supervisor is somehow killed. Currently, this is very linux specific, but I will expand to other platforms, patches are welcome. | |||
2017-10-24 | supervise-daemon: fix build issue for >=glibc-2.26 | William Hubbs | |
X-Gentoo-Bug: 635334 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=635334 | |||
2017-10-24 | version 0.35 | William Hubbs | |
2017-10-24 | Update ChangeLog | William Hubbs | |
2017-10-24 | rc_find_pids: ignore pids that are not in our pid namespace | William Hubbs | |
X-Gentoo-Bug: 634634 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=634634 | |||
2017-10-24 | supervise-daemon: multiple fixes | William Hubbs | |
- Harden against dying by handling all signals that would terminate the program and adding --reexec support - factor the supervisor into its own function - fix test for whether we are already running | |||
2017-10-18 | supervise-daemon: elevate some log messages to warnings | William Hubbs | |
Prior to this change, we were logging unexpected terminations of daemons we were supervising at the info level. This change moves the logs to warnings. | |||
2017-10-13 | version 0.34 | William Hubbs | |
2017-10-13 | Update ChangeLog | William Hubbs | |
2017-10-12 | update news | William Hubbs | |
2017-10-12 | man: remove service(8) man page | William Hubbs | |
2017-10-10 | typo fix | William Hubbs | |
2017-10-09 | init.d/sysfs.in: fix reference to RC_LIBEXECDIR | William Hubbs | |
The sysfs init script referred to @LIBEXECDIR@ before this change, but it is better to refer to RC_LIBEXECDIR so that we get rid of a sed substitution. | |||
2017-10-06 | add option to make agetty startup quiet | Chris Cromer | |
This fixes #150 | |||
2017-10-05 | fix compiler warning | William Hubbs | |
2017-10-02 | remove service binary | William Hubbs | |
The service binary was just a synonym for rc-service, so use rc-service instead of service. If you want a "service" binary, it should be something that can determine which service manager you are running and run the appropriate service manager commands. | |||
2017-10-02 | version 0.33 | William Hubbs | |
2017-10-02 | Update ChangeLog | William Hubbs | |
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 | |