[pkg-cryptsetup-devel] Bug#557329: set usual PATH for cryptdisks_start/stop

Christoph Anton Mitterer christoph.anton.mitterer at physik.uni-muenchen.de
Sat Nov 21 12:50:02 UTC 2009


Package: cryptsetup
Version: 2:1.1.0~rc2-1
Severity: wishlist

Hi.

In /lib/cryptsetup/cryptdisks.functions you set
PATH="/sbin:/bin"
This script is sourced by cryptdisks_start/stop which therefore uses  
this PATH, too, as well as all invoked keyscripts.

keyscripts however might make use of e.g. POSIX utilities or gpg (btw:  
my openpgp keyscript is nearly finished and it got quite nice, IMHO)  
which are in other pathe (e.g. /usr/bin/).
The usual path seems to be available to the keyscripts within  
initramfs-images, too.

Thanks,
Chris.


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

Kernel: Linux 2.6.31-heisenberg (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.39-1 The Linux Kernel Device  
Mapper use
ii  libc6                        2.10.1-7    GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.39-1 The Linux Kernel Device  
Mapper use
ii  libpopt0                     1.15-1      lib for parsing cmdline  
parameters
ii  libuuid1                     2.16.1-4    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    3.0.6-1    utilities for making and checking
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  udev                          147-4      /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