Version 2.02.87 -
===============================
+ Suppress locking error messages in monitoring init scripts.
If pipe in clvmd fails, return busy instead of using uninitialised descriptors.
Add dmeventd monitoring shared library for RAID.
Add RAID metadata devices to considered devices in _add_lv_to_dtree.
*/
int init_locking(int type, struct cmd_context *cmd, int suppress_messages)
{
- if (ignorelockingfailure() && getenv("LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES"))
+ if (getenv("LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES"))
suppress_messages = 1;
if (type < 0)
LOCK_FILE="/var/lock/subsys/$DAEMON"
WARN=1
+export LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1
start()
{
[Service]
Type=oneshot
+Environment=LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1
ExecStart=@sbindir@/lvm vgchange --monitor y
ExecStop=@sbindir@/lvm vgchange --monitor n
RemainAfterExit=yes