]> sourceware.org Git - lvm2.git/commit
scripts: lvm2-activation-generator fix lvmconfig call
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 4 Jan 2019 10:11:13 +0000 (11:11 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 8 Jan 2019 12:11:46 +0000 (13:11 +0100)
commit6298eaeca50e32cdff3adefdb57b09c3250547a2
tree9021a1921d4eb5e568d6da27d2350939f5eb37f4
parentbc40391b7de93334c815565240848d5297f7a6c8
scripts: lvm2-activation-generator fix lvmconfig call

Fix a scenario where global/event_activation setting is not found. In
this case we need to take default value just like lvm tools do when
executed. So use "lvmconfig --type full".

Also, if we fail to execute lvmconfig for whatever reason, fallback to
generating the activation units as failsafe action.

Reported by: Bastian Blank <waldi debian org>
WHATS_NEW
scripts/generator-internals.c
scripts/lvm2_activation_generator_systemd_red_hat.c
This page took 0.038301 seconds and 5 git commands to generate.