From ef4d8c74f9342cc67421f20e4aaa4d62a911fcb8 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 26 Feb 2023 19:08:06 +0000
Subject: Prepare for 1.1.1.0; add s6-l-i-m -R option to set hard limits
Signed-off-by: Laurent Bercot
---
doc/index.html | 6 +++---
doc/overview.html | 1 +
doc/s6-linux-init-maker.html | 17 +++++++++++++++++
doc/upgrade.html | 9 +++++++++
4 files changed, 30 insertions(+), 3 deletions(-)
(limited to 'doc')
diff --git a/doc/index.html b/doc/index.html
index 14230a8..e5e0408 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -80,9 +80,9 @@ programs used when you boot a system created with
s6-linux-init-maker) if you link
against the shared version of the skalibs library.
execline version
-2.9.2.0 or later. It is a build-time and boot-time requirement.
+2.9.2.1 or later. It is a build-time and boot-time requirement.
s6 version
-2.11.3.0 or later. It is a build-time and boot-time requirement.
+2.11.3.1 or later. It is a build-time and boot-time requirement.
@@ -110,7 +110,7 @@ want nsswitch-like functionality:
- The current released version of s6-linux-init is
-1.1.0.0.
+1.1.1.0.
- Alternatively, you can checkout a copy of the
s6-linux-init
git repository:
diff --git a/doc/overview.html b/doc/overview.html
index ef01e1e..9768bf2 100644
--- a/doc/overview.html
+++ b/doc/overview.html
@@ -98,6 +98,7 @@ invariants are met:
+ - Global resource limits, if any, are set on the system.
- A tmpfs is mounted on /run - that location can be changed
at build-time via the --tmpfsdir option to configure. The rest
of this document assumes it is /run.
diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html
index 1390781..33bb550 100644
--- a/doc/s6-linux-init-maker.html
+++ b/doc/s6-linux-init-maker.html
@@ -61,6 +61,7 @@ machine. If it is not the case, the system will fail to boot.
[ -D initdefault ] \
[ -n | -N ] \
[ -f skeldir ] \
+ [ -R resource_limit_list ] \
[ -C ] \
[ -B ] \
[ -S ] \
@@ -319,6 +320,22 @@ build time. This option is typically useful when distributions run
s6-linux-init-maker in packaging scripts, when preparing
files in a staging directory.
+ - -R resource_limit_list : declare
+global resource limits (a.k.a. "hard limits") for the system to be
+booted. resource_limit_list is a comma-separated list of
+instructions such as o2000, d= or c0:
+a letter followed by either the character =, which means
+unlimited, or a number, which is the value of the resource limit.
+The letter specifies the resource being addressed, as defined by
+the option letters used by
+s6-softlimit:
+for instance, c means core file size limit, and o
+means open fds limit. Note that unlike s6-softlimit, which only sets
+soft limits, i.e. process hierarchy-wide limits, the values
+given here declare hard limits that will be enforced for the
+whole system to be booted: it will be impossible to raise soft limits
+above these values.
+
- -C : create a set of scripts that is suitable
for running in a container. This modifies some behaviours:
diff --git a/doc/upgrade.html b/doc/upgrade.html
index e1799f1..18066c7 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,15 @@
What has changed in s6-linux-init
+ in 1.1.1.0
+
+
+ - execline
+dependency bumped to 2.9.2.1.
+ - s6
+dependency bumped to 2.11.3.1.
+
+
in 1.1.0.0