Skip to content

Commit

Permalink
fix: drop the LVM2 udev lvm rule
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
smira committed Oct 2, 2024
1 parent ae205aa commit e2a561f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lvm2/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: /

0 comments on commit e2a561f

Please sign in to comment.