:: [devuan-dev] bug#730: lvm2-polld di…
Góra strony
Delete this message
Reply to this message
Autor: Valentin Kleibel
Data:  
Dla: submit
Temat: [devuan-dev] bug#730: lvm2-polld dies after 60s
Package: lvm2
Version: 2.03.11-2.1
Source: lvm2
Severity: serious
Tags: patch
Control: found -1 2.03.15-2


Dear Maintainers,

The lvmpolld daemon dies after 60s with the provided init script. This
is due to the daemon arg "-t 60" which makes sense for a systemd socket
but unfortunately not for sysvinit.
Removing the arg fixes the issue, see also the the manpage for reference
[1].

This was also reported to debian as Bug #989345 [2].

The latest debian testing update to 2.03.16-2 completely removed the
init scripts for lvm2. [3]

Best regards,
Valentin

[1] https://manpages.debian.org/buster/lvm2/lvmpolld.8.en.html#OPTIONS
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989345
[3]
https://salsa.debian.org/lvm-team/lvm2/-/commit/361969e6035ca57f584c06f348281e3e27d48351--- /etc/init.d/lvm2-lvmpolld    2021-06-01 16:24:33.649383568 +0200
+++ /etc/init.d/lvm2-lvmpolld.orig    2021-06-01 16:24:22.453383376 +0200
@@ -14,7 +14,7 @@


DESC="LVM2 poll daemon"
DAEMON=/sbin/lvmpolld
-DAEMON_ARGS=""
+DAEMON_ARGS="-t 60"
PIDFILE=/run/lvmpolld.pid

do_start_prepare() {