Package: cryptsetup Version: 2:1.0.6-2 Severity: wishlist Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu intrepid ubuntu-patch
Hi, In https://bugs.edge.launchpad.net/ubuntu/+source/cryptsetup/+bug/185380 a user had problems due to attempting to use a comment at the end of the line in /etc/crypttab. It would be great if you could support this. The following patch by Reinhard Tartler is used in Ubuntu to allow this. Please consider applying it. Thanks, James diff -pruN 2:1.0.6-2/debian/cryptdisks.functions 2:1.0.6-2ubuntu7/debian/cryptdisks.functions --- 2:1.0.6-2/debian/cryptdisks.functions 2008-06-20 22:19:57.000000000 +0100 +++ 2:1.0.6-2ubuntu7/debian/cryptdisks.functions 2008-06-20 22:16:41.000000000 +0100 @@ -32,7 +32,9 @@ esac parse_opts () { local opts opt IFS PARAM VALUE - opts="$1" + # bugfix: support comments in lines not starting with an # + # https://bugs.launchpad.net/bugs/185380 + opts=$(echo -n $1 | sed 's/ *#.*//') LOUD="" PARAMS="" CHECK="" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]