[pkg-cryptsetup-devel] Bug#509068: cryptsetup: improve passdev, that it also works when the device is already mounted

Christoph Anton Mitterer Christoph.Anton.Mitterer at physik.uni-muenchen.de
Thu Dec 18 01:10:49 UTC 2008


Package: cryptsetup
Version: 2:1.0.6-6
Severity: wishlist

Currently,... when passdev is given a device:path where the device is  
already mounted somwhere it fails.

It would be nice that it doesn't fail in this case but bind-mount the  
device readonly.
This would also be important I you agree my following proposals where  
I ask if we could change cryptsetup, that all keyscripts should/must  
support device:path-syntax (see also this thread  
http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/2008-December/002376.html)

I'm not sure if this works when the device was originally mounted rw,  
but I think it does.
I'd also suggest to do the bind-ro-mounting instead of just reading  
the file, because this would change access time which is perhaps  
monitored or have other influences on a rw-mounted filesystem.

I think I'd need help with these changes ;)

Thanks,
Chris.

-- System Information:
Debian Release: 5.0
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device  
Mapper use
ii  libc6                        2.7-16      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device  
Mapper use
ii  libpopt0                     1.14-4      lib for parsing cmdline  
parameters
ii  libuuid1                     1.41.3-1    universally unique id library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    3.0.1-1    utilities for making and checking
ii  initramfs-tools [linux-initra 0.92m      tools for generating an initramfs
ii  udev                          0.125-7    /dev/ and hotplug  
management daemo

-- no debconf information


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.






More information about the pkg-cryptsetup-devel mailing list