1 |
commit: f62975a1f8c4d5d4abdf78d8cad5509216138f03 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Feb 28 22:21:52 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 28 22:21:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f62975a1 |
7 |
|
8 |
Update ChangeLog |
9 |
|
10 |
ChangeLog | 1162 ++++++++++++++++++++++++++++++++++++++++--------------------- |
11 |
1 file changed, 767 insertions(+), 395 deletions(-) |
12 |
|
13 |
diff --git a/ChangeLog b/ChangeLog |
14 |
index 0bee7a44..59ead5ca 100644 |
15 |
--- a/ChangeLog |
16 |
+++ b/ChangeLog |
17 |
@@ -1,3 +1,770 @@ |
18 |
+commit 5bb6f9aa318a6d0507971b74d88c3fd2803bae4b |
19 |
+Author: Jason Zaman <jason@×××××××××.com> |
20 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
21 |
+ |
22 |
+ init.sh: apply SELinux label for /run early in boot |
23 |
+ |
24 |
+ Some initramfs mount /run which then ends up with the wrong labels. |
25 |
+ Force relabel all of /run right after its mounted to fix. |
26 |
+ |
27 |
+commit 1ab8541a6ccb9d72c6faeaf2d616fc49f6cdfaf6 |
28 |
+Author: Jason Zaman <jason@×××××××××.com> |
29 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
30 |
+ |
31 |
+ init-early.sh.Linux.in: apply the selinux label to /dev/console early |
32 |
+ |
33 |
+ /dev/console is relabelled later in the devfs init script, but by then we |
34 |
+ have already missed some of the messages, so fix that label early. |
35 |
+ |
36 |
+commit 038c03bef315314ddb1e460c67d29b2599b494ad |
37 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
38 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
39 |
+ |
40 |
+ supervise-daemon: make an error message more verbose |
41 |
+ |
42 |
+commit e51dc29e2f3b2718a62347e8588115e786a9f3c8 |
43 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
44 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
45 |
+ |
46 |
+ cgroups: fix indentation |
47 |
+ |
48 |
+commit c6047f887a362cb8d96624fbd73484ca703acf53 |
49 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
50 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
51 |
+ |
52 |
+ cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1 |
53 |
+ |
54 |
+commit 0506d68427e342366d826aae4bfbbc6cc0adecc2 |
55 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
56 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
57 |
+ |
58 |
+ fstabinfo: fix an error message |
59 |
+ |
60 |
+commit c3d666acaf51c771671b0fa54bd8ec0f5d29859e |
61 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
62 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
63 |
+ |
64 |
+ openrc: remove unused #define's. |
65 |
+ |
66 |
+commit e93b1d76d150c4477015052fc3df9b94647e5b5d |
67 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
68 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
69 |
+ |
70 |
+ openrc: convert another execl() call to execlp() |
71 |
+ |
72 |
+commit acf1e43f815898c4a4957db352f71f3fb629edf3 |
73 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
74 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
75 |
+ |
76 |
+ openrc-init: convert execl calls to execlp |
77 |
+ |
78 |
+commit f383fd87b121492a04362ca9041f686d981718f1 |
79 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
80 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
81 |
+ |
82 |
+ kill_all: change execl call to execlp |
83 |
+ |
84 |
+commit cfded513cd9b7febe4b7cf39a80411e4303f0655 |
85 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
86 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
87 |
+ |
88 |
+ openrc-init: set a default path |
89 |
+ |
90 |
+ The default path provided by the system if one isn't set only includes |
91 |
+ "/bin:/usr/bin". This adds the default path setting from sysvinit. |
92 |
+ |
93 |
+commit 16ff3cd8df6169f73e3d7cf00758a4703f62cbf0 |
94 |
+Author: Christian Brauner <christian.brauner@××××××.com> |
95 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
96 |
+ |
97 |
+ check whether /sys/fs/cgroup is a mountpoint |
98 |
+ |
99 |
+ The current check only tries to detect whether /sys/fs/cgroup exists and |
100 |
+ whether it is writable or not. But when the init system doesn't mount |
101 |
+ cgroups then /sys/fs/cgroup will just be an empty directory. When paired |
102 |
+ with unprivileged containers that mount sysfs this will cause misleading |
103 |
+ errors to be printed since /sys/fs/cgroup will be owned by user |
104 |
+ nobody:nogroup in this case. Independent of this specific problem this |
105 |
+ check will also be misleading when the /sys/fs/cgroup exists and is in |
106 |
+ fact writable by the init system but isn't actually a mountpoint. |
107 |
+ |
108 |
+ Note from William. "grep -qs" doesn't need to redirect output to |
109 |
+ /dev/null since it is completely silent. |
110 |
+ |
111 |
+ This fixes #209. |
112 |
+ |
113 |
+commit 38032626a6c2f8e869197999f32ac3634667cc86 |
114 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
115 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
116 |
+ |
117 |
+ improve cgroup configuration checks |
118 |
+ |
119 |
+ make the base/controller functions return successfully if cgroups v1/v2 |
120 |
+ are not configured in the kernel |
121 |
+ |
122 |
+commit aa7d3a7911b658c550e7ce76cd6d7d46541fc323 |
123 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
124 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
125 |
+ |
126 |
+ openrc: force deptree update for sysinit runlevel |
127 |
+ |
128 |
+commit 98262647a9d2f3c65a7ceb1aaa81095522c1ef06 |
129 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
130 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
131 |
+ |
132 |
+ supervise-daemon: zero out the cmdline buffer when it is allocated |
133 |
+ |
134 |
+commit 5868abe97babcc287794dcb36ad8e77989b6ddcf |
135 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
136 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
137 |
+ |
138 |
+ start-stop-daemon: compiler warning cleanup |
139 |
+ |
140 |
+commit 71aad16256604e0e9e146221957a9b00cfe67b99 |
141 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
142 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
143 |
+ |
144 |
+ openrc-run: clean up a compiler warning |
145 |
+ |
146 |
+commit e275da84de1589253da5ff6a7c272cf1c82f8567 |
147 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
148 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
149 |
+ |
150 |
+ supervise-daemon: remove references to PATH_MAX |
151 |
+ |
152 |
+commit a6cc7f06cf3807a0e0590697e1f14e6ab9055271 |
153 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
154 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
155 |
+ |
156 |
+ rc.c: remove PATH_MAX references |
157 |
+ |
158 |
+commit c1178c8eebb92c9f3702e981cd4af9ef41f51884 |
159 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
160 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
161 |
+ |
162 |
+ rc-selinux.c: remove references to path_max |
163 |
+ |
164 |
+commit 3c031ca9780c555817fe9ccb8b23ceb231129724 |
165 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
166 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
167 |
+ |
168 |
+ rc-plubin.c: remove references to PATH_MAX |
169 |
+ |
170 |
+commit 8e02406d8fbf92167c30431987d5de8de72cd7df |
171 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
172 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
173 |
+ |
174 |
+ rc-misc.c: remove references to PATH_MAX |
175 |
+ |
176 |
+commit 8dbdabcc5e0df8ac36722a4ba7bfe30664cc9919 |
177 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
178 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
179 |
+ |
180 |
+ start-stop-daemon: clean up string handling |
181 |
+ |
182 |
+commit 488d8989c518d9256f183899aac02024c679b93e |
183 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
184 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
185 |
+ |
186 |
+ openrc-run: clean up string handling |
187 |
+ |
188 |
+ - remove references to PATH_MAX |
189 |
+ - use xasprintf to create strings |
190 |
+ |
191 |
+commit 9e14b35da8942bd8fa552363617c3415887f485f |
192 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
193 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
194 |
+ |
195 |
+ rc-update: remove reference to PATH_MAX |
196 |
+ |
197 |
+commit 7b4879cb72e907414b70553663bd9b6fda8d4408 |
198 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
199 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
200 |
+ |
201 |
+ mountinfo: create strings with xasprintf |
202 |
+ |
203 |
+commit 74cfb455c59298f86849541e724ae346ff205c3d |
204 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
205 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
206 |
+ |
207 |
+ kill_all: create strings with xasprintf |
208 |
+ |
209 |
+commit 0110487722646ebf9bc2c4e12b4b4a3c358cb10d |
210 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
211 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
212 |
+ |
213 |
+ helpers.h: silence compiler warnings about xasprintf |
214 |
+ |
215 |
+commit 68b9b0bc2a11d144870d14fcb8ac24e6c9c63354 |
216 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
217 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
218 |
+ |
219 |
+ xasprintf: exit if return value of vsnprintf is invalid |
220 |
+ |
221 |
+commit 4616f8f809ee8566904ca37f2b8bf0409a487475 |
222 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
223 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
224 |
+ |
225 |
+ helpers.h: add xasprintf function |
226 |
+ |
227 |
+ This is our own version of asprintf(). This original code was written by |
228 |
+ Mike Frysinger, and I was able to modify it to use our memory helper |
229 |
+ functions. |
230 |
+ |
231 |
+ We need a version of this code because it is not available on glibc at |
232 |
+ least without defining _GNU_SOURCE, and I would rather not do that. |
233 |
+ |
234 |
+ This is the first step in improving string handling in OpenRC for #207. |
235 |
+ |
236 |
+commit 287d71bd2591ddec73efe356db081020e65cd922 |
237 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
238 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
239 |
+ |
240 |
+ helpers.h: style fix |
241 |
+ |
242 |
+commit c1ffe4d9f2e10b6853464cc298d1922c81ae92f4 |
243 |
+Author: Michael Orlitzky <michael@××××××××.com> |
244 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
245 |
+ |
246 |
+ man/openrc-run.8: fix mountinfo args. |
247 |
+ |
248 |
+ The "Ar" tag for the mountinfo command contained a typo (leading |
249 |
+ space) that resulted in the tag being output verbatim; that is, |
250 |
+ |
251 |
+ mountinfo ... .Ar mount1 mount2 |
252 |
+ |
253 |
+ rather than e.g. |
254 |
+ |
255 |
+ mountinfo ... <mount1> <mount2> |
256 |
+ |
257 |
+ This commit deletes the leading space to fix the output. |
258 |
+ |
259 |
+ This fixes #204. |
260 |
+ |
261 |
+commit 4c517bdb2b69eac36f004ae41bb9cbb212fe0a51 |
262 |
+Author: Michael Orlitzky <michael@××××××××.com> |
263 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
264 |
+ |
265 |
+ man/openrc-run.8: add missing "Xo" tags for fstabinfo and mountinfo. |
266 |
+ |
267 |
+ The BUILTINS are all surrounded by Xo...Xc tags, but the opening "Xo" |
268 |
+ was missing from the two commands fstabinfo and mountinfo. This commit |
269 |
+ adds them, and thereby fixes the spacing when viewed by man. |
270 |
+ |
271 |
+ This is for #204. |
272 |
+ |
273 |
+commit 110582491ff02db061b567636a237460afbc489c |
274 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
275 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
276 |
+ |
277 |
+ service-script-guide.md cleanups |
278 |
+ |
279 |
+ Refer to /var/run in the documentation instead of /run, and make it |
280 |
+ clear at the top of the pidfile section that we use /run under Linux. |
281 |
+ |
282 |
+ This is for #202. |
283 |
+ |
284 |
+commit 5dd1d39d20c118064d31ed65dc7ae2de75dd7908 |
285 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
286 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
287 |
+ |
288 |
+ typo fix |
289 |
+ |
290 |
+commit 1771bc2a83fe65bfe6ec3e93ea7632609e697a38 |
291 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
292 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
293 |
+ |
294 |
+ checkpath: use fchown and fchmod to handle ownership and mode changes |
295 |
+ |
296 |
+ This is related to #195. |
297 |
+ |
298 |
+ This is an attempt to shorten the window for the first two issues |
299 |
+ discussed by using a file descriptor which does not follow symbolic |
300 |
+ links and using the fchmod and fchown calls instead of chown and chmod. |
301 |
+ with. |
302 |
+ |
303 |
+commit 87c98ebb01873120eecc1757e615b3a4c14a2f1f |
304 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
305 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
306 |
+ |
307 |
+ checkpath: fix lchown error message |
308 |
+ |
309 |
+ X-Gentoo-Bug: 643084 |
310 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084 |
311 |
+ |
312 |
+commit 4af5a80b0c516773286cc30e743dc90a2d19df23 |
313 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
314 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
315 |
+ |
316 |
+ _rc_deptree_load - return NULL if the stat() call is not successful |
317 |
+ |
318 |
+ X-Gentoo-Bug: 643084 |
319 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084 |
320 |
+ |
321 |
+commit fee2ffe559bc39beec16585daf557b902a53137b |
322 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
323 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
324 |
+ |
325 |
+ Reformat and fix titles in documentation |
326 |
+ |
327 |
+commit 8878f8916b7682a333d1e40af991cd7354192be1 |
328 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
329 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
330 |
+ |
331 |
+ Rename guide.md to user-guide.md to better describe its purpose |
332 |
+ |
333 |
+commit 14e3359a9e4174da3e422957d9de56907f025875 |
334 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
335 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
336 |
+ |
337 |
+ move developer documentation from guide.md to service-script-guide.md |
338 |
+ |
339 |
+commit 918d955fd2de1f594b83508f5ddd5271534e3591 |
340 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
341 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
342 |
+ |
343 |
+ checkpath: use lchown instead of chown |
344 |
+ |
345 |
+ Checkpath should never follow symbolic links when changing ownership of a file. |
346 |
+ |
347 |
+ This is for https://github.com/openrc/openrc/issues/195. |
348 |
+ |
349 |
+commit 92cfa0e543d380ab290d06e98e2fef1b283349fe |
350 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
351 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
352 |
+ |
353 |
+ service-script-guide.md: formatting changes |
354 |
+ |
355 |
+ Add a title, adjust the headings and update the example that referred to |
356 |
+ "net.lo" to refer to "loopback". |
357 |
+ |
358 |
+commit c2bd33e4838eb56bebe2707f6ca6bd05e9df5b24 |
359 |
+Author: Michael Orlitzky <michael@××××××××.com> |
360 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
361 |
+ |
362 |
+ service-script-guide.md: new guide for service script authors. |
363 |
+ |
364 |
+ This fixes #162. |
365 |
+ |
366 |
+commit f42ec82f21f3760b829507344ad0ae761e1d59aa |
367 |
+Author: 3PO <r2d2@×××××××××.de> |
368 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
369 |
+ |
370 |
+ net-online: only process symbolic links in /sys/class/net |
371 |
+ |
372 |
+ The /sys/class/net directory contains files which are not symlinks if |
373 |
+ the system has bonded devices [1]. We should ignore these files. |
374 |
+ |
375 |
+ This fixes #196. |
376 |
+ |
377 |
+ [1] https://elkano.org/blog/manage-interface-bondings-sysfs-interface/ |
378 |
+ |
379 |
+commit 7affff568a0aa83d732757c4699d4b94b7e3a9aa |
380 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
381 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
382 |
+ |
383 |
+ init.d.examples: pid files always go in /var |
384 |
+ |
385 |
+ This removes the @VARBASE@ substitution since it is always translated to |
386 |
+ /var. |
387 |
+ |
388 |
+commit 4f750933fd8ef944be58bfeef071a8e35fc0c606 |
389 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
390 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
391 |
+ |
392 |
+ procfs: remove the @sysconfdir@ reference |
393 |
+ |
394 |
+commit 50b69d564a8f89b8137bb6d9d53aac1e44f6c23c |
395 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
396 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
397 |
+ |
398 |
+ hostname: replace @SYSCONFDIR@ references with /etc |
399 |
+ |
400 |
+ I do not know of any situation where /etc/hostname is at any other |
401 |
+ location. Also, this does not run on prefix. |
402 |
+ |
403 |
+commit eb18f4f3483b99705f944c7274b4a6b451716df7 |
404 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
405 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
406 |
+ |
407 |
+ hwclock: use shell variables for configuration file path |
408 |
+ |
409 |
+ This removes a reference to @SYSCONFDIR@. |
410 |
+ |
411 |
+commit d5f3fe52c87928095bd2659823b985d231f0718c |
412 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
413 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
414 |
+ |
415 |
+ sysctl: hard code paths for sysctl files on *bsd |
416 |
+ |
417 |
+ For *BSD,the sysctl*.conf files are always in /etc. |
418 |
+ |
419 |
+commit bb1bc6eeb73b3483a1ebdfc142a11240b58588cf |
420 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
421 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
422 |
+ |
423 |
+ local: misc cleanups |
424 |
+ |
425 |
+ Remove references to @SYSCONFDIR@ since these can be calculated at |
426 |
+ runtime. |
427 |
+ Also style fixes. |
428 |
+ |
429 |
+commit 53844fd0dcd9741b5f19dee7c00787be7e904c3c |
430 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
431 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
432 |
+ |
433 |
+ devfs: cleanup |
434 |
+ |
435 |
+ clean up local definitions. Also remove @SYSCONFDIR@ substitutions since |
436 |
+ they can be calculated at runtime. |
437 |
+ |
438 |
+commit 14938c29cefe869872b987f8e606da72024fa8bb |
439 |
+Author: bell07 <web.alexander@×××.de> |
440 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
441 |
+ |
442 |
+ net-online: wait for ping_test_host |
443 |
+ |
444 |
+ The script should wait till the ping host is available or timeout reached |
445 |
+ Closes : #179 |
446 |
+ Closes : #191 |
447 |
+ |
448 |
+commit 8bf501aaf2cb60b8ddf1b2fa2d1ba0ef970fb790 |
449 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
450 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
451 |
+ |
452 |
+ network: use 'command -v ip' to test for the ip executable |
453 |
+ |
454 |
+ This is an improved test because it doesn't require the ip executable to be |
455 |
+ in a specific path. |
456 |
+ |
457 |
+commit 9d05f68b51d7b31634cde30a482ec0e3da3b1c21 |
458 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
459 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
460 |
+ |
461 |
+ Do not use file tests in net-online |
462 |
+ |
463 |
+ https://unix.stackexchange.com/questions/252002/help-testing-special-file-in-sys-class-net |
464 |
+ |
465 |
+ This is for #189 |
466 |
+ |
467 |
+commit ee2524cd1d0305e207f7dfac52742a1d5e77ea4a |
468 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
469 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
470 |
+ |
471 |
+ net-online: clean up quoting and test for existence |
472 |
+ |
473 |
+ This is for #178. |
474 |
+ |
475 |
+commit 5c81661d4758dea039860ae2481476a70e78ac47 |
476 |
+Author: Marcel Greter <marcel.greter@××××××.ch> |
477 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
478 |
+ |
479 |
+ Gracefully handle unreadable /sys/class/net/dev/ nodes |
480 |
+ |
481 |
+ Fixes https://bugs.gentoo.org/629228 |
482 |
+ Fixes #189 |
483 |
+ Fixes #185 |
484 |
+ Fixes #178 |
485 |
+ |
486 |
+commit fb96c9c127dcfa932460b0e8a977ba5f7d26a418 |
487 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
488 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
489 |
+ |
490 |
+ Make bash-completion and zsh-completion optional |
491 |
+ |
492 |
+commit 6c456f9383ab0000527b4363bc82fc17850aba18 |
493 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
494 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
495 |
+ |
496 |
+ Add zsh-completion support |
497 |
+ |
498 |
+commit d220fc272337b216bff6ac781a7b6be4e6f3caee |
499 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
500 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
501 |
+ |
502 |
+ add bash completion support |
503 |
+ |
504 |
+ This fixes #188. |
505 |
+ |
506 |
+commit a2447dfb420cbd97a65cc085404c031d42cb3dfb |
507 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
508 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
509 |
+ |
510 |
+ rc-service: add --ifcrashed option |
511 |
+ |
512 |
+ This works like the other --if options. If the service is crashed, run |
513 |
+ the command. |
514 |
+ |
515 |
+ This fixes #154. |
516 |
+ |
517 |
+commit cee3919908c2d715fd75a796873e3308209a4c2e |
518 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
519 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
520 |
+ |
521 |
+ Clean up the calls to group_add_service |
522 |
+ |
523 |
+ This function should only be called once and it does not take any |
524 |
+ arguments. |
525 |
+ |
526 |
+ X-Gentoo-Bug: 639166 |
527 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=639166 |
528 |
+ |
529 |
+commit 0feadd2922484ec181c2ab86a5f7f8d6d37c5c77 |
530 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
531 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
532 |
+ |
533 |
+ man/openrc-run.8: update documentation for command_user |
534 |
+ |
535 |
+commit a7c99506d9de81b9a2a7547bd11715073de1ce95 |
536 |
+Author: Will Miles <wmiles@×××.com> |
537 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
538 |
+ |
539 |
+ Fix repeated dependency cache rebuild if clock skewed |
540 |
+ |
541 |
+ rc_deptree_update_needed would return early as soon as it found |
542 |
+ any file newer than the existing dependency cache. Unfortunately, |
543 |
+ the first file found may not be the newest one there; so the |
544 |
+ clock skew workaround in rc-misc:_rc_deptree_load would be given |
545 |
+ a timestamp that was still too old. |
546 |
+ |
547 |
+ This fix forces a full scan of all relevant files, so as to |
548 |
+ ensure that we return a timestamp that will allow the clock skew |
549 |
+ fix to operate. The runtime cost is no worse than the case where |
550 |
+ the cache is up to date (ie. we must check every possible file). |
551 |
+ |
552 |
+ This fixes #161. |
553 |
+ |
554 |
+commit f0129307759f1a5eb34b72589e8d48790c92b2db |
555 |
+Author: Julien Reichardt <mi@××××.ch> |
556 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
557 |
+ |
558 |
+ man/openrc-run.8: remove white space |
559 |
+ |
560 |
+ This is for #184. |
561 |
+ |
562 |
+commit ddbdb696582e9fd61995f15d6a3a53055a151e41 |
563 |
+Author: Julien Reichardt <mi@××××.ch> |
564 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
565 |
+ |
566 |
+ add more variables for start-stop-daemon and supervise-daemon options |
567 |
+ |
568 |
+ Add the following variables to expose more arguments that can be passed |
569 |
+ to start-stop-daemon or supervise-daemon: |
570 |
+ |
571 |
+ - directory will be passed to --chdir |
572 |
+ - error_log will be passed to --stderr |
573 |
+ - output_log will be passed to --stdout |
574 |
+ - umask will be passed to umask |
575 |
+ |
576 |
+ This is for #184. |
577 |
+ |
578 |
+commit c84ebb94d19ca856fe064e15d2068d5671e360c9 |
579 |
+Author: Doug Freed <dwfreed@×××.edu> |
580 |
+Commit: GitHub <noreply@××××××.com> |
581 |
+ |
582 |
+ start-stop-daemon: properly handle missing pidfile |
583 |
+ |
584 |
+ X-Gentoo-Bug: 639218 |
585 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/639218 |
586 |
+ |
587 |
+commit 3de6395ae3b8780ab501f3cf8688e1cb2a9f0243 |
588 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
589 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
590 |
+ |
591 |
+ split cgroups mounting out of sysfs |
592 |
+ |
593 |
+ This is neceessary to allow cgroups to be mounted in an lxc/lxd |
594 |
+ container. |
595 |
+ |
596 |
+ Fixes https://github.com/openrc/openrc/issues/187 |
597 |
+ |
598 |
+commit 6bb7ebec483a96e258c64ea3fea18358d7893fee |
599 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
600 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
601 |
+ |
602 |
+ fix FreeBSD build |
603 |
+ |
604 |
+ This is for #186. |
605 |
+ |
606 |
+commit a192caf88f527e09508e32baa623ef85549612ae |
607 |
+Author: Doug Freed <dwfreed@×××.edu> |
608 |
+Commit: Doug Freed <dwfreed@×××.edu> |
609 |
+ |
610 |
+ rc-schedules: if given nothing to look for, stop |
611 |
+ |
612 |
+ This avoids trying to kill everything. |
613 |
+ |
614 |
+ X-Gentoo-Bug: 631958 |
615 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=631958 |
616 |
+ |
617 |
+commit e805c74d31113c75058d860588e83bca120decf6 |
618 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
619 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
620 |
+ |
621 |
+ s6 supervisor fixes |
622 |
+ |
623 |
+ Add the ability to force-kill a service if it does not go down |
624 |
+ successfully. Also, adjust the default wait time for an s6 service to go |
625 |
+ down to 60 seconds. |
626 |
+ |
627 |
+commit 318e87348168e37d78f433d3ff06288ad8ccf15c |
628 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
629 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
630 |
+ |
631 |
+ strongly encourage Linux users to not make /etc/mtab a flat file |
632 |
+ |
633 |
+ The OpenRC team does not currently know of any modern linux tools that |
634 |
+ require /etc/mtab to be a flat file, so this puts users on notice that |
635 |
+ the mtab service will be removed in the future. |
636 |
+ |
637 |
+commit 0d15898f58cc254d79777c791d4798a9b2542cf2 |
638 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
639 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
640 |
+ |
641 |
+ adjust mtab and localmount dependencies |
642 |
+ |
643 |
+ localmount had mtab in its "use" dependencies; however, it makes more |
644 |
+ sense to add "before localmount" to the mtab service and remove |
645 |
+ "use mtab" from the localmount service. |
646 |
+ |
647 |
+commit 971e82784cd1ad8f9a286ee792e6417359972976 |
648 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
649 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
650 |
+ |
651 |
+ rc_find_pids: namespace fix |
652 |
+ |
653 |
+ Ignore namespaces if there are errors reading either the pid namespace |
654 |
+ for the current process or the process we aare testing. |
655 |
+ |
656 |
+ This fixes https://github.com/openrc/openrc/issues/180. |
657 |
+ |
658 |
+commit 90d9ea656ff7c6b5d618df4e4261ebfa4033f1a8 |
659 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
660 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
661 |
+ |
662 |
+ start-stop-daemon: do not use do_stop to verify whether a daemon is running |
663 |
+ |
664 |
+ X-Gentoo-Bug: 636574 |
665 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=636574 |
666 |
+ |
667 |
+commit a3d1c8a0e7d5586be13e2cd9b5029fd729bc1594 |
668 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
669 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
670 |
+ |
671 |
+ fix issue with --reexec call |
672 |
+ |
673 |
+commit 913b2ca53771742385d5c69164aefcaab634f012 |
674 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
675 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
676 |
+ |
677 |
+ supervise-daemon: use RC_SVCNAME as the first argument to the daemon |
678 |
+ |
679 |
+ This makes ps show which service the supervisor is monitoring. |
680 |
+ |
681 |
+commit 3fe99c8b8264269dd935d52a1a52581cc0f14e8e |
682 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
683 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
684 |
+ |
685 |
+ supervise-daemon: fix logging for reexec and the child command line |
686 |
+ |
687 |
+commit 27b8183de2f2bfd7411c14c1ec28543ca8a36602 |
688 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
689 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
690 |
+ |
691 |
+ log as supervise-daemon not the service |
692 |
+ |
693 |
+commit f32d8e1bfe16caf233d1180921f4aeed77d7476d |
694 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
695 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
696 |
+ |
697 |
+ supervise-daemon: clarify a log message |
698 |
+ |
699 |
+commit d019f34a83b0ad5e890f685b1263b281ab54ce54 |
700 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
701 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
702 |
+ |
703 |
+ supervise-daemon: log the command line we run to spawn the child process |
704 |
+ |
705 |
+commit bb9c481f02cb1843e00bf32e98caf18b6b56bb4d |
706 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
707 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
708 |
+ |
709 |
+ supervise-daemon: log with the service name instead of "supervise-daemon" |
710 |
+ |
711 |
+commit 82da844b42ff83b2ebf944198e56ac2d81851897 |
712 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
713 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
714 |
+ |
715 |
+ implement "unsupervised" status |
716 |
+ |
717 |
+ The unsupervised status is to be used when a supervisor of a supervised |
718 |
+ service dies but leaves the service daemon itself running. |
719 |
+ |
720 |
+commit 667a09983ca5311824aa88c42d39a495c540fc4c |
721 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
722 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
723 |
+ |
724 |
+ supervise-daemon: remove child_pid from saved options during shutdown |
725 |
+ |
726 |
+ This allows us to detect when the supervisor dies unexpectedly because |
727 |
+ in that case child_pid will still exist. |
728 |
+ |
729 |
+commit cf429ee359356d736c818e8b35db8fca887e7332 |
730 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
731 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
732 |
+ |
733 |
+ rc_service_value_set: remove the option if NULL is the value |
734 |
+ |
735 |
+ This allows the equivalent of "unsetting" a value for a service. |
736 |
+ |
737 |
+commit 6f3e2e2d7de61ab28cf03937ccf2e5f80b62190a |
738 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
739 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
740 |
+ |
741 |
+ supervise-daemon.sh: fix status function with no namespaces |
742 |
+ |
743 |
+commit 35b88fb42bb8e0a56cdc1947342f1b89c98658bc |
744 |
+Author: Patrick McLean <chutzpah@g.o> |
745 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
746 |
+ |
747 |
+ cgroups_cleanup: clean up shutdown signaling |
748 |
+ |
749 |
+ - do not sleep for the full 90 seconds if processes are dead |
750 |
+ - re-arrange the order of signals we attempt to send to the processes |
751 |
+ |
752 |
+commit a428c325a902bba55a849a07a59c0c1567404db2 |
753 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
754 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
755 |
+ |
756 |
+ add "unsupervised" status and return code 64 to supervise-daemon status function |
757 |
+ |
758 |
+ This is to be used if the service is being supervised and the |
759 |
+ supervisor is somehow killed. |
760 |
+ |
761 |
+ Currently, this is very linux specific, but I will expand to other |
762 |
+ platforms, patches are welcome. |
763 |
+ |
764 |
+commit 3219ecd6085231d7cc1268323a5be6a69f8c9143 |
765 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
766 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
767 |
+ |
768 |
+ supervise-daemon: fix build issue for >=glibc-2.26 |
769 |
+ |
770 |
+ X-Gentoo-Bug: 635334 |
771 |
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=635334 |
772 |
+ |
773 |
+commit 0d8dc4f798cc0d707fc64e8bffcba4fbceb32935 |
774 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
775 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
776 |
+ |
777 |
+ version 0.35 |
778 |
+ |
779 |
+commit f3c70bf5b5aa18e8dc94d4949f05568e0741c5cb |
780 |
+Author: William Hubbs <w.d.hubbs@×××××.com> |
781 |
+Commit: William Hubbs <w.d.hubbs@×××××.com> |
782 |
+ |
783 |
+ Update ChangeLog |
784 |
+ |
785 |
commit f5acc66db7d1a0bfad6a40eefc0240b80f52df94 |
786 |
Author: William Hubbs <w.d.hubbs@×××××.com> |
787 |
Commit: William Hubbs <w.d.hubbs@×××××.com> |
788 |
@@ -1077,398 +1844,3 @@ Author: William Hubbs <w.d.hubbs@×××××.com> |
789 |
Commit: William Hubbs <w.d.hubbs@×××××.com> |
790 |
|
791 |
make sure netmount and localmount start after root |
792 |
- |
793 |
-commit eea4decdd1c84e4b8775a255d8ed85bce5eb40a5 |
794 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
795 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
796 |
- |
797 |
- net-online: typo fix |
798 |
- |
799 |
-commit d4d0f25a4844ecaed43de913e8b729e7a2e894db |
800 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
801 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
802 |
- |
803 |
- net-online: updates to make the service more usable |
804 |
- |
805 |
- - switch from attempting to ping the default gateway to a host outside |
806 |
- the local network, defaulting to google.com. |
807 |
- - along with this, change the name of the variable that requests a ping |
808 |
- test to include_ping_test so the meaning is more clear. |
809 |
- |
810 |
-commit 1cb44092fce298004ab4c4547c6fbcac29c5997f |
811 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
812 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
813 |
- |
814 |
- sh/rc-functions.sh.in: add get_bootparam_value function |
815 |
- |
816 |
-commit 4207e46622f584eb5f0cc10bbfd36f92f001a2e2 |
817 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
818 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
819 |
- |
820 |
- move init.d examples under support and install them |
821 |
- |
822 |
-commit f6ea16159ec8583a6f2182578334aa00578cb080 |
823 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
824 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
825 |
- |
826 |
- scripts: make sure the rc-sstat symlink is always replaced |
827 |
- |
828 |
-commit 9047ea4cb0d0e5e27704369380e128d26c3e86b2 |
829 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
830 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
831 |
- |
832 |
- install support files |
833 |
- |
834 |
- These files have been in the distribution for some time but haven't been |
835 |
- installed. They are good examples of how to do things, so we should |
836 |
- install them. |
837 |
- |
838 |
-commit d7f5a696c173e7af67dd4b3f90744e0a056441e1 |
839 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
840 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
841 |
- |
842 |
- support: rename all README files to README.md |
843 |
- |
844 |
-commit 6f614cd3f33dbdea3a67ac2fb414b1130674ee04 |
845 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
846 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
847 |
- |
848 |
- Move deptree2dot to the support folder |
849 |
- |
850 |
- Since deptree2dot and the perl requirement are completely optional, we |
851 |
- can move this tool to the support folder. This gives the user the option |
852 |
- of using it if they have perl installed, and means we do not have an |
853 |
- optional runtime dependency on perl. |
854 |
- |
855 |
- Documentation for this tool has also been added to the support folder. |
856 |
- |
857 |
- X-Gentoo-Bug: 600742 |
858 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=600742 |
859 |
- |
860 |
-commit 85c1930acf15b0c9d3c5537fb2b0409c6a11c982 |
861 |
-Author: William Pitcock <nenolod@××××××××××××.org> |
862 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
863 |
- |
864 |
- test/setup_env: ensure that eval_ecolors is available on the path. |
865 |
- |
866 |
- The test environment previously used the system default paths instead of installing the necessary $PATH environment |
867 |
- variable to make finding eval_ecolors work. |
868 |
- This closes #117. |
869 |
- |
870 |
- X-Gentoo-Bug: 374191. |
871 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=374191. |
872 |
- |
873 |
-commit 96bd0c004c9549e5a2ef64277216a15da6f96a8e |
874 |
-Author: Nicolas Porcel <nicolasporcel06@×××××.com> |
875 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
876 |
- |
877 |
- Fix typo in guide.md |
878 |
- |
879 |
- This fixes #115. |
880 |
- |
881 |
-commit b693af90556ac9b055ba5c6e589066c1e08b2146 |
882 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
883 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
884 |
- |
885 |
- Revert "scripts: do not substitute for @SHELL@ in rc-sstat" |
886 |
- |
887 |
- This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8. |
888 |
- |
889 |
-commit 6dcb6929869c2f81c1f8d0930191f74fc6dfaa3e |
890 |
-Author: Doug Freed <dwfreed@×××.edu> |
891 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
892 |
- |
893 |
- start-stop-daemon: allow all standard signals |
894 |
- |
895 |
- Also we define the signalpair_item macro. |
896 |
- This fixes #113. |
897 |
- |
898 |
- X-Gentoo-Bug: 604986 |
899 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604986 |
900 |
- |
901 |
-commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8 |
902 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
903 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
904 |
- |
905 |
- scripts: do not substitute for @SHELL@ in rc-sstat |
906 |
- |
907 |
-commit b73941f0c3020e3dbd1684d09685e114c678b520 |
908 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
909 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
910 |
- |
911 |
- mountinfo: make the path to /proc/mounts a constant |
912 |
- |
913 |
- This path should not be hard coded in the open call. |
914 |
- Linux prior to 2.4.19 did not have /proc/self/mounts, so for now I'm |
915 |
- making this value /proc/mounts everywhere, but that may change to |
916 |
- /proc/self/mounts on linux; I'm not sure we should care about <2.4.19. |
917 |
- |
918 |
- X-Gentoo-Bug: 604646 |
919 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604646 |
920 |
- |
921 |
-commit c304522131a795cf882444b5f94e81db4baf65b3 |
922 |
-Author: Benda Xu <heroxbd@g.o> |
923 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
924 |
- |
925 |
- Clean up warnings that can use the _unused macro |
926 |
- |
927 |
- X-Gentoo-Bug: 604666 |
928 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 |
929 |
- |
930 |
-commit 92325b44ba58a7ca04d88ae8ca202b402b032b43 |
931 |
-Author: Benda Xu <heroxbd@g.o> |
932 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
933 |
- |
934 |
- Indentation fixes |
935 |
- |
936 |
- X-Gentoo-Bug: 604666 |
937 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 |
938 |
- |
939 |
-commit 074d90f5a4e3b66e532a0becde372acf38346397 |
940 |
-Author: Benda Xu <heroxbd@g.o> |
941 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
942 |
- |
943 |
- Drop the use of the _BSD_SOURCE macro on Linux |
944 |
- |
945 |
- X-Gentoo-Bug: 604666 |
946 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 |
947 |
- |
948 |
-commit 7056b56b3ccc9cbde4ef8297b923919c49c7c242 |
949 |
-Author: Benda Xu <heroxbd@g.o> |
950 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
951 |
- |
952 |
- Drop the use of the _BSD_SOURCE macro on GNU/Hurd |
953 |
- |
954 |
- X-Gentoo-Bug: 604666 |
955 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666 |
956 |
- |
957 |
-commit d5c3b85e3fbddbba149687244d607fcdae222f95 |
958 |
-Author: Doug Freed <dwfreed@×××.edu> |
959 |
-Commit: Doug Freed <dwfreed@×××.edu> |
960 |
- |
961 |
- loopback: drop explicit route for BSD too |
962 |
- |
963 |
-commit 1ab2249448ba24a591b561f53aa64ff3df1e41f6 |
964 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
965 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
966 |
- |
967 |
- version 0.24 |
968 |
- |
969 |
-commit a15cff21c63f2ad951af1c59a74fc7d37f78e91b |
970 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
971 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
972 |
- |
973 |
- update ChangeLog |
974 |
- |
975 |
-commit 45aa36cc623eeeb15fb6827b57e0c07a37cdef41 |
976 |
-Author: Doug Freed <dwfreed@×××.edu> |
977 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
978 |
- |
979 |
- librc: detect loops in stacked runlevels and abort |
980 |
- |
981 |
- This fixes #109. |
982 |
- X-Gentoo-Bug: 558700 |
983 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558700 |
984 |
- |
985 |
-commit d3f833179b39368442221c448f90b87f76d28ee8 |
986 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
987 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
988 |
- |
989 |
- sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD |
990 |
- |
991 |
- This script only runs on Linux, so the check will always be false. |
992 |
- |
993 |
-commit abe552b969b6601f47ba0474f683d8cd80d53c9d |
994 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
995 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
996 |
- |
997 |
- modules: get rid of printing each module on Linux |
998 |
- |
999 |
- Now that we respect the module blacklists, don't print every module we |
1000 |
- try to load, because it might not end up loaded due to the blacklist, |
1001 |
- and modprobe doesn't consider that a failure. |
1002 |
- |
1003 |
-commit 856eafb006655b7dda630a94cbd16f5db9f781be |
1004 |
-Author: Doug Freed <dwfreed@×××.edu> |
1005 |
-Commit: Doug Freed <dwfreed@×××.edu> |
1006 |
- |
1007 |
- sh/init.sh.Linux.in: skip /proc test if no md5sum |
1008 |
- |
1009 |
- This will also warn users if md5sum is missing, which serves as a pretty |
1010 |
- good indicator that /usr is not mounted. |
1011 |
- |
1012 |
-commit f27d60add9ee1ef8a90ea0034edf6f4e4e6d0ed8 |
1013 |
-Author: Robin H. Johnson <robbat2@g.o> |
1014 |
-Commit: Robin H. Johnson <robbat2@g.o> |
1015 |
- |
1016 |
- sh/openrc-run.sh: expose default start/stop/status |
1017 |
- |
1018 |
- Supervisor setups break easily when start/stop/status functions are not |
1019 |
- default. |
1020 |
- |
1021 |
- Applications that write multiple PIDs to a pidfile (eg HAProxy as |
1022 |
- described in bug 601540), can also benefit from being able to call the |
1023 |
- default start/stop/status with modified environment variables. |
1024 |
- |
1025 |
- Expose the default start/stop/status functions as |
1026 |
- default_start/stop/status, and use them for the defaults |
1027 |
- start/stop/status. |
1028 |
- |
1029 |
- Trivial usage example: |
1030 |
- ``` |
1031 |
- stop() |
1032 |
- { |
1033 |
- t=$(mktemp) |
1034 |
- for pid in $(cat $pidfile) ; do |
1035 |
- echo $pid >$t |
1036 |
- pidfile=$t default_stop |
1037 |
- done |
1038 |
- rm -f $t |
1039 |
- } |
1040 |
- ``` |
1041 |
- |
1042 |
- X-Gentoo-Bug: 601540 |
1043 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/601540 |
1044 |
- Signed-off-by: Robin H. Johnson <robbat2@g.o> |
1045 |
- |
1046 |
-commit 8ad460c54ce66aa0900cf872d9ebfacf0c03f9da |
1047 |
-Author: Doug Freed <dwfreed@×××.edu> |
1048 |
-Commit: Doug Freed <dwfreed@×××.edu> |
1049 |
- |
1050 |
- Fix typos |
1051 |
- |
1052 |
- Fixes #99 |
1053 |
- |
1054 |
-commit 72c0824961fc257b634a9439496e04d1b3392ef1 |
1055 |
-Author: Doug Freed <dwfreed@×××.edu> |
1056 |
-Commit: Doug Freed <dwfreed@×××.edu> |
1057 |
- |
1058 |
- localmount: add comment about types variable |
1059 |
- |
1060 |
-commit 5b7e3490ef2ce96c35e6c18b4c64e8c61586bb7a |
1061 |
-Author: Alan Somers <asomers@×××××.com> |
1062 |
-Commit: Doug Freed <dwfreed@×××.edu> |
1063 |
- |
1064 |
- Localmount shouldn't mount remote filesystems |
1065 |
- |
1066 |
- The /etc/init.d/localmount script has a syntax error that causes it to |
1067 |
- attempt to mount remote filesystems, causing the boot to fail. The |
1068 |
- script appends a "no" to each remote filesystem type, but it should only |
1069 |
- be append the "no" to the beginning of the list. This patch fixes |
1070 |
- localmount on FreeBSD 12.0. A review of the mount(8) manpage on Ubuntu |
1071 |
- 12.04 suggests that this patch is correct for Linux, too. |
1072 |
- |
1073 |
-commit dd61e6bfc3fc1da011b01f4f6cf3e45e26c59dc1 |
1074 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1075 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1076 |
- |
1077 |
- rc.conf: fix the commented default setting for rc_logger |
1078 |
- |
1079 |
- X-Gentoo-Bug: 601480 |
1080 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601480 |
1081 |
- |
1082 |
-commit 204971c6e2ea1e37fa037e09bff02eea3a07f843 |
1083 |
-Author: Doug Freed <dwfreed@×××.edu> |
1084 |
-Commit: GitHub <noreply@××××××.com> |
1085 |
- |
1086 |
- runlevels: remove bad trailing backslash |
1087 |
- |
1088 |
-commit 3552f0ae548d68effd4411ad4080e7b13fe627c5 |
1089 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1090 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1091 |
- |
1092 |
- man/start-stop-daemon.8: clarify documentation about --pidfile option |
1093 |
- |
1094 |
- The documentation implied that if you stop a daemon we handle multiple |
1095 |
- pids in a pid file. This is not correct. We only handle the first pid. |
1096 |
- |
1097 |
- X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=601540 |
1098 |
- |
1099 |
-commit 42cb84882918a0c9dd93a89d92b0b4818dfb44b8 |
1100 |
-Author: AndCycle <andcycle-github@××××××××××××.tw> |
1101 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1102 |
- |
1103 |
- fix manual typo |
1104 |
- |
1105 |
- This fixes #105. |
1106 |
- |
1107 |
-commit e0ac661419042cb39c1ccf93df2981504d1e6339 |
1108 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1109 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1110 |
- |
1111 |
- split tmpfiles processing into opentmpfiles |
1112 |
- |
1113 |
- The openntmpfiles package is designed so that it can be used on systems |
1114 |
- independently of whether openrc is used. |
1115 |
- |
1116 |
-commit 6414c3bc394f86a5d6a5f02c934469e21bbbc923 |
1117 |
-Author: Jason Zaman <jason@×××××××××.com> |
1118 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1119 |
- |
1120 |
- selinux: fix SIGSEGV with invalid contexts |
1121 |
- |
1122 |
- Fixes: https://github.com/openrc/openrc/issues/104 |
1123 |
- |
1124 |
-commit 4f9bd7e4db185ce6debbebb5242344d8ffadc3ae |
1125 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1126 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1127 |
- |
1128 |
- init.d/loopback.in: drop the route to the loopback interface on Linux |
1129 |
- |
1130 |
- This is related to #103. |
1131 |
- |
1132 |
-commit bf539f2196290864ce5c5fd0d679b74ee016e2da |
1133 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1134 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1135 |
- |
1136 |
- init.d/mount-ro: do not remount /usr read only if it is premounted |
1137 |
- |
1138 |
- X-Gentoo-Bug: 573760 |
1139 |
- X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573760 |
1140 |
- |
1141 |
-commit 20b60ea904612669dfb744beffcd8e7e447f69ef |
1142 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1143 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1144 |
- |
1145 |
- conf.d/net-online: clarify comment about interfaces setting |
1146 |
- |
1147 |
- This setting refers to all interfaces that support ethernet |
1148 |
- |
1149 |
-commit f53c8baef3a6215077c00901759cbbcbe8f10e9b |
1150 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1151 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1152 |
- |
1153 |
- init.d/net-online: remove interfaces and timeout from local declarations |
1154 |
- |
1155 |
- X-Gentoo-Bug: 598621 |
1156 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=598621 |
1157 |
- |
1158 |
-commit be06cd250e12e63b8eb704bb2508e06fb9791251 |
1159 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1160 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1161 |
- |
1162 |
- src/rc/rc: do not try to start services if fork fails |
1163 |
- |
1164 |
-commit 003657c973ea338a19f2b7294190af9d76cf5cea |
1165 |
-Author: Robin H. Johnson <robbat2@g.o> |
1166 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1167 |
- |
1168 |
- init.d/loopback: drop scope on loopback |
1169 |
- |
1170 |
- Busybox does not support the 'scope' argument on 'ip address add' or 'ip |
1171 |
- route add', this is documented in BUSYBOX.md, but is no longer actually |
1172 |
- needed, as the kernel does get it right without manual specification, |
1173 |
- and the ifconfig variant already relies on the kernel to get it right. |
1174 |
- This is part of #103. |
1175 |
- |
1176 |
- X-Gentoo-Bug: 487208 |
1177 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487208 |
1178 |
- |
1179 |
-commit 4fd144c0a6526963c70f18cb34a65354c2f0a48c |
1180 |
-Author: William Hubbs <w.d.hubbs@×××××.com> |
1181 |
-Commit: William Hubbs <w.d.hubbs@×××××.com> |
1182 |
- |
1183 |
- src/rc/rc-misc.c: report error if call to flock() fails |
1184 |
- |
1185 |
- X-Gentoo-Bug: 597390 |
1186 |
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=597390 |