After upgrading to core175 my configured lvm volume did not start. I have to activate it manually after every reboot. It seems that the old udev rules weren't deleted and the new once try to use systemd.
@Adolf: Would you like to work with Daniel on this? The problem seems to be as follows: The old udev rules are still present blocking the new set from being executed at all. But if the old set is being deleted, the new rules try to wrap an LVM command in systemd-run which we don't have. So that part of the command simply needs to be removed. That should fix the problem. > https://sourceware.org/git/?p=lvm2.git;a=blob;f=udev/69-dm-lvm.rules.in;h=ff15681456403f52c9743e54901372c9fafa0e54;hb=HEAD
Yes, I will pick this up. I did the last update on lvm anyway so I must have missed something so it makes sense for me to find out what I missed and fix it so I know for the future.
(In reply to Adolf Belka from comment #2) > Yes, I will pick this up. I did the last update on lvm anyway so I must have > missed something so it makes sense for me to find out what I missed and fix > it so I know for the future. Is it helpful if I add my actual 69-dm-lvm.rules?
Created attachment 1194 [details] the modified rules file which seems to work
Thanks very much Daniel. That helps a lot, especially as you are using it and therefore can confirm that it functions correctly correctly. It looks like the lvm stuff has come from RedHat and they have moved to systemd and with one of the recent updates they have removed all the non systemd stuff from the udev rules. I will take your udev rules file as the example to create with the IPFire build. Need to also find why the old 69-dm-lvm-metad.rules file is still present. It was removed from the rootfile. Maybe it needed to be removed from installations with the update.sh script to remove it from existing installations, like removing old library files.
Patch submitted to development mailing list and patchwork https://lists.ipfire.org/pipermail/development/2023-June/016058.html https://patchwork.ipfire.org/project/ipfire/list/?series=3686
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=afbb7db68183e283a151833aa6c0541b3863a1a6 https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=8c81964bc6afc4cb8c68e1b14e1ea49ba7546e0f
https://blog.ipfire.org/post/ipfire-2-27-core-update-176-is-available-for-testing
Core Update 176 released https://blog.ipfire.org/post/ipfire-2-27-core-update-176-released