Hello,
We recently ran into the same issue and discovered the reason:
lvmlockds init script for systemd, which is used more often, depends on
the systemd socket /run/lvm/lvmpolld.socket and starts lvmpolld on
demand when the socket is used.
the commandline in lvm2-lvmpolld.service is:
/sbin/lvmpolld -t 60 -f
or, more verbose:
/sbin/lvmpolld --timeout 60 --foreground
The sysvinit script /etc/init.d/lvm2-lvmpolld omits the foreground
option but keeps the timeout.
In effect lvmpolld exits after 60s of inactivity but in contrast to
systemd with sysvinit one has to manually restart the daemon.
I'd suggest one of two fixes for this:
1) replace in /etc/init.d/lvm2-lvmpolld line 70 'DAEMON_ARGS="-t 60"' by
'DAEMON_ARGS=""'
2) replace 'DAEMON_ARGS="-t 60"' by 'DAEMON_ARGS="--timeout 60"' to make
the script and running comman, for example seen by ps aux, more verbose.
I'd also suggest to note this in the lvmpolld manpage.
Hope i can help to fix this.
Best regards,
Valentin