Laurent Bercot
3420e2ecf1
Fix CMDSIG for busybox kill
...
busybox kill doesn't properly parse --
2026-11-07 19:41:59 +00:00
Laurent Bercot
a8fc151069
Fix logutil-service-main with S6_LOGGING_SCRIPT
...
Also update s6-rc version.
2026-10-26 07:31:24 +00:00
Laurent Bercot
60b2520427
Fix compatibility with s6-rc.d/user
2026-07-16 08:25:19 +00:00
Laurent Bercot
5b07b06747
Add support for S6_RUNTIME_BUNDLEDIR
...
This moves the user bundle definitions to /etc/s6-overlay/user-bundles.d/
but compatibility is ensured (with a warning).
2026-05-22 17:50:01 +00:00
Laurent Bercot
6a18e9d0d5
Accept group-writable and non world-writable /run for YES_KUBERNETES
2026-05-05 14:57:49 +00:00
Laurent Bercot
7b19f4d4a7
Take default verbosity of 2 into account in preinit
...
Also expand CONTRIBUTING with AI policy.
2026-05-05 13:53:54 +00:00
Laurent Bercot
0d36d99369
Factor message output in preinit
2026-02-02 02:49:00 +00:00
Laurent Bercot
265a5a8b6a
Add S6_WAIT_FOR_CLOSING_FD variable; adjust env dump format to new s6-l-i
2025-12-18 10:15:51 +00:00
Laurent Bercot
4a6bb3a0f5
Add (tentative) option to accept k8s-flavored /run permissions
2025-05-05 17:29:29 +00:00
Laurent Bercot
d80c79218d
Fix code paths for container early exit
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2025-01-02 12:16:06 +00:00
Laurent Bercot
df0599220f
Stop stage2 when a hook fails and the conf variable is set
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2024-12-16 10:15:29 +00:00
Laurent Bercot
42e902133b
... without typos, please.
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2024-12-12 08:02:06 +00:00
Laurent Bercot
1705b0f022
Accept (with a warning) 3x7x/1xx7 permissions on /run in non-priv
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2024-12-12 07:50:04 +00:00
Laurent Bercot
e2738d136b
version: 3.2.0.0
...
This version uses the latest skarnet.org packages. It also changes the
default service startup timeout to infinite, and it adds support for
more unprivileged environments.
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2024-06-07 14:51:06 +00:00
Laurent Bercot
3f75d119c8
Fix readiness notification detection in services-up
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2023-08-24 10:45:30 +00:00
Laurent Bercot
791d0ac6a0
Fix documentation, wait for Docker notif, fix gracetime bug
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2023-06-20 22:19:33 +00:00
Laurent Bercot
9eda003e19
Fix terminal management with latest s6-l-i, version: 3.1.5.0
...
Also add S6_CMD_USE_TERMINAL to make use of the new fix.
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2023-05-04 23:52:12 +00:00
Laurent Bercot
d5e9ebefe2
Prepare for 3.1.3.0; change s6-test to eltest
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2023-01-18 18:42:29 +00:00
Laurent Bercot
40f57940e4
Increase default S6_SERVICES_READYTIME to 50 ms
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-11-25 07:54:52 +00:00
Laurent Bercot
55b985fe64
rc.init: guard against ^C (again).
...
Not much we can do apart from trapping SIGINT as early as possible.
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-11-20 01:53:08 +00:00
Laurent Bercot
2cce2c650f
rc.init: fix typo
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-11-20 01:44:59 +00:00
Laurent Bercot
29a53859e7
Add S6_VERBOSITY support to legacy services
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-09-05 06:15:09 +00:00
Laurent Bercot
3e578f72bc
Only background CMD when S6_CMD_RECEIVE_SIGNALS is set
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-08-29 16:40:08 +00:00
Laurent Bercot
dca178bb2f
Fix handling of S6_VERBOSITY environment variable
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-08-26 15:47:53 +00:00
Laurent Bercot
a3ecae1d74
Add S6_CMD_RECEIVE_SIGNALS support, for ext signal diversion to CMD
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-08-15 23:51:02 +00:00
Laurent Bercot
34c668554c
Write preinit warnings to stderr, not stdout
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-07-07 17:02:02 +00:00
Laurent Bercot
94ba8e04c2
Add S6_SERVICES_READYTIME
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-07-05 09:48:13 +00:00
Laurent Bercot
bb136eb025
Various fix and hardenings; doc clarification
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-06-21 11:45:25 +00:00
Laurent Bercot
6b7a396f5a
stupid typo fix
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-06-19 17:39:47 +00:00
Laurent Bercot
28c3519efe
Add features for the linuxserver image
...
- S6_STAGE2_HOOK for the early stage2 hook
- S6_VERBOSITY for variable s6-rc verbosity
- user2 bundle for late services
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-06-19 14:17:11 +00:00
Laurent Bercot
916296a5a3
Make fix-attrs more resilient to spaces in file names
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-05-31 19:47:09 +00:00
Laurent Bercot
44a249cab9
Fix recursive fix-attrs
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-03-07 09:45:17 +00:00
Laurent Bercot
23d27e4ca7
Inherit the default global path from PATH
...
Remove the unnecessary S6_GLOBAL_PATH.
Also fix the format of the dumped environment with S6_KEEP_ENV.
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-27 03:00:52 +00:00
Laurent Bercot
8de54dd6a0
Update s6-envdir to noclamp, remove justc-envdir
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-27 01:26:45 +00:00
Laurent Bercot
f565afc1b8
Make container environment accessible to everyone
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-25 18:23:29 +00:00
Laurent Bercot
9510428567
Remove broken PATH workaround
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-25 13:51:07 +00:00
Laurent Bercot
6c1afc8c20
Fix printcontenv for multiline and posix shell
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-25 13:50:31 +00:00
Laurent Bercot
2ef4d7a44b
Make container_environment directory world-readable
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-11 23:01:24 +00:00
Laurent Bercot
b515f31e98
Friendlier preinit messages for read-only container
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-02-07 15:10:50 +00:00
Laurent Bercot
c56967b47f
Run the CMD in the WORKDIR
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-28 18:39:18 +00:00
Laurent Bercot
77f802c164
Do not include PATH in container_environment
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-26 19:31:29 +00:00
Laurent Bercot
b8a87b5696
Better /run cleanup at startup time
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-25 10:04:02 +00:00
Laurent Bercot
5d3719862f
printcontenv must return an error on nonexistent var in all cases
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-24 20:14:47 +00:00
Laurent Bercot
9f8a9ae7df
Run CMD in the foreground process group
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-16 00:12:14 +00:00
Laurent Bercot
f81929f723
Store CMD pid
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-06 18:17:40 +00:00
Laurent Bercot
af03128d11
Push new versions and some fixes
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2022-01-06 15:45:59 +00:00
Laurent Bercot
170525a587
More fixes, with a new version of s6-l-i
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2021-12-28 06:44:01 +00:00
Laurent Bercot
96008d7f44
More fixes
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2021-12-14 18:43:38 +00:00
Laurent Bercot
d941dac1d3
Some easy fixes
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2021-12-14 16:20:33 +00:00
Laurent Bercot
e553a483ba
Some early fixes
...
Signed-off-by: Laurent Bercot <ska@appnovation.com >
2021-12-10 06:59:59 +00:00