Bug#761802: lvm2: dlopen errors creating snapshots

Matthew Gabeler-Lee cheetah at fastcat.org
Tue Sep 16 06:17:24 UTC 2014


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:



More information about the pkg-lvm-maintainers mailing list