Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:0.38.x commit in: /
Date: Fri, 19 Oct 2018 21:08:26
Message-Id: 1539983016.60f42c415d235a49dd461f610d5f7f578e926c35.williamh@OpenRC
1 commit: 60f42c415d235a49dd461f610d5f7f578e926c35
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 19 21:03:36 2018 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 19 21:03:36 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=60f42c41
7
8 Update ChangeLog
9
10 ChangeLog | 393 +++++---------------------------------------------------------
11 1 file changed, 29 insertions(+), 364 deletions(-)
12
13 diff --git a/ChangeLog b/ChangeLog
14 index e0bd4ae0..92017e07 100644
15 --- a/ChangeLog
16 +++ b/ChangeLog
17 @@ -1,4 +1,31 @@
18 -commit ed6804200401861aa0b52f0feccb750aa496d34e
19 +commit 93c8cbe68428dcf7823a6483d30698ba001f4271
20 +Author: Zac Medico <zmedico@×××××.com>
21 +Commit: William Hubbs <w.d.hubbs@×××××.com>
22 +
23 + supervise-daemon: fix respawn_max off by one
24 +
25 + Fix the comparison between respawn_count and respawn_max so that
26 + respawn_max = 1 will allow for one respawn. Since respawn_count is
27 + incremented before the comparison, use a 'greater than' comparison
28 + so that respawn will be triggered when respawn_count is equal to
29 + respawn_max.
30 +
31 + Fixes: https://github.com/OpenRC/openrc/issues/247
32 + Fixes: https://github.com/OpenRC/openrc/issues/248
33 +
34 +commit 386bdf66f9622b6a86847ff678077c5c6456d74e
35 +Author: William Hubbs <w.d.hubbs@×××××.com>
36 +Commit: William Hubbs <w.d.hubbs@×××××.com>
37 +
38 + version 0.38.3
39 +
40 +commit 81ab30c51dba9bfac71dd36c65e96bc1e3e5f2ae
41 +Author: William Hubbs <w.d.hubbs@×××××.com>
42 +Commit: William Hubbs <w.d.hubbs@×××××.com>
43 +
44 + Update ChangeLog
45 +
46 +commit d05c8c2159a9cbcf9286adbd6cbc3b0d5d2a3b43
47 Author: Zac Medico <zmedico@×××××.com>
48 Commit: William Hubbs <w.d.hubbs@×××××.com>
49
50 @@ -8,6 +35,7 @@ Commit: William Hubbs <w.d.hubbs@×××××.com>
51 with grsecurity kernels.
52
53 Fixes: 37e29442721a ("librc: Add check for crashed state")
54 + This fixes #237
55
56 commit 7850e12071891321f6564979e4e574eb775bf102
57 Author: William Hubbs <w.d.hubbs@×××××.com>
58 @@ -1308,366 +1336,3 @@ Commit: William Hubbs <w.d.hubbs@×××××.com>
59 program and adding --reexec support
60 - factor the supervisor into its own function
61 - fix test for whether we are already running
62 -
63 -commit 35b1996704f6635bb29ea3604410e133209e6432
64 -Author: William Hubbs <w.d.hubbs@×××××.com>
65 -Commit: William Hubbs <w.d.hubbs@×××××.com>
66 -
67 - supervise-daemon: elevate some log messages to warnings
68 -
69 - Prior to this change, we were logging unexpected terminations of daemons
70 - we were supervising at the info level. This change moves the logs to
71 - warnings.
72 -
73 -commit 3c8e7ed255edb8df0d548d6ce514544d5422cbf0
74 -Author: William Hubbs <w.d.hubbs@×××××.com>
75 -Commit: William Hubbs <w.d.hubbs@×××××.com>
76 -
77 - version 0.34
78 -
79 -commit acaed1f910a2a00fdd5b6aeab752c552075a7292
80 -Author: William Hubbs <w.d.hubbs@×××××.com>
81 -Commit: William Hubbs <w.d.hubbs@×××××.com>
82 -
83 - Update ChangeLog
84 -
85 -commit 91109e31d81ecd48f5690ad6f63103fca545dec7
86 -Author: William Hubbs <w.d.hubbs@×××××.com>
87 -Commit: William Hubbs <w.d.hubbs@×××××.com>
88 -
89 - update news
90 -
91 -commit 2b6eeea01d1c64d58929788f4bfa0758393885bf
92 -Author: William Hubbs <w.d.hubbs@×××××.com>
93 -Commit: William Hubbs <w.d.hubbs@×××××.com>
94 -
95 - man: remove service(8) man page
96 -
97 -commit a15de23e5713d840d871c526b46050983dc6ea1e
98 -Author: William Hubbs <w.d.hubbs@×××××.com>
99 -Commit: William Hubbs <w.d.hubbs@×××××.com>
100 -
101 - typo fix
102 -
103 -commit efa9ba485d9328f780f3e60dc18339c75974c6c6
104 -Author: William Hubbs <w.d.hubbs@×××××.com>
105 -Commit: William Hubbs <w.d.hubbs@×××××.com>
106 -
107 - init.d/sysfs.in: fix reference to RC_LIBEXECDIR
108 -
109 - The sysfs init script referred to @LIBEXECDIR@ before this change, but
110 - it is better to refer to RC_LIBEXECDIR so that we get rid of a sed
111 - substitution.
112 -
113 -commit d4ddd72701ff5533a1ba07b1da60806859c63d88
114 -Author: Chris Cromer <chris@××××××.cl>
115 -Commit: William Hubbs <w.d.hubbs@×××××.com>
116 -
117 - add option to make agetty startup quiet
118 -
119 - This fixes #150
120 -
121 -commit 1e9af2cd421423404ffe1491bd35af76c2885f1f
122 -Author: William Hubbs <w.d.hubbs@×××××.com>
123 -Commit: William Hubbs <w.d.hubbs@×××××.com>
124 -
125 - fix compiler warning
126 -
127 -commit 3c05db74f6e733890e9035c183a774db3d512512
128 -Author: William Hubbs <w.d.hubbs@×××××.com>
129 -Commit: William Hubbs <w.d.hubbs@×××××.com>
130 -
131 - remove service binary
132 -
133 - The service binary was just a synonym for rc-service, so use rc-service
134 - instead of service. If you want a "service" binary, it should be
135 - something that can determine which service manager you are running and
136 - run the appropriate service manager commands.
137 -
138 -commit edc54b03770d5f58d1a4969d06c28660003dfb04
139 -Author: William Hubbs <w.d.hubbs@×××××.com>
140 -Commit: William Hubbs <w.d.hubbs@×××××.com>
141 -
142 - version 0.33
143 -
144 -commit 8e53a3fa8a33fb714064ddbe38bff2213fcf6837
145 -Author: William Hubbs <w.d.hubbs@×××××.com>
146 -Commit: William Hubbs <w.d.hubbs@×××××.com>
147 -
148 - Update ChangeLog
149 -
150 -commit 7f3b41311119e3a96a15b0fb473b44f422e903e9
151 -Author: William Hubbs <w.d.hubbs@×××××.com>
152 -Commit: William Hubbs <w.d.hubbs@×××××.com>
153 -
154 - use printf consistently in cgroups handling
155 -
156 - This makes the cgroups handling consistent between cgroups v1 and v2.
157 - Also, it fixes #167.
158 -
159 -commit 1ccba056584ee1a8e09fb1d5eebd988b47912c06
160 -Author: William Hubbs <w.d.hubbs@×××××.com>
161 -Commit: William Hubbs <w.d.hubbs@×××××.com>
162 -
163 - sh/rc-functions.sh: add need_if_exists convenience function
164 -
165 -commit c46adf14343df3a74aef7e4ae5be175ae5fa7a01
166 -Author: William Hubbs <w.d.hubbs@×××××.com>
167 -Commit: William Hubbs <w.d.hubbs@×××××.com>
168 -
169 - man/openrc-run.8: Clarify the explanation of the need dependency
170 -
171 -commit 1cac8b080c16f9aab19c7a3ae1ca155c20dfa14d
172 -Author: William Hubbs <w.d.hubbs@×××××.com>
173 -Commit: William Hubbs <w.d.hubbs@×××××.com>
174 -
175 - ignore sigchld when shutting down the supervised process
176 -
177 - We need to do this to skip the zombie state for the child process since
178 - we are not easily able to wait() for it.
179 -
180 -commit b58194ef63ec8c0a7e0ea3c291da9c19aa83cb1a
181 -Author: William Hubbs <w.d.hubbs@×××××.com>
182 -Commit: William Hubbs <w.d.hubbs@×××××.com>
183 -
184 - typo fix
185 -
186 -commit b28c0d6f66e42b1e6d2a39c286a18c8d92881790
187 -Author: William Hubbs <w.d.hubbs@×××××.com>
188 -Commit: William Hubbs <w.d.hubbs@×××××.com>
189 -
190 - typo fix
191 -
192 -commit 3cf19b0f30a90157d23d09ded304439f1eb42d4a
193 -Author: William Hubbs <w.d.hubbs@×××××.com>
194 -Commit: William Hubbs <w.d.hubbs@×××××.com>
195 -
196 - supervise-daemon: code cleanup
197 -
198 - Clean up the process for killing an active supervisor when stopping.
199 -
200 -commit 0eb47b9af340dd07209a3920944ed085fe7bd359
201 -Author: William Hubbs <w.d.hubbs@×××××.com>
202 -Commit: William Hubbs <w.d.hubbs@×××××.com>
203 -
204 - initialize the stop schedule
205 -
206 -commit 4ab60ff10935122277bbaed437f82a765279cd19
207 -Author: William Hubbs <w.d.hubbs@×××××.com>
208 -Commit: William Hubbs <w.d.hubbs@×××××.com>
209 -
210 - rc-schedules.c: pass the correct pid to rc_find_pids
211 -
212 - This is for #163.
213 -
214 -commit db4a578273dbfa15b8b96686391bcc9ecc04b646
215 -Author: Jason Zaman <jason@×××××××××.com>
216 -Commit: William Hubbs <w.d.hubbs@×××××.com>
217 -
218 - selinux: fix const qualifier warning
219 -
220 - rc-selinux.c: In function ‘selinux_setup’:
221 - rc-selinux.c:361:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
222 - curr_t = context_type_get(curr_con);
223 - ^
224 -
225 -commit b1c3422f453921e838d419640fe39144dbf8d13d
226 -Author: Jason Zaman <jason@×××××××××.com>
227 -Commit: William Hubbs <w.d.hubbs@×××××.com>
228 -
229 - selinux: use openrc contexts path to get contexts
230 -
231 - The minimum requirement for libselinux is now >=2.6
232 - The refpolicy and the gentoo policy contain the
233 - contexts since version 2.20170204-r4
234 -
235 -commit 3fafd7a76e6adf15ec72a7ba5f44583eff8fab7a
236 -Author: William Hubbs <w.d.hubbs@×××××.com>
237 -Commit: William Hubbs <w.d.hubbs@×××××.com>
238 -
239 - sysfs: fix cgroup hybrid mode
240 -
241 - In hybrid mode, we should not try to mount cgroup2 if it is not
242 - available in the kernel.
243 -
244 - This fixes #164.
245 -
246 -commit cd5722aca50f0eaddde7ce04ee00da53c313ba7d
247 -Author: William Hubbs <w.d.hubbs@×××××.com>
248 -Commit: William Hubbs <w.d.hubbs@×××××.com>
249 -
250 - cgroup2_find_path: use legacy mode if cgroup2 is not in the kernel
251 -
252 - This is related to #164.
253 -
254 -commit dcb4a4d2613a1fdf85651b32e5b7a87528f487bc
255 -Author: William Hubbs <w.d.hubbs@×××××.com>
256 -Commit: William Hubbs <w.d.hubbs@×××××.com>
257 -
258 - version 0.32
259 -
260 -commit e312e569970c74cf52e255da67034391b68dafac
261 -Author: William Hubbs <w.d.hubbs@×××××.com>
262 -Commit: William Hubbs <w.d.hubbs@×××××.com>
263 -
264 - Update ChangeLog
265 -
266 -commit 2f60a959b442866b0e879d83f2732c4fa3ed3f7d
267 -Author: William Hubbs <w.d.hubbs@×××××.com>
268 -Commit: William Hubbs <w.d.hubbs@×××××.com>
269 -
270 - update news file
271 -
272 -commit 25b45a5a239318fb57c405c3fe64e53b0738ad68
273 -Author: William Hubbs <w.d.hubbs@×××××.com>
274 -Commit: William Hubbs <w.d.hubbs@×××××.com>
275 -
276 - cgroup_cleanup: try to remove the cgroup version 2 cgroup
277 -
278 - If we were able to kill all the processes in the cgroup, it should be
279 - removed.
280 -
281 -commit 4651b8c7e9e2ef9c1ea1fb8d174d1ca4693627af
282 -Author: William Hubbs <w.d.hubbs@×××××.com>
283 -Commit: William Hubbs <w.d.hubbs@×××××.com>
284 -
285 - rc-cgroup.sh: cgroup_cleanup fix error handling
286 -
287 - cgroup_cleanup should warn if it is unable to clean up all processes in
288 - the control group, but it will always return success.
289 -
290 -commit 50608b54ed98acb54fec5fe3323909ea684d3af9
291 -Author: William Hubbs <w.d.hubbs@×××××.com>
292 -Commit: William Hubbs <w.d.hubbs@×××××.com>
293 -
294 - rc-cgroup.sh: fix signal names
295 -
296 - The "SIG" prefix on signal names passed to kill -s isn't portable.
297 -
298 -commit b0a077a35f85e266fdb82a245dcbda18664a8567
299 -Author: William Hubbs <w.d.hubbs@×××××.com>
300 -Commit: William Hubbs <w.d.hubbs@×××××.com>
301 -
302 - add quiet switch to do_stop in src-schedules.c
303 -
304 - This allows supervise-daemon to run this code without attempting to
305 - print some status messages used by start-stop-daemon.
306 -
307 -commit 6a5ca2ab368d0a85f51bb559672dba2e3ffcc6be
308 -Author: William Hubbs <w.d.hubbs@×××××.com>
309 -Commit: William Hubbs <w.d.hubbs@×××××.com>
310 -
311 - make the procedure for killing child processes of services configurable
312 -
313 -commit 2b0345165e5af57ca61a4000c3671bbe6d677cf9
314 -Author: William Hubbs <w.d.hubbs@×××××.com>
315 -Commit: William Hubbs <w.d.hubbs@×××××.com>
316 -
317 - Make cgroup_cleanup send only one sigterm and sigkill
318 -
319 - Instead of looping and sending multiple signals to child processes in
320 - cgroup_cleanup, we send sigterm followed by sleeping one second then
321 - sigkill.
322 -
323 - This brings us more in line with systemd's "control group" killmode
324 - setting.
325 -
326 - Also, this commit includes several shellcheck cleanups.
327 -
328 -commit 8885580986ab8adc951fe32b9323c8b16130fb4f
329 -Author: William Hubbs <w.d.hubbs@×××××.com>
330 -Commit: William Hubbs <w.d.hubbs@×××××.com>
331 -
332 - rc-cgroup.sh: move cgroup_cleanup to the end of the file
333 -
334 -commit 6d7713a758b7e78f05e6a3cc101f862d28d778ab
335 -Author: William Hubbs <w.d.hubbs@×××××.com>
336 -Commit: William Hubbs <w.d.hubbs@×××××.com>
337 -
338 - guide.md: clarify cgroups documentation
339 -
340 - Update the documentation to reflect cgroups version 2 support.
341 - Also, add a section on dealing with orphaned service processes.
342 -
343 - This fixes #94.
344 -
345 -commit 457f928e793cb1f6ef254935ad07f58b8762c72f
346 -Author: William Hubbs <w.d.hubbs@×××××.com>
347 -Commit: William Hubbs <w.d.hubbs@×××××.com>
348 -
349 - add support for control groups version 2
350 -
351 - This is for #94.
352 -
353 -commit a71a461e452a98554346c47411e9c9012023c201
354 -Author: William Hubbs <w.d.hubbs@×××××.com>
355 -Commit: William Hubbs <w.d.hubbs@×××××.com>
356 -
357 - version 0.31
358 -
359 -commit a09b8af3f98c0700a9b838b7f3683ee58eecc912
360 -Author: William Hubbs <w.d.hubbs@×××××.com>
361 -Commit: William Hubbs <w.d.hubbs@×××××.com>
362 -
363 - Update ChangeLog
364 -
365 -commit 382efdbfcb99703d03211efacd800c9575e64230
366 -Author: William Hubbs <w.d.hubbs@×××××.com>
367 -Commit: William Hubbs <w.d.hubbs@×××××.com>
368 -
369 - add quiet parameter to run_stop_schedule
370 -
371 -commit 17b5cc78d35dc5fe4904e5951715c3e0d07d6343
372 -Author: William Hubbs <w.d.hubbs@×××××.com>
373 -Commit: William Hubbs <w.d.hubbs@×××××.com>
374 -
375 - add retry option to supervise-daemon
376 -
377 - The --retry option for supervise-daemon defines how the supervisor will
378 - attempt to stop the child process it is monitoring. It is defined when
379 - the supervisor is started since stopping the supervisor just sends a
380 - signal to the active supervisor.
381 -
382 - This fixes #160.
383 -
384 -commit 36a0ab9054512ade413226fb8e8b28060045e9a4
385 -Author: William Hubbs <w.d.hubbs@×××××.com>
386 -Commit: William Hubbs <w.d.hubbs@×××××.com>
387 -
388 - make run_stop_schedule accept a pid instead of a pid file
389 -
390 -commit 27c2bd997d5173aa30844a16bc22dc8caab09f8c
391 -Author: William Hubbs <w.d.hubbs@×××××.com>
392 -Commit: William Hubbs <w.d.hubbs@×××××.com>
393 -
394 - version 0.30
395 -
396 -commit d7938f54f29193251e083ad35a7d464949829096
397 -Author: William Hubbs <w.d.hubbs@×××××.com>
398 -Commit: William Hubbs <w.d.hubbs@×××××.com>
399 -
400 - start-stop-daemon: move --retry processing code to a shared module
401 -
402 - This was part of start-stop-daemon; however, it needs to be shared in
403 - order to be used by supervise-daemon.
404 -
405 -commit cfbe9c2ede24dac530ef58e5c35bd57f22a788a3
406 -Author: William Hubbs <w.d.hubbs@×××××.com>
407 -Commit: William Hubbs <w.d.hubbs@×××××.com>
408 -
409 - move get_pid function to a shared file
410 -
411 -commit df28002b728b033c00c2da64dedf2bcd4ab5e11b
412 -Author: William Hubbs <w.d.hubbs@×××××.com>
413 -Commit: William Hubbs <w.d.hubbs@×××××.com>
414 -
415 - Update ChangeLog
416 -
417 -commit 66ed8082d0c865a0b4f4cc436cf9e13351e3d6fe
418 -Author: William Hubbs <w.d.hubbs@×××××.com>
419 -Commit: William Hubbs <w.d.hubbs@×××××.com>
420 -
421 - sh/openrc-run: source service script before ulimit is processed
422 -
423 - This is needed to allow the service script author to set a default for
424 - rc_ulimit inside the service script.