1 |
commit: 6762cb875c9c039b79dcc447b9d0eb65356a7708 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 31 21:53:25 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 31 21:53:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6762cb87 |
7 |
|
8 |
Update ChangeLog |
9 |
|
10 |
ChangeLog | 780 ++++++++++++++++++++++++++------------------------------------ |
11 |
1 file changed, 331 insertions(+), 449 deletions(-) |
12 |
|
13 |
diff --git a/ChangeLog b/ChangeLog |
14 |
index 59ead5ca..3a0139ab 100644 |
15 |
--- a/ChangeLog |
16 |
+++ b/ChangeLog |
17 |
@@ -1,3 +1,334 @@ |
18 |
+commit 6edf516a1fe0ad4f4e8738f9fdd1bf0bc7718361 |
19 |
+Author: Austin English <austinenglish@×××××.com> |
20 |
+Commit: Doug Freed <dwfreed@×××.edu> |
21 |
+ |
22 |
+ sh/supervise-daemon.sh: use start_stop_daemon_args if supervise_daemon_args is undefined |
23 |
+ |
24 |
+commit 7e56a49e23c810673b83e48eb9ca36229bb4016e |
25 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
26 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
27 |
+ |
28 |
+ Logger: only log printable characters and newlines |
29 |
+ |
30 |
+ X-Gentoo-Bug: 651412 |
31 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412 |
32 |
+ |
33 |
+commit fa5aea80c50fb724d2c98a6542307adbafd0e62d |
34 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
35 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
36 |
+ |
37 |
+ openrc-run.sh: move crashed test outside started test |
38 |
+ |
39 |
+ This is handled inside librc, so we don't need the nesting in this |
40 |
+ script. |
41 |
+ |
42 |
+commit 0f4fa41574a4ebf8117493e5411f8ab522010467 |
43 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
44 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
45 |
+ |
46 |
+ Add mark_service_crashed binary |
47 |
+ |
48 |
+commit 5d6dd97bba3559b57fb1c1de35e644c6dbd6baa7 |
49 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
50 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
51 |
+ |
52 |
+ rc-misc: add the crashed state |
53 |
+ |
54 |
+commit 37e29442721af0dc3846e87ef2b85a474af3cf2b |
55 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
56 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
57 |
+ |
58 |
+ librc: Add check for crashed state |
59 |
+ |
60 |
+ In rc_service_state,, call rc_service_daemons_crashed to check for |
61 |
+ a crashed daemon if the service is started. |
62 |
+ |
63 |
+commit 4e0eace837287845504c9895429dc9f64872d075 |
64 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
65 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
66 |
+ |
67 |
+ librc: Add crashed state |
68 |
+ |
69 |
+commit faa8318b3ba278544413a39d4a5ae4457711793f |
70 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
71 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
72 |
+ |
73 |
+ Remove the _rc_can_find_pids function |
74 |
+ |
75 |
+ This test to find if we could see pid 1 was being used inconsistently in |
76 |
+ rc-status and mark_service_crashed to decide whether we could test to |
77 |
+ see if the daemon for the service was crashed, and it was not part of |
78 |
+ the librc library. |
79 |
+ |
80 |
+ I am removing it from the executables because of inconsistent usage. I |
81 |
+ will add it to the library if it is needed there. |
82 |
+ |
83 |
+commit 08da36149c0b41c64a09369c3eef5e2f5a6fa39c |
84 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
85 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
86 |
+ |
87 |
+ rc-service: add --ifstarted and --ifstopped options |
88 |
+ |
89 |
+commit 56870d0db18209396f8276bdc05d413fe4dd7a88 |
90 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
91 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
92 |
+ |
93 |
+ Man: rc-service man page cleanups |
94 |
+ |
95 |
+commit 4d47ce440c3e8f193cff82a77e6691ee6e7fac33 |
96 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
97 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
98 |
+ |
99 |
+ rc-service: add -d/--debug and -D/--nodeps options |
100 |
+ |
101 |
+commit 958f57d895b6573b39e62097e5e9881f16174715 |
102 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
103 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
104 |
+ |
105 |
+ openrc-run: respect the RC_NODEPS environment variable |
106 |
+ |
107 |
+commit 04886efd85328988657c34440da9ba6aa2841cfd |
108 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
109 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
110 |
+ |
111 |
+ Add RC_DEBUG and RC_NODEPS to environment whitelist |
112 |
+ |
113 |
+ These are needed so rc-service can pass debug and nodeps options to |
114 |
+ openrc-run. |
115 |
+ |
116 |
+commit d980798d6444bbfc508796a233e962bf4dd61275 |
117 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
118 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
119 |
+ |
120 |
+ openrc-run: respect the IN_DRYRUN environment variable |
121 |
+ |
122 |
+ This allows rc-service to pass the tryrun option to openrc-run. |
123 |
+ |
124 |
+ This is for #225. |
125 |
+ |
126 |
+commit 414a9aae6ce066d2a6ad42e7e24d1c12a7b46409 |
127 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
128 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
129 |
+ |
130 |
+ rc-misc.c: Add IN_DRYRUN to environment whitelist |
131 |
+ |
132 |
+ This allows rc-service to pass the dryrun option to openrc-run. |
133 |
+ |
134 |
+ This is for #225. |
135 |
+ |
136 |
+commit a7f475ca04856ef8232364c5b0c3191566b0696c |
137 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
138 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
139 |
+ |
140 |
+ rc-service: add a --dry-run option |
141 |
+ |
142 |
+ This is for #225. |
143 |
+ |
144 |
+commit 3c53680018c1799d0d804e241a9fa4d3b9423896 |
145 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
146 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
147 |
+ |
148 |
+ build: standardize installation modes |
149 |
+ |
150 |
+ Gentoo was changing some of our installation modes from 0444 to 0644. |
151 |
+ There isn't a reason to install things 0444, so we are switching these |
152 |
+ to 0644 so the Gentoo ebuild doesn't need this extra step. |
153 |
+ |
154 |
+commit f0ad647303daca528cb9b75f9a07d422318635c2 |
155 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
156 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
157 |
+ |
158 |
+ Revert "savecache: stop saving the dependency tree" |
159 |
+ |
160 |
+ It is safe to save the deptree, but we also need to regenerate it at |
161 |
+ boot time. |
162 |
+ |
163 |
+commit b35e03b6b1acc841ac33f601dd39c1152523621e |
164 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
165 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
166 |
+ |
167 |
+ Revert "Logger: only log printable characters and newlines" |
168 |
+ |
169 |
+ This reverts commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf. |
170 |
+ This seems to create issues shutting down, so I need to look into it |
171 |
+ further. |
172 |
+ |
173 |
+commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf |
174 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
175 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
176 |
+ |
177 |
+ Logger: only log printable characters and newlines |
178 |
+ |
179 |
+ X-Gentoo-Bug: 651412 |
180 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412 |
181 |
+ |
182 |
+commit a3d0e293eebcb92564c473e61ca42724844fb279 |
183 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
184 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
185 |
+ |
186 |
+ Remove localmount from dependencies for linux-only services |
187 |
+ |
188 |
+ This removes localmount from the dependencies of the consolefont, |
189 |
+ keymaps, numlock and procfs services. |
190 |
+ |
191 |
+ These services are Linux only and the default modern linux system has / |
192 |
+ and /usr on the same file system. |
193 |
+ |
194 |
+ This also fixes the following issue. |
195 |
+ |
196 |
+ X-Gentoo-Bug: 651998 |
197 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651998 |
198 |
+ |
199 |
+commit 0200002b8cbd061ac79b6aed4024220cd0386d2c |
200 |
+Author: Andrey Utkin <andrey_utkin@g.o> |
201 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
202 |
+ |
203 |
+ start-stop-daemon: don't fail stopping if pidfile is gone |
204 |
+ |
205 |
+ If pidfile does not exist when we are stopping the daemon, assume it is |
206 |
+ already stopped, and report success. |
207 |
+ |
208 |
+ hostapd is an example of a daemon which removes its pidfile when it is |
209 |
+ exiting. If this daemon terminates prematurely, that is, without s-s-d |
210 |
+ involvement, then openrc fails to restart it, because s-s-d "stop" |
211 |
+ command fails when pidfile is missing. |
212 |
+ |
213 |
+ X-Gentoo-Bug: 646274 |
214 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/646274 |
215 |
+ |
216 |
+commit f4e2142089487b7f5c99da949d7bf8d038724df7 |
217 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
218 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
219 |
+ |
220 |
+ Add _POSIX_C_SOURCE definition to Linux build |
221 |
+ |
222 |
+ We need this to allow builds on uclibc-ng based systems. |
223 |
+ |
224 |
+ X-Gentoo-Bug: 650908 |
225 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650908 |
226 |
+ |
227 |
+commit 49a90f27a848ba02a363fc0c844d6284728bdd73 |
228 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
229 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
230 |
+ |
231 |
+ typo fix |
232 |
+ |
233 |
+commit 2ae60ca0419d60c86904a8e15e71e902549e18d4 |
234 |
+Author: Scall <Scall@××××××××××××××××××××.com> |
235 |
+Commit: Doug Freed <dwfreed@×××.edu> |
236 |
+ |
237 |
+ rc-update: fix typo |
238 |
+ |
239 |
+commit 6b475ab26992f1dd8815700828df46abc4b71d27 |
240 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
241 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
242 |
+ |
243 |
+ init.d/modules: add code from modules-load service |
244 |
+ |
245 |
+ There is no reason for these to be separate services. I did add a |
246 |
+ provide so that we don't break backward compatibility. |
247 |
+ |
248 |
+commit b302b0c094c2c99b810aec9c8877adcd1effabac |
249 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
250 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
251 |
+ |
252 |
+ net-online: always start after net |
253 |
+ |
254 |
+ X-Gentoo-Bug: 650600 |
255 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650600 |
256 |
+ |
257 |
+commit 40aa69cf3a99fa080375a702631da4d2311ebf3e |
258 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
259 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
260 |
+ |
261 |
+ agetty.in: allow status to be displayed |
262 |
+ |
263 |
+commit 5346fbf2c90b33b3abc01588e4727d4402f8db62 |
264 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
265 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
266 |
+ |
267 |
+ supervise-daemon: fix off-by-one error |
268 |
+ |
269 |
+commit 92e6bdee12fa9d87a2535446ceccee261305e87c |
270 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
271 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
272 |
+ |
273 |
+ Use _BSD_SOURCE on FreeBSD |
274 |
+ |
275 |
+commit 71f275b2aa04d9a9323a49d1421796c4d50b1436 |
276 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
277 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
278 |
+ |
279 |
+ typo fix |
280 |
+ |
281 |
+commit 6dc0d0af333592203fabd4746279bb15d2801c0b |
282 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
283 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
284 |
+ |
285 |
+ Remove _XOPEN_SOURCE macros from builds |
286 |
+ |
287 |
+commit 59a9e53378891be7b12ed304ccb609e27da70751 |
288 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
289 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
290 |
+ |
291 |
+ Add _POSIX_C_SOURCE macro to FreeBSD build |
292 |
+ |
293 |
+commit 122768d339175c925a1a228792f4725b7c802f46 |
294 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
295 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
296 |
+ |
297 |
+ man: document default retry specification for supervise-daemon |
298 |
+ |
299 |
+commit fa3c60c0d8fd2267be5c1b156530b136a2503088 |
300 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
301 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
302 |
+ |
303 |
+ man: document default retry sppecification for start-stop-daemon |
304 |
+ |
305 |
+commit 61905bfcf560219939c902dbb8fe9bc5088a42cf |
306 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
307 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
308 |
+ |
309 |
+ Clean up cgroups v2 code |
310 |
+ |
311 |
+ Remove the IFS manipulation and simplify the loop that processes the |
312 |
+ settings. |
313 |
+ |
314 |
+commit 3e68013631765e00eddf118bc24e38254e7f6d64 |
315 |
+Author: Scall <Scall@××××××××××××××××××××.com> |
316 |
+Commit: Doug Freed <dwfreed@×××.edu> |
317 |
+ |
318 |
+ init.d: swap should always be started after root |
319 |
+ |
320 |
+ Otherwise if a swap file is being used, and swap is started before |
321 |
+ root, swapon may fail because of a read-only filesystem. |
322 |
+ |
323 |
+commit b46123f2e19a5eb8dc02b898e8c20a2ccc211615 |
324 |
+Author: Chris Cromer <cromerc@××××××××××××××××××××.com> |
325 |
+Commit: Doug Freed <dwfreed@×××.edu> |
326 |
+ |
327 |
+ openrc-run: fix memory size (#213) |
328 |
+ |
329 |
+ Fixes #212 |
330 |
+ |
331 |
+commit 109869641f7b58d07819f6b65d7b085abf75083b |
332 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
333 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
334 |
+ |
335 |
+ fix build on FreeBSD |
336 |
+ |
337 |
+commit e8a2305de0320dc98bf187bb97f936e2dc4a4554 |
338 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
339 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
340 |
+ |
341 |
+ version 0.36 |
342 |
+ |
343 |
+commit f62975a1f8c4d5d4abdf78d8cad5509216138f03 |
344 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
345 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
346 |
+ |
347 |
+ Update ChangeLog |
348 |
+ |
349 |
commit 5bb6f9aa318a6d0507971b74d88c3fd2803bae4b |
350 |
Author: Jason Zaman <jason@×××××××××.com> |
351 |
Commit: William Hubbs <w.d.hubbs@×××××.com> |
352 |
@@ -1395,452 +1726,3 @@ Author: William Hubbs <w.d.hubbs@×××××.com> |
353 |
Commit: William Hubbs <w.d.hubbs@×××××.com> |
354 |
|
355 |
openrc-init: add optional sysvinit compatibility |
356 |
- |
357 |
-commit 44bac3c3798f7eb9186c3ea8774552aa191bfae7 |
358 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
359 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
360 |
- |
361 |
- Change killprocs to use kill_all instead of killall5 |
362 |
- |
363 |
- X-Gentoo-Bug:376977 |
364 |
- X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977 |
365 |
- |
366 |
-commit 0ddee9b7d2b8dea810e252ca6a95c457876df120 |
367 |
-Author: Sergei Trofimovich <slyfox@g.o> |
368 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
369 |
- |
370 |
- openrc-init: fix buffer overflow in init.ctl |
371 |
- |
372 |
- How to reproduce 1-byte overflow: |
373 |
- |
374 |
- ``` |
375 |
- $ FEATURES=-test CFLAGS="-fsanitize=address -O0 -ggdb3" emerge -1 openrc |
376 |
- |
377 |
- ================================================================= |
378 |
- ==1==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff0efd8710 |
379 |
- at pc 0x000000402076 bp 0x7fff0efd7d50 sp 0x7fff0efd7d40 |
380 |
- WRITE of size 1 at 0x7fff0efd8710 thread T0 |
381 |
- #0 0x402075 (/sbin/openrc-init+0x402075) |
382 |
- #1 0x3cf6e2070f in __libc_start_main (/lib64/libc.so.6+0x3cf6e2070f) |
383 |
- #2 0x4013b8 (/sbin/openrc-init+0x4013b8) |
384 |
- |
385 |
- Address 0x7fff0efd8710 is located in stack of thread T0 at offset 2432 in frame |
386 |
- #0 0x401cfb (/sbin/openrc-init+0x401cfb) |
387 |
- |
388 |
- This frame has 3 object(s): |
389 |
- [32, 160) 'signals' |
390 |
- [192, 344) 'sa' |
391 |
- [384, 2432) 'buf' <== Memory access at offset 2432 overflows this variable |
392 |
- HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext |
393 |
- (longjmp and C++ exceptions *are* supported) |
394 |
- SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 ?? |
395 |
- ``` |
396 |
- |
397 |
- The problem here is in the code handling reads from 'init.ctl': |
398 |
- |
399 |
- ``` |
400 |
- int main(int argc, char **argv) { |
401 |
- ... |
402 |
- char buf[2048]; |
403 |
- for (;;) { |
404 |
- /* This will block until a command is sent down the pipe... */ |
405 |
- fifo = fopen(RC_INIT_FIFO, "r"); |
406 |
- count = fread(buf, 1, 2048, fifo); |
407 |
- buf[count] = 0; |
408 |
- ... |
409 |
- } |
410 |
- ``` |
411 |
- |
412 |
- `buf[count] = 0;` writes outside the buffer when `fread()` returns non-truncated read. |
413 |
- |
414 |
- This fixes #138. |
415 |
- |
416 |
-commit 688566c535111a141f77caf88db12a4338544f7b |
417 |
-Author: Sergei Trofimovich <slyfox@×××××.ru> |
418 |
-Commit: Doug Freed <dwfreed@×××.edu> |
419 |
- |
420 |
- mk/cc.mk: make implicit function declarations fatal (#136) |
421 |
- |
422 |
- Avoids issues with missing prototypes causing truncation of pointers. |
423 |
- |
424 |
- Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
425 |
- |
426 |
-commit 7185e242ffaa8cd1b672fe4726502a196fd779c2 |
427 |
-Author: Sergei Trofimovich <slyfox@×××××.ru> |
428 |
-Commit: Doug Freed <dwfreed@×××.edu> |
429 |
- |
430 |
- rc-logger.c: fix crash on fclose(NULL) (#137) |
431 |
- |
432 |
- Only close the log if we successfully opened it. |
433 |
- |
434 |
- Reported-by: Brian Evans <grknight@g.o> |
435 |
- Tested-by: Brian Evans <grknight@g.o> |
436 |
- Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
437 |
- |
438 |
-commit ec27299f4b88daa80261298fafea76ae634744d9 |
439 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
440 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
441 |
- |
442 |
- typo fix |
443 |
- |
444 |
- X-Gentoo-Bug: 618888 |
445 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=618888 |
446 |
- |
447 |
-commit 1ece16bfcd0ab71d2f9fe17a75ee6184e0fa4828 |
448 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
449 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
450 |
- |
451 |
- openrc-shutdown: add dry-run option |
452 |
- |
453 |
-commit 0cfd0dd9ef580ed9dc563ccc164d70efe8f299db |
454 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
455 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
456 |
- |
457 |
- openrc-shutdown: move to single user mode by default |
458 |
- |
459 |
- To be more compatible with sysvinit, move to single user mode if no |
460 |
- options are specified on the command line. |
461 |
- |
462 |
-commit a77ee2e94191ba1a286b8a6835f76556481566ba |
463 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
464 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
465 |
- |
466 |
- init: add ability to switch to single user mode |
467 |
- |
468 |
-commit 49b8a573a195f4b2cee992cd10678694da0a6f4f |
469 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
470 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
471 |
- |
472 |
- add kill_all helper |
473 |
- |
474 |
- This is similar to the sysvinit killall5 utility. It should only be used |
475 |
- in service scripts, so it will not be installed in the path. |
476 |
- |
477 |
- This closes #129. |
478 |
- |
479 |
-commit a2055af90054f5125cc07d4851b1dc9d16815e7c |
480 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
481 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
482 |
- |
483 |
- rc_status: calculate time differences in time_t and display seconds in uptime |
484 |
- |
485 |
-commit cbf96967f1b6dc72ae16203dfbbb844bd08e8b6b |
486 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
487 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
488 |
- |
489 |
- supervise-daemon: save start time and respawn count before dropping privs |
490 |
- |
491 |
-commit f1013037b47cdd6344f1b3ed92b7f84d7fcca01f |
492 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
493 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
494 |
- |
495 |
- version 0.27 |
496 |
- |
497 |
-commit e4bfb4530a86a4ccdff312c857df37fa0da36fd6 |
498 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
499 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
500 |
- |
501 |
- update ChangeLog |
502 |
- |
503 |
-commit 78e0042eccaf5a5554b195ad391b3ab0b8974cf6 |
504 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
505 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
506 |
- |
507 |
- man/rc-status: document changes for supervised daemons |
508 |
- |
509 |
- rc-status now shows the amount of time a supervised daemon has been |
510 |
- active as well as the number of times it has been respawned during the |
511 |
- current respawn period. |
512 |
- |
513 |
-commit 82e12e309247bc84abf29aca04b3a2dd845fa11b |
514 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
515 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
516 |
- |
517 |
- rc-status: show uptimes and respawn counts for supervised daemons |
518 |
- |
519 |
-commit 1ebef0d7a38ec0a9635418b75c3aabb564c1577e |
520 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
521 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
522 |
- |
523 |
- fix to_time_t to honor dst |
524 |
- |
525 |
-commit 6b4050ab9cf9d678a1d6b7af7af7494f8533dbca |
526 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
527 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
528 |
- |
529 |
- fix from_time_t function |
530 |
- |
531 |
-commit cf5e9aa2bbcdf1783fadeab26586c1134929d928 |
532 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
533 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
534 |
- |
535 |
- Move time_t conversions to rc-misc.c so they can be shared |
536 |
- |
537 |
-commit a3250e77d412f2290e381b9e7569930d95e4fc5b |
538 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
539 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
540 |
- |
541 |
- supervise-daemon: save start time and respawn count |
542 |
- |
543 |
- This will allow rc-status to display an uptime and restart count for |
544 |
- supervised processes. |
545 |
- |
546 |
-commit df027ca4722c8755b23a65db75728b835ccca807 |
547 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
548 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
549 |
- |
550 |
- supervise-daemon: fix our status when we give up on the child process |
551 |
- |
552 |
-commit 4c89e3f5fa1c65ccd0c843f98e4013c2085f243f |
553 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
554 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
555 |
- |
556 |
- supervise-daemon:create multiple options from --respawn-limit |
557 |
- |
558 |
- This creates --respawn-delay, --respawn-max and --respawn-period. It was |
559 |
- suggested that it would be easier to follow if the options were |
560 |
- separated. |
561 |
- |
562 |
- This is for #126. |
563 |
- |
564 |
-commit 3673040722b75c0a4d06fbeb272f917c7d1ea7c4 |
565 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
566 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
567 |
- |
568 |
- supervise-daemon: add a --respawn-limit option |
569 |
- |
570 |
- Allow limiting the number of times supervise-daemon will attempt to respawn a |
571 |
- daemon once it has died to prevent infinite respawning. Also, set a |
572 |
- reasonable default limit (10 times in a 5 second period). |
573 |
- |
574 |
- This is for issue #126. |
575 |
- |
576 |
-commit 96c8ba2fb5f91a711ef5bfcfd8affe0b74ad18fe |
577 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
578 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
579 |
- |
580 |
- supervise-daemon: mark all open file descriptors FD_CLOEXEC |
581 |
- |
582 |
-commit 47cf1d0c707dc88d216bebc15be3f39d5eb47fa9 |
583 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
584 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
585 |
- |
586 |
- supervise-daemon:remove the controlling tty in the supervisor |
587 |
- |
588 |
-commit 06a6a27e441372164872c7712b80728527a6ec05 |
589 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
590 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
591 |
- |
592 |
- supervise-daemon: fix access to tty_fd and devnull_fd |
593 |
- |
594 |
- Both the child and supervisor need access to these file descriptors. |
595 |
- |
596 |
-commit 5de3798afc55ce147e65926f863ec9c9cef60e79 |
597 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
598 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
599 |
- |
600 |
- supervise-daemon: mark the service started when the supervisor is active |
601 |
- |
602 |
-commit 6ac094a59cf7b51d8527af15b07feca707a635c8 |
603 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
604 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
605 |
- |
606 |
- version 0.26 |
607 |
- |
608 |
-commit 84c81ca02d7077a619dc704ff654385846fcd2b4 |
609 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
610 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
611 |
- |
612 |
- update ChangeLog |
613 |
- |
614 |
-commit 0e3f8720984d7d5752a78a4135cd268e4f83b3d7 |
615 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
616 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
617 |
- |
618 |
- init: send term/kill signals as final step of shutdown |
619 |
- |
620 |
-commit 5fd3747b190887d094225547f23007d25e2d9592 |
621 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
622 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
623 |
- |
624 |
- reword the bugs section of the openrc-init man page |
625 |
- |
626 |
-commit 4694900190a9078397bb9083328b68b489af92f4 |
627 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
628 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
629 |
- |
630 |
- init: fix signal handling |
631 |
- |
632 |
- The only signals we handle are SIGINT and SIGCHLD, so block all others |
633 |
- and unblock them in the child process before we start a rurnlevel. |
634 |
- |
635 |
-commit 05738bfce120114037d4f02c67ec740813f94b89 |
636 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
637 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
638 |
- |
639 |
- init: add re-exec capability |
640 |
- |
641 |
- This will allow the re-execution of the init process after upgrading |
642 |
- OpenRC. |
643 |
- |
644 |
-commit 6f88ee4ec6f59e545346a7422facc3e5b6adac04 |
645 |
-Author: i.Dark_Templar <darktemplar@×××××××××××××××××××××.net> |
646 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
647 |
- |
648 |
- bootmisc: do not remove ld-elf32.so.hints |
649 |
- |
650 |
- File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib |
651 |
- This fixes #125. |
652 |
- |
653 |
-commit cc51bdca3bac963878141da047e92f125772e14f |
654 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
655 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
656 |
- |
657 |
- Add attribution to openrc-init.c and openrc-shutdown.c |
658 |
- |
659 |
-commit 13ca79856e5836117e469c3edbcfd4bf47b6bab0 |
660 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
661 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
662 |
- |
663 |
- add init process |
664 |
- |
665 |
- openrc-init.c and openrc-shutdown.c are based on code which was written by |
666 |
- James Hammons <jlhamm@×××.org>, so I would like to publically |
667 |
- thank him for his work. |
668 |
- |
669 |
-commit 79a9edc73068244ad843f2edbe4206ce696c91c8 |
670 |
-Author: i.Dark_Templar <darktemplar@×××××××××××××××××××××.net> |
671 |
-Commit: i.Dark_Templar <darktemplar@×××××××××××××××××××××.net> |
672 |
- |
673 |
- Fix make install on FreeBSD: don't try to install /etc/init.d/modules twice |
674 |
- |
675 |
-commit 9eb669591e16c5ee0ca07babe058d0b7b2396077 |
676 |
-Author: Austin English <austinenglish@×××××.com> |
677 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
678 |
- |
679 |
- start-stop-daemon: warn if calling --start with --retry or --stop with --wait |
680 |
- |
681 |
- This fixes #122 |
682 |
- |
683 |
-commit 55a87a30ec845eb725e8a923c8f8eb7aa75baa72 |
684 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
685 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
686 |
- |
687 |
- init.d/agetty.in: add -prefix keyword |
688 |
- |
689 |
-commit a912029462ae988ab4e2a96a0958e54a3c2e822f |
690 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
691 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
692 |
- |
693 |
- init.d/mount-ro: change dependency on killprocs and savecache to after |
694 |
- |
695 |
- killprocs always succeeds and savecache is not required by mount-ro, so |
696 |
- we can just start after both of these have run. |
697 |
- |
698 |
-commit 1e9078279709df2a3617bf1460890ceb1ddfcf59 |
699 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
700 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
701 |
- |
702 |
- agetty-guide: typo fix |
703 |
- |
704 |
-commit 51a292e09b9362f13d5747d4eedaa521ddf9ce72 |
705 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
706 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
707 |
- |
708 |
- init.d: add agetty to ignore patterns |
709 |
- |
710 |
-commit 50fccf47d4bd2ed6e7ea6ff7f72577c8e7b95d0d |
711 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
712 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
713 |
- |
714 |
- sh/gendepends.sh.in: fix detection of service scripts |
715 |
- |
716 |
- We do not need to care about the path on the shebang line of a service |
717 |
- script as long as the shebang line ends with "openrc-run". |
718 |
- This fixes #119 and #120. |
719 |
- |
720 |
-commit 9bd63b5d4a16601712a65eb8962214cdd4d26ce5 |
721 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
722 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
723 |
- |
724 |
- update dependencies for clock service |
725 |
- |
726 |
- The clock services had a very long list of "before" dependencies that |
727 |
- referred to other services within OpenRC. For ease of maintenance, |
728 |
- convert these to "after clock" dependencies in the individual services. |
729 |
- |
730 |
-commit 48db17a93f5e60c0d241f8fb06bfbdd01206fb9c |
731 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
732 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
733 |
- |
734 |
- update news file |
735 |
- |
736 |
-commit c333707cba356f4cacfd58a6fcc78f7c073dddcd |
737 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
738 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
739 |
- |
740 |
- Remove all occurances of 'before *' from dependencies |
741 |
- |
742 |
- Using wildcards in dependencies causes issues when rc_parallel is set to |
743 |
- yes because it can lead to deadlocks. |
744 |
- All dependencies need to be explicit rather than implicit. |
745 |
- |
746 |
- This is the first stage of moving this direction. |
747 |
- |
748 |
-commit 5f5b1f7cbefd0bc14352e86a9c33260266f98d9b |
749 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
750 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
751 |
- |
752 |
- init.d/sysfs.in: efivarfs tweaks |
753 |
- |
754 |
- Since we check for /sys/firmware/efi/efivars, we do not need to check |
755 |
- for /sys/firmware/efi |
756 |
- |
757 |
- Since Failing to mount efivarfs is not critical, we silence the error |
758 |
- message from mount. |
759 |
- |
760 |
-commit cfdf56475e600f79a433cd721cadf39114c6c58d |
761 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
762 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
763 |
- |
764 |
- version 0.25 |
765 |
- |
766 |
-commit fde3902d069dfdce9c59555186a5541d6d99c8aa |
767 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
768 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
769 |
- |
770 |
- update ChangeLog |
771 |
- |
772 |
-commit d7bbb0f5830e1ec4df1ec52714d70ac6b0a81878 |
773 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
774 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
775 |
- |
776 |
- add agetty service |
777 |
- |
778 |
- The agetty service is an alternate way to manage gettys with agetty |
779 |
- under Linux which is separate from an external init system. |
780 |
- |
781 |
-commit 21ca2b746cce67e2b3578fb7015c9d4c243e3a0c |
782 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
783 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
784 |
- |
785 |
- init.d/sysfs: drop modules completely from the dependencies |
786 |
- |
787 |
- This is for #112. |
788 |
- |
789 |
-commit 6a79aef0159d7035778fd852b26ecfac903cd029 |
790 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
791 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
792 |
- |
793 |
- init.d/sysfs: Do not load efivarfs module |
794 |
- |
795 |
- My understanding is that the kernel can autoload this module. If it |
796 |
- doesn't, the module should be built in or loaded from an initramfs. |
797 |
- |
798 |
- This fixes https://github.com/openrc/openrc/pulls/112. |
799 |
- |
800 |
-commit 4a269674b765e5267f024fa55c8644480a7304ea |
801 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
802 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
803 |
- |
804 |
- make sure netmount and localmount start after root |