Bugzilla – Bug 1225783
add rpm dependency in spec file for aligning new DM udev rules
Last modified: 2024-07-02 01:18:37 UTC
LVM 2.03.24 contains a changed set[1][2] of device-mapper udev rules which slightly modifies the semantics of the udev properties of dm devices. This introduces a dependency between LVM 2.03.24 and systemd[3], as well as multipath-tools 0.9.9. The risk of breakage is low (see in-depth discussion here), but we could make it even lower by patching systemd to include [3]. [1]: https://gitlab.com/lvmteam/lvm2/-/merge_requests/9 [2]: 038f9254d9554654197b59c160e3f775af27cdb1 a196752969320cfc34a97cc97afa1978fa57da73 21ca92c4325b6b161fb1e1f10942ad9f8d23c144 2b2f11a74cd5cc05f266fd0c65f0e55eb8bafd9f f98d020eadafe7d8db7bec1f5a26915615e5a6a9 0fe2d778aa905849daae471b4956b056c43373f3 6f44e1093c4a06214831d439c5db9e885b70f072 [3]: https://github.com/systemd/systemd/pull/31661
systemd SR#: https://build.opensuse.org/request/show/1177954
there are two SRs [1][2], which make lvm2 support new udev rules. [1]: https://build.opensuse.org/request/show/1178006 ``` Sat Jun 1 01:46:00 UTC 2024 - Heming Zhao <heming.zhao@suse.com> - add rpm dependency in spec file for aligning new DM udev rules (bsc#1225783) * update lvm2.spec ``` [2]: https://build.opensuse.org/request/show/1183261 ``` Wed Jun 26 22:59:00 UTC 2024 - Heming Zhao <heming.zhao@suse.com> - add rpm dependency in spec file for aligning new DM udev rules (bsc#1225783) * update lvm2.spec for multipath-tools ``` ------------------------------ In lvm2.spec, the relevant code: ``` # see bsc#1225783 for following 2 lines Requires: (udev >= 255.7 if udev) Requires: (multipath-tools >= 0.9.9 if multipath-tools) ```
SRs have been accepted by factory, close this bug.