Bug#569286: dmsetup initramfs-tools scripts not executable

Kees Cook kees at debian.org
Thu Feb 11 08:55:07 UTC 2010

Package: lvm2
Version: 2.02.54-1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch


dmsetup's /usr/share/initramfs-tools files are not executable, which means
the initramfs isn't being correctly set up for dm devices.

Simple patch fixes this (and mirrors what is done for lvm2):

diff -uNrp lvm2-2.02.54~/debian/rules lvm2-2.02.54/debian/rules
--- lvm2-2.02.54~/debian/rules	2010-02-11 00:52:44.000000000 -0800
+++ lvm2-2.02.54/debian/rules	2010-02-11 00:53:24.214036927 -0800
@@ -169,6 +169,7 @@ install-dmsetup: $(STAMPS_DIR)/install-d
 	cp -a debian/tree/dmsetup debian/dmsetup
 	find debian/dmsetup -name .svn | xargs -r rm -r
 	dh_install --sourcedir=$(DIR)
+	chmod +x -R debian/dmsetup/usr/share/initramfs-tools
 	dh_installchangelogs WHATS_NEW_DM



Kees Cook                                            @debian.org

More information about the pkg-lvm-maintainers mailing list