commit:     60f42c415d235a49dd461f610d5f7f578e926c35
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Oct 19 21:03:36 2018 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Oct 19 21:03:36 2018 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=60f42c41

Update ChangeLog

 ChangeLog | 393 +++++---------------------------------------------------------
 1 file changed, 29 insertions(+), 364 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e0bd4ae0..92017e07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,31 @@
-commit ed6804200401861aa0b52f0feccb750aa496d34e
+commit 93c8cbe68428dcf7823a6483d30698ba001f4271
+Author: Zac Medico <zmed...@gmail.com>
+Commit: William Hubbs <w.d.hu...@gmail.com>
+
+    supervise-daemon: fix respawn_max off by one
+    
+    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
+
+commit 386bdf66f9622b6a86847ff678077c5c6456d74e
+Author: William Hubbs <w.d.hu...@gmail.com>
+Commit: William Hubbs <w.d.hu...@gmail.com>
+
+    version 0.38.3
+
+commit 81ab30c51dba9bfac71dd36c65e96bc1e3e5f2ae
+Author: William Hubbs <w.d.hu...@gmail.com>
+Commit: William Hubbs <w.d.hu...@gmail.com>
+
+    Update ChangeLog
+
+commit d05c8c2159a9cbcf9286adbd6cbc3b0d5d2a3b43
 Author: Zac Medico <zmed...@gmail.com>
 Commit: William Hubbs <w.d.hu...@gmail.com>
 
@@ -8,6 +35,7 @@ Commit: William Hubbs <w.d.hu...@gmail.com>
     with grsecurity kernels.
     
     Fixes: 37e29442721a ("librc: Add check for crashed state")
+    This fixes #237
 
 commit 7850e12071891321f6564979e4e574eb775bf102
 Author: William Hubbs <w.d.hu...@gmail.com>
@@ -1308,366 +1336,3 @@ Commit: William Hubbs <w.d.hu...@gmail.com>
     program and adding --reexec support
     - factor the supervisor into its own function
     - fix test for whether we are already running
-
-commit 35b1996704f6635bb29ea3604410e133209e6432
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    supervise-daemon: elevate some log messages to warnings
-    
-    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.
-
-commit 3c8e7ed255edb8df0d548d6ce514544d5422cbf0
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    version 0.34
-
-commit acaed1f910a2a00fdd5b6aeab752c552075a7292
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    Update ChangeLog
-
-commit 91109e31d81ecd48f5690ad6f63103fca545dec7
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    update news
-
-commit 2b6eeea01d1c64d58929788f4bfa0758393885bf
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    man: remove service(8) man page
-
-commit a15de23e5713d840d871c526b46050983dc6ea1e
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    typo fix
-
-commit efa9ba485d9328f780f3e60dc18339c75974c6c6
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    init.d/sysfs.in: fix reference to RC_LIBEXECDIR
-    
-    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.
-
-commit d4ddd72701ff5533a1ba07b1da60806859c63d88
-Author: Chris Cromer <ch...@cromer.cl>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    add option to make agetty startup quiet
-    
-    This fixes #150
-
-commit 1e9af2cd421423404ffe1491bd35af76c2885f1f
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    fix compiler warning
-
-commit 3c05db74f6e733890e9035c183a774db3d512512
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    remove service binary
-    
-    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.
-
-commit edc54b03770d5f58d1a4969d06c28660003dfb04
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    version 0.33
-
-commit 8e53a3fa8a33fb714064ddbe38bff2213fcf6837
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    Update ChangeLog
-
-commit 7f3b41311119e3a96a15b0fb473b44f422e903e9
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    use printf consistently in cgroups handling
-    
-    This makes the cgroups handling consistent between cgroups v1 and v2.
-    Also, it fixes #167.
-
-commit 1ccba056584ee1a8e09fb1d5eebd988b47912c06
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    sh/rc-functions.sh: add need_if_exists convenience function
-
-commit c46adf14343df3a74aef7e4ae5be175ae5fa7a01
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    man/openrc-run.8: Clarify the explanation of the need dependency
-
-commit 1cac8b080c16f9aab19c7a3ae1ca155c20dfa14d
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    ignore sigchld when shutting down the supervised process
-    
-    We need to do this to skip the zombie state for the child process since
-    we are not easily able to wait() for it.
-
-commit b58194ef63ec8c0a7e0ea3c291da9c19aa83cb1a
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    typo fix
-
-commit b28c0d6f66e42b1e6d2a39c286a18c8d92881790
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    typo fix
-
-commit 3cf19b0f30a90157d23d09ded304439f1eb42d4a
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    supervise-daemon: code cleanup
-    
-    Clean up the process for killing an active supervisor when stopping.
-
-commit 0eb47b9af340dd07209a3920944ed085fe7bd359
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    initialize the stop schedule
-
-commit 4ab60ff10935122277bbaed437f82a765279cd19
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    rc-schedules.c: pass the correct pid to rc_find_pids
-    
-    This is for #163.
-
-commit db4a578273dbfa15b8b96686391bcc9ecc04b646
-Author: Jason Zaman <ja...@perfinion.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    selinux: fix const qualifier warning
-    
-    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);
-             ^
-
-commit b1c3422f453921e838d419640fe39144dbf8d13d
-Author: Jason Zaman <ja...@perfinion.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    selinux: use openrc contexts path to get contexts
-    
-    The minimum requirement for libselinux is now >=2.6
-    The refpolicy and the gentoo policy contain the
-    contexts since version 2.20170204-r4
-
-commit 3fafd7a76e6adf15ec72a7ba5f44583eff8fab7a
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    sysfs: fix cgroup hybrid mode
-    
-    In hybrid mode, we should not try to mount cgroup2 if it is not
-    available in the kernel.
-    
-    This fixes #164.
-
-commit cd5722aca50f0eaddde7ce04ee00da53c313ba7d
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    cgroup2_find_path: use legacy mode if cgroup2 is not in the kernel
-    
-    This is related to #164.
-
-commit dcb4a4d2613a1fdf85651b32e5b7a87528f487bc
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    version 0.32
-
-commit e312e569970c74cf52e255da67034391b68dafac
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    Update ChangeLog
-
-commit 2f60a959b442866b0e879d83f2732c4fa3ed3f7d
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    update news file
-
-commit 25b45a5a239318fb57c405c3fe64e53b0738ad68
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    cgroup_cleanup: try to remove the cgroup version 2 cgroup
-    
-    If we were able to kill all the processes in the cgroup, it should be
-    removed.
-
-commit 4651b8c7e9e2ef9c1ea1fb8d174d1ca4693627af
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    rc-cgroup.sh: cgroup_cleanup fix error handling
-    
-    cgroup_cleanup should warn if it is unable to clean up all processes in
-    the control group, but it will always return success.
-
-commit 50608b54ed98acb54fec5fe3323909ea684d3af9
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    rc-cgroup.sh: fix signal names
-    
-    The "SIG" prefix on signal names passed to kill -s isn't portable.
-
-commit b0a077a35f85e266fdb82a245dcbda18664a8567
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    add quiet switch to do_stop in src-schedules.c
-    
-    This allows supervise-daemon to run this code without attempting to
-    print some status messages used by start-stop-daemon.
-
-commit 6a5ca2ab368d0a85f51bb559672dba2e3ffcc6be
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    make the procedure for killing child processes of services configurable
-
-commit 2b0345165e5af57ca61a4000c3671bbe6d677cf9
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    Make cgroup_cleanup send only one sigterm and sigkill
-    
-    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.
-
-commit 8885580986ab8adc951fe32b9323c8b16130fb4f
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    rc-cgroup.sh: move cgroup_cleanup to the end of the file
-
-commit 6d7713a758b7e78f05e6a3cc101f862d28d778ab
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    guide.md: clarify cgroups documentation
-    
-    Update the documentation to reflect cgroups version 2 support.
-    Also, add a section on dealing with orphaned service processes.
-    
-    This fixes #94.
-
-commit 457f928e793cb1f6ef254935ad07f58b8762c72f
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    add support for control groups version 2
-    
-    This is for #94.
-
-commit a71a461e452a98554346c47411e9c9012023c201
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    version 0.31
-
-commit a09b8af3f98c0700a9b838b7f3683ee58eecc912
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    Update ChangeLog
-
-commit 382efdbfcb99703d03211efacd800c9575e64230
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    add quiet parameter to run_stop_schedule
-
-commit 17b5cc78d35dc5fe4904e5951715c3e0d07d6343
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    add retry option to supervise-daemon
-    
-    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.
-
-commit 36a0ab9054512ade413226fb8e8b28060045e9a4
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    make run_stop_schedule accept a pid instead of a pid file
-
-commit 27c2bd997d5173aa30844a16bc22dc8caab09f8c
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    version 0.30
-
-commit d7938f54f29193251e083ad35a7d464949829096
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    start-stop-daemon: move --retry processing code to a shared module
-    
-    This was part of start-stop-daemon; however, it needs to be shared in
-    order to be used by supervise-daemon.
-
-commit cfbe9c2ede24dac530ef58e5c35bd57f22a788a3
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    move get_pid function to a shared file
-
-commit df28002b728b033c00c2da64dedf2bcd4ab5e11b
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    Update ChangeLog
-
-commit 66ed8082d0c865a0b4f4cc436cf9e13351e3d6fe
-Author: William Hubbs <w.d.hu...@gmail.com>
-Commit: William Hubbs <w.d.hu...@gmail.com>
-
-    sh/openrc-run: source service script before ulimit is processed
-    
-    This is needed to allow the service script author to set a default for
-    rc_ulimit inside the service script.

Reply via email to