-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: drop the LVM2 udev lvm rule #1042
Conversation
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 <andrey.smirnov@siderolabs.com>
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't https://github.com/lvmteam/lvm2/blob/main/udev/95-dm-notify.rules.in also unnecessary? We seem not to have dmsetup in our rootfs if I'm not mistaken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably, but I don't want to make bigger changes, as this is going to be backported to 1.8 - so the minimal changes required
/m |
Two fixes were in pkgs/lvm2: * siderolabs/pkgs#1041 * siderolabs/pkgs#1042 Other fixes in this PR: * drop the dm-raid patch, `lvm2` loads the required kernel modules on its own * adjust the controller a bit for some interactions * make Rook test use more complicated, encrypted setup which uses LVM * adjust LVM test to handle a case when there's more than one worker Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Two fixes were in pkgs/lvm2: * siderolabs/pkgs#1041 * siderolabs/pkgs#1042 Other fixes in this PR: * drop the dm-raid patch, `lvm2` loads the required kernel modules on its own * adjust the controller a bit for some interactions * make Rook test use more complicated, encrypted setup which uses LVM * adjust LVM test to handle a case when there's more than one worker Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Two fixes were in pkgs/lvm2: * siderolabs/pkgs#1041 * siderolabs/pkgs#1042 Other fixes in this PR: * adjust the controller a bit for some interactions * make Rook test use more complicated, encrypted setup which uses LVM * adjust LVM test to handle a case when there's more than one worker Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Two fixes were in pkgs/lvm2: * siderolabs/pkgs#1041 * siderolabs/pkgs#1042 Other fixes in this PR: * adjust the controller a bit for some interactions * make Rook test use more complicated, encrypted setup which uses LVM * adjust LVM test to handle a case when there's more than one worker Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com> (cherry picked from commit 7486157)
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 topvscan
updates the cache as if the volume got already activated, while in fact it hasn't been activated yet.