From e2a561f576ea7dbc55ebb403d648daa1561c3101 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 2 Oct 2024 16:49:31 +0400 Subject: [PATCH] fix: drop the LVM2 udev lvm rule This rule depends on `systemd-run`, and it won't work in Talos anyways, but it conflicts with Talos activating LVM volumes, as the call to `pvscan` updates the cache as if the volume got already activated, while in fact it hasn't been activated yet. Signed-off-by: Andrey Smirnov --- lvm2/pkg.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lvm2/pkg.yaml b/lvm2/pkg.yaml index ce60c091c..179659223 100644 --- a/lvm2/pkg.yaml +++ b/lvm2/pkg.yaml @@ -99,6 +99,9 @@ steps: install: - | make DESTDIR=/rootfs install + + # LVM activation is handled by Talos itself + rm -f /rootfs/usr/lib/udev/rules.d/69-dm-lvm.rules finalize: - from: /rootfs to: /