summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-12-15 21:44:29 +0100
committerLennart Poettering <lennart@poettering.net>2017-12-26 17:39:44 +0100
commit871c6d54e4194732eaf7c7956de256c07d507e24 (patch)
tree360e414b14a82a7a646349f4566cbaae68dffaac /man
parent5022f08a23c0b64973b74cd71be9f5122ec655a6 (diff)
downloadsystemd-871c6d54e4194732eaf7c7956de256c07d507e24.tar.gz
systemd-871c6d54e4194732eaf7c7956de256c07d507e24.tar.bz2
systemd-871c6d54e4194732eaf7c7956de256c07d507e24.zip
Add note about kernel version unportability
Diffstat (limited to 'man')
-rw-r--r--man/systemd.unit.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 0d35d619e0..73f33a4580 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1055,6 +1055,11 @@
by <command>uname -r</command>) matches a certain expression (or if prefixed with the exclamation mark does not
match it). The argument must be a single string, optionally containing shell-style globs.</para>
+ <para>Note that using the kernel version string is an unreliable way to determine which features are supported
+ by a kernel, because of the widespread practice of backporting drivers, features, and fixes from newer upstream
+ kernels into older versions provided by distributions. Hence, this check is inherently unportable and should
+ not be used for units which may be used on different distributions.</para>
+
<para><varname>ConditionSecurity=</varname> may be used to
check whether the given security module is enabled on the
system. Currently, the recognized values are