Debian Bug report logs - #761802
lvm2: dlopen errors creating snapshots

version graph

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

Reported by: Matthew Gabeler-Lee <[email protected]>

Date: Tue, 16 Sep 2014 06:21:01 UTC

Severity: normal

Found in version lvm2/2.02.111-1

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#761802; Package lvm2. (Tue, 16 Sep 2014 06:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Matthew Gabeler-Lee <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian LVM Team <[email protected]>. (Tue, 16 Sep 2014 06:21:06 GMT) (full text, mbox, link).


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

From: Matthew Gabeler-Lee <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: lvm2: dlopen errors creating snapshots
Date: Tue, 16 Sep 2014 02:17:24 -0400
Package: lvm2
Version: 2.02.111-1
Severity: normal

After the recent lvm2 upgrade in /testing, creating snapshots generates some
worrisome error messages.  For example, creating a snapshot of the "home" lv
in the "raid5" vg:

raid5-home--snap: event registration failed: 29599:3 libdevmapper-event-lvm2snapshot.so dlopen failed: /lib/x86_64-linux-gnu/liblvm2cmd.so.2.02: symbol dm_report_field_string_list_unsorted, version Base not defined in file libdevmapper.so.1.02.1 with link time reference
raid5/snapshot0: snapshot segment monitoring function failed.

Despite this looking scary, the snapshot does appear to have been created
just fine.  This didn't happen with the prior version in testing, namely
2.02.109-1.  I presume this is because the dmeventd modules were enabled in
lvm.conf in the new version.  Given all the .so's in this chain came from
the same release of the same lvm2 source pacakge, however, it seems very
strange that it's complaining about symbol versions like this.

The symbol does seem to be there, so I guess it's a versioning issue?

$ nm -D /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 | grep dm_report_field_string_list_unsorted
0000000000026280 T dm_report_field_string_list_unsorted

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.90-1
ii  dmsetup                   2:1.02.90-1
ii  init-system-helpers       1.21
ii  initscripts               2.88dsf-53.4
ii  libc6                     2.19-10
ii  libdevmapper-event1.02.1  2:1.02.90-1
ii  libdevmapper1.02.1        2:1.02.90-1
ii  libreadline5              5.2+dfsg-2
ii  libudev1                  208-8
ii  lsb-base                  4.1+Debian13

lvm2 recommends no packages.

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

-- debconf information:
  lvm2/snapshots:



Information forwarded to [email protected], Debian LVM Team <[email protected]>:
Bug#761802; Package lvm2. (Tue, 16 Sep 2014 10:21:22 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Rajnoha <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <[email protected]>. (Tue, 16 Sep 2014 10:21:22 GMT) (full text, mbox, link).


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

From: Peter Rajnoha <[email protected]>
To: [email protected]
Subject: lvm2: dlopen errors creating snapshots
Date: Tue, 16 Sep 2014 12:19:21 +0200
Is there "dmeventd -R" called in update script? This one should be
called each time dmeventd is updated to pick up any changes
in libdevmapper (the dmeventd is reexecuted and the monitoring
state is transferred from the old dmeventd instance).



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:47:54 2025; Machine Name: buxtehude

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.