summaryrefslogtreecommitdiff
path: root/man/systemd-cryptenroll.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-20 17:42:57 +0200
committerMike Yuan <me@yhndnzj.com>2023-04-21 03:20:24 +0800
commit08c2f9c626e0f0052d505b1b7e52f335c0fbfa1d (patch)
treec432fb99ab9e236ac2a128fb5efb761b7502abf4 /man/systemd-cryptenroll.xml
parent6b8e90545e918a4653281b3672a873e948f12b65 (diff)
downloadsystemd-08c2f9c626e0f0052d505b1b7e52f335c0fbfa1d.tar.gz
detect-virt: add message at debug level
Normal users do not have permissions to access /proc/1/root, so 'systemd-detect-virt -r' fails, but the output, even at debug level is cryptic: $ SYSTEMD_LOG_LEVEL=debug build/systemd-detect-virt -r Failed to check for chroot() environment: Permission denied Let's make this a bit easier to figure out: $ SYSTEMD_LOG_LEVEL=debug build/systemd-detect-virt -r Cannot stat /proc/1/root: Permission denied Failed to check for chroot() environment: Permission denied I looked over other users of files_same(), and I think in general the message at debug level is OK for them too.
Diffstat (limited to 'man/systemd-cryptenroll.xml')
0 files changed, 0 insertions, 0 deletions