[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686424: unblock: imvirt/0.9.4-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package imvirt

It adds an upstream patch to fix a missdetection of physical hosts as LXC
virtualized ones.

diff -Naur '--exclude=.svn' 0.9.4-3/debian/changelog 0.9.4-4/debian/changelog
--- 0.9.4-3/debian/changelog    2012-08-13 09:49:34.774700804 +0200
+++ 0.9.4-4/debian/changelog    2012-09-01 13:08:08.007404919 +0200
@@ -1,3 +1,10 @@
+imvirt (0.9.4-4) unstable; urgency=low
+
+  * Add upstream patch 03-lxc-physical to fix an missdetection of physical
+    hosts as LXC ones.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Sat, 01 Sep 2012 13:06:07 +0200
+
 imvirt (0.9.4-3) unstable; urgency=low
 
   * Add upstream patch 01-lxc-procfs-read:
diff -Naur '--exclude=.svn' 0.9.4-3/debian/patches/03-lxc-physical.diff 0.9.4-4/debian/patches/03-lxc-physical.diff
--- 0.9.4-3/debian/patches/03-lxc-physical.diff 1970-01-01 01:00:00.000000000 +0100
+++ 0.9.4-4/debian/patches/03-lxc-physical.diff 2012-09-01 13:08:08.007404919 +0200
@@ -0,0 +1,15 @@
+# Upstream patch to fix a missdetection in the LXC module.
+# Physical machines may be detected as LXC virtualized ones.
+
+diff -Naur imvirt-0.9.4.orig/perl/lib/ImVirt/VMD/LXC.pm imvirt-0.9.4/perl/lib/ImVirt/VMD/LXC.pm
+--- imvirt-0.9.4.orig/perl/lib/ImVirt/VMD/LXC.pm       2012-09-01 13:02:29.000000000 +0200
++++ imvirt-0.9.4/perl/lib/ImVirt/VMD/LXC.pm    2012-09-01 13:03:15.260638847 +0200
+@@ -42,7 +42,7 @@
+ 
+     # Check init's control group data
+     if(defined(my $cg = procfs_read('1/cgroup'))) {
+-        if($cg =~ /^\d+:[^:]+:/.+$/) {
++        if($cg =~ /^\d+:[^:]+:\/.+$/) {
+             ImVirt::inc_pts($dref, IMV_PTS_MAJOR, IMV_VIRTUAL, PRODUCT);
+         }
+         else {
diff -Naur '--exclude=.svn' 0.9.4-3/debian/patches/series 0.9.4-4/debian/patches/series
--- 0.9.4-3/debian/patches/series       2012-08-13 09:49:34.774700804 +0200
+++ 0.9.4-4/debian/patches/series       2012-09-01 13:08:08.011404972 +0200
@@ -1,2 +1,3 @@
 01-lxc-procfs-read.diff
 02-kvm-double-dmesg-count.diff
+03-lxc-physical.diff


unblock imvirt/0.9.4-4

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: