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

Full log


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

Received: (at submit) by bugs.debian.org; 16 Sep 2014 06:17:34 +0000
From [email protected] Tue Sep 16 06:17:34 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
	(2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FOURLA,HAS_PACKAGE,SPF_HELO_PASS,SPF_PASS,
	T_RP_MATCHES_RCVD,XMAILER_REPORTBUG autolearn=ham
	version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 149; neutral, 125; spammy,
	2. spammytokens:0.995-1--H*MI:73694, 0.995-1--H*M:73694
	hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
	0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--sk:x86_64
Return-path: <[email protected]>
Received: from cheetah.fastcat.org ([71.174.62.34] ident=Debian-exim)
	by buxtehude.debian.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
	(Exim 4.80)
	(envelope-from <[email protected]>)
	id 1XTm50-0000sF-7x
	for [email protected]; Tue, 16 Sep 2014 06:17:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fastcat.org; s=20130912;
	h=Date:Message-ID:Subject:To:From:Content-Transfer-Encoding:MIME-Version:Content-Type; bh=0TjCwgHiVEaqidPAhsnb2drO/7PJGx5lLRCeaw1a7ss=;
	b=q2Otl16HZAyzkphm8qSrUXWG0BC2rSUyrRT4wsPA9hplYuYWw+mjPbzI7Q7Wr+FylUCb21kWYpsjyH2GIxiQmKRXmy/Kv5h8O2K90l3KPSZPgtB6XJFEKVgN/OZ0/xp83mTXlcfe47XkikyFFfcT2/YE16I3gGmEqcAA4frdUKtabYmXrAVTH9yqPoRb7b8MQ/GrWInF9tIodJ4ImmacOuXPK+Ms6euHWD0WRKbhy2Uzpc5JutOLPl64LcY1gtJWa9oyBZ2BaWdhZKnQQwL+fYeWGNh9tgOsae7vRkY/lDWxCmHhpeIj8WZCVPw45Z5alBJtdEGqQqJP+nLG+PiNxA==;
Received: from cheetah by cheetah.fastcat.org with local (Exim 4.84)
	(envelope-from <[email protected]>)
	id 1XTm4q-0002i6-3T; Tue, 16 Sep 2014 02:17:24 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Matthew Gabeler-Lee <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: lvm2: dlopen errors creating snapshots
Message-ID: <[email protected]>
X-Mailer: reportbug 6.5.1
Date: Tue, 16 Sep 2014 02:17:24 -0400
Delivered-To: [email protected]
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:



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:40:04 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.