Subject: Bug#939092: Workaround

From: "Nikolaus Rath" <[email-masked]>
Date: Thu, 19 Sep 2019 21:24:58 +0100

The following workaround suppresses the bogus error, but probably also ignores legitimate problems:

Create /etc/systemd/system/lvm2-pvscan@.service from /lib/systemd/system/lvm2-pvscan@.service but use:

# Leading dash means to ignore exit status, necessary because
# of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933647
ExecStart=-/sbin/lvm pvscan --cache --activate ay %i

Best,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«