aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-12 13:42:06 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-21 19:07:55 +0100
commit2467cc55f139cf540dc1ed6da5f3774fcbab4475 (patch)
tree1cd1f4074f54a2bac518893df8860063cf9c86ad /ENVIRONMENT.md
parentbuild-sys: don't mke use of "sushell" automatically (diff)
downloadsystemd-2467cc55f139cf540dc1ed6da5f3774fcbab4475.tar.gz
systemd-2467cc55f139cf540dc1ed6da5f3774fcbab4475.tar.bz2
systemd-2467cc55f139cf540dc1ed6da5f3774fcbab4475.zip
util-lib: read $SYSTEMD_PROC_CMDLINE if set when looking for the kernel cmdline
if we want to parse the kernel command line, let's check the $SYSTEMD_PROC_CMDLINE environment variable first. This is useful for debugging purposes.
Diffstat (limited to 'ENVIRONMENT.md')
-rw-r--r--ENVIRONMENT.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/ENVIRONMENT.md b/ENVIRONMENT.md
index 4ace45751..1ad2addfe 100644
--- a/ENVIRONMENT.md
+++ b/ENVIRONMENT.md
@@ -21,6 +21,11 @@ All tools:
* `$SD_EVENT_PROFILE_DELAYS=1` — if set, the sd-event event loop implementation
will print latency information at runtime.
+* `$SYSTEMD_PROC_CMDLINE` — if set, may contain a string that is used as kernel
+ command line instead of the actual one readable from /proc/cmdline. This is
+ useful for debugging, in order to test generators and other code against
+ specific kernel command lines.
+
systemctl:
* `$SYSTEMCTL_FORCE_BUS=1` — if set, do not connect to PID1's private D-Bus