lvm: start lvm2-lvmetad only if present + support lvm2-lvmpolld
authorMichael Prokop <mika@grml.org>
Tue, 23 Jun 2020 10:43:08 +0000 (12:43 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 23 Jun 2020 11:04:22 +0000 (13:04 +0200)
commit86279cdec69f44dce191edb0fa9a056cf65d1e24
tree0792c01221ed62347665bc1f84023862c340eafb
parent7d9bfa75565c491a513d421e2f2fc42a9ea9789f
lvm: start lvm2-lvmetad only if present + support lvm2-lvmpolld

lvm2-lvmetad is gone since 2.03.01-1 (and its init script
was actually dropped later in 2.03.02-2).

Instead lvmpolld is available since 2.02.122-1.

While at it improve formatting, as startup of lvm2-lvmpolld (and
lvm2-lvmetad if present) displays a message on initial startup which
gets in between the "Searching for logical volumes and enabling them:"
and the display of present LVM devices, which isn't nice. So properly
split them.

Closes: grml/grml-autoconfig#10
autoconfig.functions