Description of problem: lvm2-lvmdbusd.service starts lvmdbusd without "--udev" which means it's not watching for UDev events to detect actions performed with third party tools like wipefs. This leads to inconsistent internal state of lvmdbusd when removing LVM PV using wipefs: Steps to reproduce: 1. wipe the LVM2_member signature from an existing device: $ wipefs -a /dev/sde5 /dev/sde5: 8 bytes were erased at offset 0x00000218 (LVM2_member): 4c 56 4d 32 20 30 30 31 2. run pvcreate using the DBus API # busctl call com.redhat.lvmdbus1 /com/redhat/lvmdbus1/Manager com.redhat.lvmdbus1.Manager PvCreate "sia{sv}" /dev/sde5 1 0 Call failed: ('com.redhat.lvmdbus1.Manager', 'PV /dev/sde5 Already exists!') Expected results: lvmdbusd should be able to detect the change by listening to the UDev events Additional info: The lvmdbusd udevwatcher is broken in latest release because of https://bugzilla.redhat.com/show_bug.cgi?id=1967165
Correction posted upstream: https://sourceware.org/git/?p=lvm2.git;a=commit;h=8a1c73ddbe35be24cde02f77bac7e3b8b6d92242