Bug#323413: libdevmapper1.01: load dm_mod OR warn users to load it

A Mennucc mennucc1 at debian.org
Wed Sep 28 17:05:46 UTC 2005


Package: libdevmapper1.01
Version: 2:1.01.03-1
Severity: important

hi

some time ago (e.g. in sarge), libdevmapper shipped with a file 
/etc/init.d/libdevmapper1.01
which was linked in /etc/rcS.d and called during boot.

In version 2:1.01.03-1 that script was removed, claiming in changelog :
  * Remove init script, libdevmapper creates the device themself.

This was a mistake, because /etc/init.d/libdevmapper1.01 had TWO features:
1) load the module dm-mod
2) create devices and  /dev/mapper dir

Newer versions of libdevmapper will create the devices,
but it will NOT load the module dm-mod. 

For this reason, all following calls to dmsetup (and cryptsetup etc
etc) will fail, and people like me will be cut out of their encrypted
filesystems and left with no clue of how to properly boot their
system.

You should apply any of these solutions:
1) teach libdevmapper to load the module as well
2) put back /etc/init.d/libdevmapper1.01 with just
      modprobe dm-mod >/dev/null 2>&1 
  in it
3) add a debconf high priority question stating:
 " this new version of libdevmapper does not load the module dm-mod 
   at boot. Without the module, devmapper commands will not work, and
   you will be cut out of your filesystems (and be left cursing 
   fellow developers).  Add 'dm-mod' to /etc/modules ? "

btw: I think that most people who where biten by bug 323413
  where probably biten by this problem. I prefer to open a new bug
  because the discussion in  323413 is too messy (people reported
  different problems in it)

a.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'stable'), (450, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libdevmapper1.01 depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libselinux1                   1.26-1     SELinux shared libraries

libdevmapper1.01 recommends no packages.

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20050928/ac2b055e/attachment-0001.pgp


More information about the pkg-lvm-maintainers mailing list