clvm initscript relies on corosync-quorumtool -s which is always retrun 1

Bug #1637201 reported by Denis on 2016-10-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Undecided
Unassigned

Bug Description

clvm initscript relies on corosync-quorumtool -s to detect whether corosync running or not. quorumtool returns 1 as it's boolean flag for "Quorate".
thus running corosync may be detected just by listing corosync nodes, so corosync-quorumtool -l will be more reliable.
a small patch is attached

Denis (iie4ehbka) wrote :
Denis (iie4ehbka) wrote :

sorry, vice-verse changed lines in patch

The attachment "clvm.init.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers