[Pkg-libvirt-commits] [libguestfs] 07/24: appliance: exclude a lvm2 rule on Ubuntu (RHBZ#1111662).

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 80c83128694f74d71ca71fd6368393ee14ac3790
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue Sep 2 11:36:29 2014 +0200

    appliance: exclude a lvm2 rule on Ubuntu (RHBZ#1111662).
    
    On Ubuntu, exclude the Ubuntu-only 85-lvm2.rules since it causes the
    automatic activation of volume groups on addition or change. This
    interferes with libguestfs, as vgs which are disables suddently get
    enabled.
    
    (cherry picked from commit c004e4648d2091eb217026b15eed7e041557b635)
---
 appliance/excludefiles.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index 8be216e..ef0b480 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -42,3 +42,10 @@ dnl For Debian:
 -/usr/share/lintian/*
 -/usr/share/initramfs-tools/*
 -/etc/initramfs-tools/*
+
+dnl For Ubuntu:
+ifelse(UBUNTU,1,
+dnl This lvm2 rule automatically re-enables vgs when they are added
+dnl or changed
+-/lib/udev/rules.d/85-lvm2.rules
+)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list