Subject: bug#730: lvm2-polld dies after 60s

From: Valentin Kleibel <[email-masked]>
Date: Tue, 20 Dec 2022 11:24:18 +0100

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() {

---

From: Mark Hindley <[email-masked]>
Date: Tue, 20 Dec 2022 10:47:21 +0000

Control: forwarded -1  https://bugs.debian.org/989345

Valentin,

Many thanks for this.

In terms of the specific bug, it is a shame the Debian maintainers have not
accepted your patch.

The removal of the initscripts adds further problems.

I think there are 2 options:-

 1) Open a further Debian bug and ask for the initscripts to be restored as they
    are still used, contrary to the changelog entry, even in Debian.

 2) Fork the package in Devuan.

Whilst the second may seem the attractive choice, src:lvm2 has many open bugs in
Debian (120 or so) and we would inherit those. Also, I don't really use the
package.

Mark

---

From: Valentin Kleibel <[email-masked]>
Date: Tue, 20 Dec 2022 12:54:09 +0100

Control: forwarded -1 https://bugs.debian.org/1026443
Control: retitle -1 lvm2 init scripts

Mark,

> Debian (120 or so) and we would inherit those. Also, I don't really use the

I agree with you, if possible a fix in the Debian package would be the 
preferred solution.

I opened a new Debian bug #1026443 [1] for the issue.

Valentin

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026443

---

From: Klaus Ethgen <[email-masked]>
Date: Thu, 11 Jan 2024 19:40:40 +0100

I don't hope that debian will do any to fix that high severity bug.

Debian starts to refuse any bug that is not in there strange view of
world. They even start to aggressively insult people reporting bugs seen
in a inherited distribution like Devuan.

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email-masked]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C