summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-06-12 03:15:19 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-28 20:34:03 +0200
commitb0d3095fd6cc1791a38f57a1982116b4475244ba (patch)
treef415bd813a7e07599c969fdd4965390bfdf38cd6 /README
parentMerge pull request #28551 from mrc0mmand/unit-cleanup-set (diff)
downloadsystemd-b0d3095fd6cc1791a38f57a1982116b4475244ba.tar.xz
systemd-b0d3095fd6cc1791a38f57a1982116b4475244ba.zip
Drop split-usr and unmerged-usr support
As previously announced, execute order 66: https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html The meson options split-usr, rootlibdir and rootprefix become no-ops that print a warning if they are set to anything other than the default values. We can remove them in a future release.
Diffstat (limited to 'README')
-rw-r--r--README35
1 files changed, 7 insertions, 28 deletions
diff --git a/README b/README
index 6f9a56c809..8e4d967056 100644
--- a/README
+++ b/README
@@ -259,13 +259,14 @@ REQUIREMENTS:
make use of DynamicUser= now, hence enabling nss-systemd is not
optional.
- Note that the build prefix for systemd must be /usr. (Moreover, packages
+ Note that the build prefix for systemd must be /usr/. (Moreover, packages
systemd relies on — such as D-Bus — really should use the same prefix,
- otherwise you are on your own.) -Dsplit-usr=false (which is the default
- and does not need to be specified) is the recommended setting.
- -Dsplit-usr=true can be used to give a semblance of support for systems
- with programs installed split between / and /usr. Moving everything
- under /usr is strongly encouraged.
+ otherwise you are on your own.) Split-usr and unmerged-usr systems are no
+ longer supported, and moving everything under /usr/ is required. Systems
+ with a separate /usr/ partition must mount it before transitioning into it
+ (i.e.: from the initrd). For more information see:
+ https://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
+ https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge
Additional packages are necessary to run some tests:
- nc (used by test/TEST-12-ISSUE-3171)
@@ -404,28 +405,6 @@ SYSV INIT.D SCRIPTS:
needs to look like, and provide an implementation at the marked places.
WARNINGS and TAINT FLAGS:
- systemd will warn during early boot if /usr is not already mounted at
- this point (that means: either located on the same file system as / or
- already mounted in the initrd). While in systemd itself very little
- will break if /usr is on a separate late-mounted partition, many of its
- dependencies very likely will break sooner or later in one form or
- another. For example, udev rules tend to refer to binaries in /usr,
- binaries that link to libraries in /usr, or binaries that refer to data
- files in /usr. Since these breakages are not always directly visible,
- systemd will warn about this. Such setups are not really supported by
- the basic set of Linux OS components. Taint flag 'split-usr' will be
- set when this condition is detected.
-
- For more information on this issue consult
- https://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
-
- systemd will warn if the filesystem is not usr-merged (i.e.: /bin, /sbin
- and /lib* are not symlinks to their counterparts under /usr). Taint flag
- 'unmerged-usr' will be set when this condition is detected.
-
- For more information on this issue consult
- https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge
-
systemd requires that the /run mount point exists. systemd also
requires that /var/run is a symlink to /run. Taint flag 'var-run-bad'
will be set when this condition is detected.