Skip to content

Commit

Permalink
appliance: exclude a lvm2 rule on Ubuntu (RHBZ#1111662).
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ptoscano authored and rwmjones committed Sep 2, 2014
1 parent 6582231 commit c004e46
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions appliance/excludefiles.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit c004e46

Please sign in to comment.