From 87b8fcabeecf2a9cff2ca596da54d6c1cf17d89f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 14 Jun 2026 04:37:32 +0000 Subject: Prepare for 0.7.0.0; lots of changes! - s6-rc-bundle deleted. Changing bundles without recompiling is not supported anymore. (It works, but it incentivizes poor workflows; it is better to handle stuff at the source level and recompile when in doubt, that's what s6-frontend does.) - new db format, need to recompile and use s6-rc-format-upgrade on new live db - support for the reload-signal file in service directories - new reload scripts for oneshots (which is why the db format has changed) - new "s6-rc reload" command, calling s6-svc -l on longruns (which makes use of reload-signal, HUP by default) and the reload script on oneshots - the live state now tracks when a service has been explicitly brought up as opposed to by pulled by dependencies. Nothing uses the feature for now but now the tech is there for an auto-stop-if-unneeded feature. --- .gitignore | 1 - NEWS | 2 +- doc/faq.html | 7 - doc/index.html | 5 +- doc/overview.html | 10 - doc/s6-rc-bundle.html | 138 ------------- doc/s6-rc-compile.html | 26 +-- doc/s6-rc.html | 3 +- doc/upgrade.html | 13 +- package/info | 2 +- package/modes | 1 - package/targets.mak | 1 - src/include/s6-rc/s6rc-db.h | 4 +- src/libs6rc/s6rc_db_read.c | 2 +- src/libs6rc/s6rc_servicedir_internal.c | 17 +- src/s6-rc/s6-rc-bundle.c | 341 --------------------------------- src/s6-rc/s6-rc-compile.c | 285 ++++++++++++++------------- src/s6-rc/s6-rc-format-upgrade.c | 77 +++++--- src/s6-rc/s6-rc-init.c | 3 +- src/s6-rc/s6-rc-oneshot-run.c | 36 ++-- src/s6-rc/s6-rc.c | 230 +++++++++++----------- 21 files changed, 376 insertions(+), 828 deletions(-) delete mode 100644 doc/s6-rc-bundle.html delete mode 100644 src/s6-rc/s6-rc-bundle.c diff --git a/.gitignore b/.gitignore index 0e74e9e..45ac2ce 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ /s6-rc-compile /s6-rc-dryrun /s6-rc-db -/s6-rc-bundle /s6-rc-init /s6-rc /s6-rc-update diff --git a/NEWS b/NEWS index 9a4a32f..2862d00 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ Changelog for s6-rc. -In 0.6.2.0 +In 0.7.0.0 ---------- - Bugfixes. diff --git a/doc/faq.html b/doc/faq.html index 23797f1..59b1d82 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -339,13 +339,6 @@ you don't want up anymore: s6-rc -p change runlevel-2.

Bundles are easy to use, they're flexible, and they're powerful. They give you the same level of functionality as runlevels would, and more. -You can even add bundles to compiled service databases - including the -live one - or remove bundles from them without having to recompile them: -that's what the s6-rc-bundle utility is -for. -

- -

When in doubt, use bundles.

diff --git a/doc/index.html b/doc/index.html index 426bdb5..1278c18 100644 --- a/doc/index.html +++ b/doc/index.html @@ -69,8 +69,8 @@ requirement if you link against the shared version of the skalibs library.