]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pstore: Don't start systemd-pstore.service in containers
authorBalint Reczey <balint.reczey@canonical.com>
Mon, 16 Dec 2019 18:03:19 +0000 (19:03 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Feb 2020 13:26:34 +0000 (14:26 +0100)
Usually it is not useful and can also fail making
boot-and-services autopkgtest fail.

units/systemd-pstore.service.in

index dde21bc33e52b1d09a3af6b6592fcc07e2f6c183..89f34afe3411ccec5dc9e053250384742516b36b 100644 (file)
@@ -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