diff options
author | Reid wahl <nrwahl@protonmail.com> | 2020-06-19 18:18:34 -0700 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-07-03 15:28:20 -0400 |
commit | 001a220f9558929dc1b84bc51930899f651abc36 (patch) | |
tree | 30db331a01410cdbef70b5b6e4e97e3e22423654 /.github | |
parent | 1c87810faf65fa2c6165d917dd3cc51b3c90a969 (diff) | |
download | sos-001a220f9558929dc1b84bc51930899f651abc36.tar.gz |
[lvm2] Fix warning due to locking_type=0 option
On RHEL 8, the option `--config="global{locking_type=0}"` is deprecated.
This option is included in the lvm_opts variable and thus produces
deprecation warnings in the outputs of pvscan, vgscan, pvs, vgs, and
lvs:
WARNING: locking_type (0) is deprecated, using --nolocking.
This patch fixes the issue by removing "locking_type=0" from the config
string and appending "--nolocking" to lvm_opts on systems where
"--nolocking" is supported.
Related to RHBZ#1849248.
Resolves: #2127
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions