J�rg Sommer schrieb am Thu 24. Mar, 12:39 (+0100) :
> Package: libpam-mount
> Version: 0.9.22-2
> Severity: normal
> 
> Hi,
> 
> I have a problem with mount. It passes the options in a strange way to
> mount.crypt. It prepends "rw, ". So the option you see in mount.cpryt is
> -o "rw, cipher=blowfish". The space makes problems in parsing the
> options. This leads to the cipher isn't correct passed to cyrptsetup
> which makes it fail to set up the crypt device correctly.
> 
> I've added him to the case statment.

Better idea: add the space to IFS

--- mount.crypt 2005-03-07 17:34:09.000000000 +0100
+++ /tmp/mount.crypt    2005-03-24 12:06:42.790952752 +0100
@@ -86,8 +86,8 @@
 HASH=""
 LOOP=false
 MOUNTOPTIONS=""
-IFS=","
+IFS=", "
 for opt in $OPTIONS; do
         KEY=${opt%=*}
         VAL=${opt#*=}


J�rg.

-- 
Wer A sagt, mu� nicht B sagen. Er kann auch erkennen, da� A falsch war.
                                                (Erich K�stner)

Attachment: signature.asc
Description: Digital signature

Reply via email to