ClusterLabs / ClusterLabs/resource-agents

does lvm.conf newer than initrd check fails

Open
#671 0 comments 0 reactions 0 assignees View on GitHub
rgmanager agent
Dominant language
Shell
Stars
519
Forks
608
Avg merge
6d 1h
Merged PRs (30d)
7

Description

Hello,

I am using Proxmox and find a problem in my setup in file
resource-agents/rgmanager/src/resources/lvm.sh.

HA-LVM did not be activate with error
`[lvm] * initrd image needs to be newer than lvm.conf`

After a bit digging found that the find command fails in my setup.

The failing line is
`if [ "$(find /boot -name *.img -newer /etc/lvm/lvm.conf)" == "" ]; then`

This needs to be changed as
`if [ "$(find /boot -maxdepth 1 -name initrd.img* -newer /etc/lvm/lvm.conf)" == "" ]; then`

More details;
http://forum.proxmox.com/threads/23451-cluster-HA-LVM-service-fails-beacuse-of-a-bug?p=117429

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.