Package: cryptmount Version: 1.1-1 Severity: serious Tags: patch Justification: Policy 10.4
/etc/init.d/cryptmount: 16: source: not found /etc/init.d/cryptmount: 19: Syntax error: "(" unexpected Please use POSIX shell (s/source/./; s/^function //;) or specify /bin/bash as interpreter. A patch to fix the init script is attached; but I didn't check the other scripts for similar problems. Maybe you could make the init-script LSB compliant, too. Btw, do you have a hint for me on how to have nautilus/pmount ask for the luks passphrase with a graphical prompt? -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.17.7 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages cryptmount depends on: ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries ii libdevmapper1.02 [libdevmapp 2:1.02.08-1 The Linux Kernel Device Mapper use ii libssl0.9.8 0.9.8b-2 SSL shared libraries ii openssl 0.9.8b-2 Secure Socket Layer (SSL) binary a Versions of packages cryptmount recommends: ii dmsetup 2:1.02.08-1 The Linux Kernel Device Mapper use -- no debconf information
--- /tmp/cryptmount 2006-08-29 15:17:51.000000000 +0200 +++ /etc/init.d/cryptmount 2006-08-29 15:18:21.000000000 +0200 @@ -12,11 +12,11 @@ test -x "${CM_EXE}" || exit 0 if [ -f /etc/default/cryptmount ]; then - source /etc/default/cryptmount + . /etc/default/cryptmount fi -function configured() { +configured() { # check if any of the targets needed at boot has been configured: for target in ${CM_BOOTDV} ${CM_BOOTFS} ${CM_BOOTSW}; do if [ -b "${DMPATH}/${target}" ]; then @@ -28,7 +28,7 @@ } -function dodevices() { +dodevices() { case "$1" in start) test -z "${CM_BOOTDV}" || ${CM_EXE} --prepare ${CM_BOOTDV} ;; @@ -38,7 +38,7 @@ } -function doswaps() { +doswaps() { case "$1" in start) test -z "${CM_BOOTSW}" || ${CM_EXE} --swapon ${CM_BOOTSW} ;; @@ -48,7 +48,7 @@ } -function dofilesys() { +dofilesys() { case "$1" in start) test -z "${CM_BOOTFS}" || ${CM_EXE} --mount ${CM_BOOTFS} ;; @@ -58,7 +58,7 @@ } -function doALL() { +doALL() { case "$1" in start) dodevices start