Bug#375340: kernel module dm-snapshot not loaded by /etc/init.d/lvm

Micha Lenk micha at lenk.info
Tue Oct 3 19:31:15 UTC 2006

reassign 375340 lvm-common 1.5.20
retitle 375340 kernel module dm-snapshot not loaded by /etc/init.d/lvm
tags 375340 +patch

Hi LVM-Team,

sorry for dropping in again.

The more I think about this bug the less it makes sense to me that it
has been reassigned to initrd-tools. This bug can occur even on systems
without an initrd image! Moreover I see no reason why all the other LVM
modules are loaded by the init script but not dm-snapshot.

And the more I think about it the more I believe my suggestion (simply
loading dm-snapshot in the init script like all the other LVM modules)
is the right thing to do in order to fix the bug. I attached a patch
which should fix it.

-------------- next part --------------
diff -Nur lvm-common-1.5.20.orig/debian/init lvm-common-1.5.20/debian/init
--- lvm-common-1.5.20.orig/debian/init	2005-08-01 21:49:44.000000000 +0200
+++ lvm-common-1.5.20/debian/init	2006-10-03 21:10:59.959587928 +0200
@@ -8,6 +8,7 @@
 modprobe lvm >/dev/null 2>&1
 modprobe lvm-mod >/dev/null 2>&1
 modprobe dm-mod >/dev/null 2>&1
+modprobe dm-snapshot >/dev/null 2>&1
 set -e

More information about the pkg-lvm-maintainers mailing list