summaryrefslogtreecommitdiff
path: root/units/systemd-pstore.service.in
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@canonical.com>2019-12-16 19:03:19 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-27 14:26:34 +0100
commit287f506c32f3f4a48ba020408f964cb0f964d752 (patch)
treec99ff7592ba3ff14d72519e0eb2f0eb54892ac30 /units/systemd-pstore.service.in
parent81eb5bc5cc7e7b9147de50e2cdb7454e527d8ef3 (diff)
downloadsystemd-287f506c32f3f4a48ba020408f964cb0f964d752.tar.gz
pstore: Don't start systemd-pstore.service in containers
Usually it is not useful and can also fail making boot-and-services autopkgtest fail.
Diffstat (limited to 'units/systemd-pstore.service.in')
-rw-r--r--units/systemd-pstore.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in
index dde21bc33e..89f34afe34 100644
--- a/units/systemd-pstore.service.in
+++ b/units/systemd-pstore.service.in
@@ -11,6 +11,7 @@
Description=Platform Persistent Storage Archival
Documentation=man:systemd-pstore(8)
ConditionDirectoryNotEmpty=/sys/fs/pstore
+ConditionVirtualization=!container
DefaultDependencies=no
Wants=systemd-remount-fs.service
After=systemd-remount-fs.service