Debian Bug report logs - #867161
lvm2: liblvm2app : warning log for unset cmd

version graph

Package: lvm2; Maintainer for lvm2 is Debian LVM Team <[email protected]>; Source for lvm2 is src:lvm2 (PTS, buildd, popcon).

Reported by: Antoine Monnet <[email protected]>

Date: Tue, 4 Jul 2017 11:06:01 UTC

Severity: normal

Found in version lvm2/2.02.168-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian LVM Team <[email protected]>:
Bug#867161; Package lvm2. (Tue, 04 Jul 2017 11:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Monnet <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian LVM Team <[email protected]>. (Tue, 04 Jul 2017 11:06:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Antoine Monnet <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: lvm2: liblvm2app : warning log for unset cmd
Date: Tue, 04 Jul 2017 13:02:39 +0200
Package: lvm2
Version: 2.02.168-2
Severity: normal

lvmetad spew out warning logs when called by the the liblvm2app library :

Jul  4 12:42:05 myhost lvmetad[339]: WARNING: Ignoring unsupported value for
cmd.
Jul  4 12:42:05 myhost lvmetad[339]: WARNING: Ignoring unsupported value for
cmd.
Jul  4 12:44:05 myhost lvmetad[339]: WARNING: Ignoring unsupported value for
cmd.
Jul  4 12:44:05 myhost lvmetad[339]: WARNING: Ignoring unsupported value for
cmd.



I found this out with the collectd / lvm plugin. Can ben reproduce easily with
python-lvm2:

sudo python -c "import lvm; lvm.listVgNames()"



Look's like liblvm2app sending over lvmetad socket empty cmd parameter is the
issue. Compare this ok strace from vgs command :

read(5, "request=\"vg_list\"\ntoken =\"filter", 32) = 32
read(5, ":3239235440\"\nupdate_timeout =10\npid =32720\ncmd =\"vgs\"\n\n##\n",
1024) = 58
write(5, "response=\"OK\"\nvolume_groups {\n\teGyPif-m1dX-2jId-5eEM-DCrQ-
gDLP-Z4zmp6 {\n\t\tname=\"world\"\n\t}\n}\n\n\n", 94) = 94
write(5, "\n##\n", 4)       = 4


To this faulty one (our python 1 liner command) :

read(5, "request=\"vg_list\"\ntoken =\"filter", 32) = 32
read(5, ":3239235440\"\nupdate_timeout =10\npid =374\ncmd =\"\"\n\n##\n", 1024)
= 53
write(2, "WARNING: Ignoring unsupported value for cmd.", 44) = 44
write(2, "\n", 1)           = 1
write(5, "response=\"OK\"\nvolume_groups {\n\teGyPif-m1dX-2jId-5eEM-DCrQ-
gDLP-Z4zmp6 {\n\t\tname=\"world\"\n\t}\n}\n\n\n", 94) = 94
write(5, "\n##\n", 4)       = 4






-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.137-2
ii  dmsetup                   2:1.02.137-2
ii  init-system-helpers       1.48
ii  libblkid1                 2.29.2-1
ii  libc6                     2.24-11+deb9u1
ii  libdevmapper-event1.02.1  2:1.02.137-2
ii  libdevmapper1.02.1        2:1.02.137-2
ii  liblvm2app2.2             2.02.168-2
ii  libreadline5              5.2+dfsg-3+b1
ii  libudev1                  232-25
ii  lsb-base                  9.20161125

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:23:36 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.