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

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:43:23 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.39-1
in repository libguestfs.

commit c004e4648d2091eb217026b15eed7e041557b635
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.
---
 appliance/excludefiles.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index 70762ae..9a48db7 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -45,3 +45,10 @@ dnl For Debian:
 -/usr/share/doc-base/*
 -/usr/share/bug/*
 -/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