Your message dated Wed, 29 Sep 2010 13:02:24 +0000
with message-id <[email protected]>
and subject line Bug#596004: fixed in libvirt 0.8.3-2
has caused the Debian Bug report #596004,
regarding libvirt0: xen block stats uses wrong sysfs path
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
596004: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596004
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvirt0
Version: 0.8.3-1.1
Severity: normal
Hello, I'm using squeeze current xen 4.0.1~rc6-1 packages and
linux-image-2.6.32-5-xen-amd64 2.6.32-21 kernel.
It seems that our kernel has different sysfs paths than other distributions,
some time ago, or perhaps currently in RHEL5, the sysfs path used to be:
/sys/devices/xen-backend/
But for Debian, and perhaps more recent kernels than what RHEL5 is using, the
path has changed to:
/sys/bus/xen-backend/
I tried searching for the history on this path change, couldn't find much
besides the following links. This leads me to believe that it could be the
kernel which has changed sysfs structure and not anything directly in the xen
source.
"[libvirt] wrong path of domblkstat":
https://www.redhat.com/archives/libvir-list/2010-June/msg00310.html
"xentop does not work with 2.6.30-rc3 Dom0 kernel from Jeremy's GIT"
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1454
Tools which retrieve block stats from libvirt0 result in the following error
when running on squeeze:
internal error read_bd_stats: Failed to read any block statistics
The source in libvirt0 src/xen/block_stats.c contains the following function:
static int64_t
read_bd_stat (int device, int domid, const char *str)
{
char path[PATH_MAX];
int64_t r;
snprintf (path, sizeof path,
"/sys/devices/xen-backend/vbd-%d-%d/statistics/%s",
domid, device, str);
r = read_stat (path);
if (r >= 0) return r;
snprintf (path, sizeof path,
"/sys/devices/xen-backend/tap-%d-%d/statistics/%s",
domid, device, str);
r = read_stat (path);
return r;
}
I'll attach a patch that modifies this function with additional search paths
once this bug is created.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvirt0 depends on:
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcap-ng0 0.6.4-1 An alternate posix capabilities li
ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime libr
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libnl1 1.1-5 library for dealing with netlink s
ii libsasl2-2 2.1.23.dfsg1-6 Cyrus SASL - authentication abstra
ii libxenstore3.0 4.0.1~rc6-1 Xenstore communications library fo
ii libxml2 2.7.7.dfsg-4 GNOME XML library
Versions of packages libvirt0 recommends:
ii lvm2 2.02.66-3 The Linux Logical Volume Manager
libvirt0 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: libvirt
Source-Version: 0.8.3-2
We believe that the bug you reported is fixed in the latest version of
libvirt, which is due to be installed in the Debian FTP archive:
libvirt-bin_0.8.3-2_i386.deb
to main/libv/libvirt/libvirt-bin_0.8.3-2_i386.deb
libvirt-dev_0.8.3-2_i386.deb
to main/libv/libvirt/libvirt-dev_0.8.3-2_i386.deb
libvirt-doc_0.8.3-2_all.deb
to main/libv/libvirt/libvirt-doc_0.8.3-2_all.deb
libvirt0-dbg_0.8.3-2_i386.deb
to main/libv/libvirt/libvirt0-dbg_0.8.3-2_i386.deb
libvirt0_0.8.3-2_i386.deb
to main/libv/libvirt/libvirt0_0.8.3-2_i386.deb
libvirt_0.8.3-2.debian.tar.gz
to main/libv/libvirt/libvirt_0.8.3-2.debian.tar.gz
libvirt_0.8.3-2.dsc
to main/libv/libvirt/libvirt_0.8.3-2.dsc
python-libvirt_0.8.3-2_i386.deb
to main/libv/libvirt/python-libvirt_0.8.3-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated libvirt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 29 Sep 2010 14:00:38 +0200
Source: libvirt
Binary: libvirt-bin libvirt0 libvirt0-dbg libvirt-doc libvirt-dev python-libvirt
Architecture: source all i386
Version: 0.8.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian Libvirt Maintainers
<[email protected]>
Changed-By: Guido Günther <[email protected]>
Description:
libvirt-bin - the programs for the libvirt library
libvirt-dev - development files for the libvirt library
libvirt-doc - documentation for the libvirt library
libvirt0 - library for interfacing with different virtualization systems
libvirt0-dbg - library for interfacing with different virtualization systems
python-libvirt - libvirt Python bindings
Closes: 594962 596004
Changes:
libvirt (0.8.3-2) unstable; urgency=low
.
* [4097bbd] New patch 0007-Fix-block-statistics-with-newer-versions-
of-Xen.patch. Fix block statistics with newer versions of Xen
(Closes: #596004) - thanks to Gerald Turner for the patch
* [d554da3] Explain disk image probing changes (Closes: #594962)
Checksums-Sha1:
6e0e3b17036ba0d201dcb816647e83bf4ada9d73 1874 libvirt_0.8.3-2.dsc
353e307fc5cbfaea0a02011302c968d1bbc517dc 24109 libvirt_0.8.3-2.debian.tar.gz
5e2f7a4eaf575489e0c1d3c3af621d63f2b60ef9 1119574 libvirt-doc_0.8.3-2_all.deb
bcab428e044ec35ed867555fef8517a1fca2af62 1020732 libvirt-bin_0.8.3-2_i386.deb
bbbd94c915040f86516359262f35afe6eeee94b5 954094 libvirt0_0.8.3-2_i386.deb
792a7629502f6f88f03f9bb2ce43e6c4aebaa618 3043428 libvirt0-dbg_0.8.3-2_i386.deb
bcf6df63900c9f2e5097459fd55f8cd1d8b70a2e 1175386 libvirt-dev_0.8.3-2_i386.deb
4105f2909ed700065a608aec4517b7a49d7fd766 439194 python-libvirt_0.8.3-2_i386.deb
Checksums-Sha256:
a9bfabae17be3eac00a33240f61d20c616ce134fe6a7815d884b6b421a4f9e27 1874
libvirt_0.8.3-2.dsc
aeb3bb623d7b432e668f3ad0689cb998588bd59786ba33477dafcc950e313169 24109
libvirt_0.8.3-2.debian.tar.gz
2027531bfe8fb738ef0b96bea7feccd90a3b5e5daa5a39411baef18bf02c074e 1119574
libvirt-doc_0.8.3-2_all.deb
ee8d0cffaad1994910f24baf7f3990383d99d93d6c1aa2ffcb95cf131fbcde54 1020732
libvirt-bin_0.8.3-2_i386.deb
0ae38d77b97a7eb27d6568e57391c58881fdb4d25a53480c505243f8ab4bfe5e 954094
libvirt0_0.8.3-2_i386.deb
84ad70912c0deb500d51a2a5493f0730f28a1474e6fb8f5659e69a41a6a1f9e0 3043428
libvirt0-dbg_0.8.3-2_i386.deb
01df651034e4dfe9607c45722d8f85b7ab270bb051ff2d01f7c8c510f93456f0 1175386
libvirt-dev_0.8.3-2_i386.deb
e61c199fba0bb18a3d9431c1056d7068318342df8b13e7e94cf10fd83753b266 439194
python-libvirt_0.8.3-2_i386.deb
Files:
890a8733173ffc8ff2aa5530ab294965 1874 libs optional libvirt_0.8.3-2.dsc
429552dcef9d65327ec51b68d6864f69 24109 libs optional
libvirt_0.8.3-2.debian.tar.gz
a3a4325f7212997306d673d38b874a86 1119574 doc optional
libvirt-doc_0.8.3-2_all.deb
9a281ff5b79f28c899d52bfe4a4ca2bc 1020732 admin optional
libvirt-bin_0.8.3-2_i386.deb
886e8c699bafbee3612c61ca4e1a6ab3 954094 libs optional libvirt0_0.8.3-2_i386.deb
fe80ca9843dad8a1bc6d8184c000912e 3043428 debug extra
libvirt0-dbg_0.8.3-2_i386.deb
e2f375991757dd372220b15bc84abe4f 1175386 libdevel optional
libvirt-dev_0.8.3-2_i386.deb
48db56782d8c9bc47afa35c500b96ca7 439194 python optional
python-libvirt_0.8.3-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFMozRKn88szT8+ZCYRAmXDAJ4tjGkoKIy4wrV2saRFZbdIFWcUBACeK6HU
cnaLjynGWV2NbSHg300kbHU=
=cUAh
-----END PGP SIGNATURE-----
--- End Message ---