diff options
author | David Teigland <teigland@redhat.com> | 2021-03-26 11:39:05 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-10-07 12:42:31 -0500 |
commit | 67722b312390cdab29c076c912e14bd739c5c0f6 (patch) | |
tree | 42e3beddabd1a14f4a3fb44ed2adfcc4b6333c35 /spec | |
parent | bbf8e7db74d744c1462a63ae2bc64f4d46e8db9f (diff) | |
download | lvm2-67722b312390cdab29c076c912e14bd739c5c0f6.tar.gz |
new udev autoactivation
new udev rule 69-dm-lvm.rules replaces
69-dm-lvm-meta.rules and lvm2-pvscan.service
udev rule calls pvscan directly on the added device
pvscan output indicates if a complete VG can be activated
udev env var LVM_VG_NAME_COMPLETE is used to pass complete
VG name from pvscan to the udev rule
udev rule uses systemd-run to run vgchange -aay <vgname>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/packages.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/packages.inc b/spec/packages.inc index 3f6e26d11..74d795520 100644 --- a/spec/packages.inc +++ b/spec/packages.inc @@ -163,7 +163,7 @@ fi %endif %if %{enable_udev} %{_udevdir}/11-dm-lvm.rules - %{_udevdir}/69-dm-lvm-metad.rules + %{_udevdir}/69-dm-lvm.rules %endif %dir %{_sysconfdir}/lvm %ghost %{_sysconfdir}/lvm/cache/.cache @@ -189,7 +189,6 @@ fi %{_tmpfilesdir}/%{name}.conf %{_unitdir}/blk-availability.service %{_unitdir}/lvm2-monitor.service - %{_unitdir}/lvm2-pvscan@.service %attr(555, -, -) %{_prefix}/lib/systemd/system-generators/lvm2-activation-generator %if %{have_service lvmpolld} %{_unitdir}/lvm2-lvmpolld.service |