sys-fs/lvm2: runscript: rework stop()
authorThomas Deutschmann <whissi@gentoo.org>
Tue, 14 Apr 2020 17:46:32 +0000 (19:46 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Tue, 14 Apr 2020 18:34:21 +0000 (20:34 +0200)
commit83556863450367f6001774338d77cfca6bb70e8f
tree3b684d4e061f5e824ed46a77ca300c7f923d865b
parent1bb133b505d5aade0cc0b6c6e16f1bc3e9a266f7
sys-fs/lvm2: runscript: rework stop()

- Don't use LVM script anymore: If one command within script failed,
  any following command won't run anymore.

- Be verbose when rc_verbose=yes is set.

- Don't pass VGs to vgchange command. This way, LVM will determine VGs
  on its own and we don't risk to hit command limit when system has
  many VGs.

Closes: https://bugs.gentoo.org/690404
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-fs/lvm2/files/lvm.rc-2.02.187