From 343e35b36d871e928553b7b80a07ff19c9e3d09e Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 23 Jan 2024 16:01:31 +0000 Subject: core: add SYSTEMD_VERITY_SHARING env var for local development When running an image that cannot be mounted (e.g.: key missing intentionally for development purposes), there's a retry loop that takes some time and slows development down. Add an env var to disable it. --- docs/ENVIRONMENT.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/ENVIRONMENT.md') diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 454a02991d..7f59dcae71 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -126,6 +126,9 @@ All tools: * `$SYSTEMD_NETLINK_DEFAULT_TIMEOUT` — specifies the default timeout of waiting replies for netlink messages from the kernel. Defaults to 25 seconds. +* `$SYSTEMD_VERITY_SHARING=0` — if set, sharing dm-verity devices by + using a stable `-verity` device mapper name will be disabled. + `systemctl`: * `$SYSTEMCTL_FORCE_BUS=1` — if set, do not connect to PID 1's private D-Bus -- cgit v1.2.3