[pkg-cryptsetup-devel] Bug#553444: [cryptsetup] Invalid identifier CRYPTTAB_OPTION_hash-sha512 in cryptdisks.functions

Martin Ketzer martin.ketzer at gmx.de
Sat Oct 31 12:12:21 UTC 2009


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

--- Please enter the report below this line. ---
I have got the line

swap0   /dev/sda2       /etc/keys/swapkey       cipher=twofish-xts-plain,hash-sha512

in my crypttab. it leads to the following error when starting the cryptdisks:

/lib/cryptsetup/cryptdisks.functions: line 180: export: `CRYPTTAB_OPTION_hash-sha512=yes': not a
valid identifier

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31.3

Debian Release: squeeze/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.de.debian.org
  500 unstable        deb.opera.com
  500 testing         ftp.de.debian.org
  500 experimental    www.debian-multimedia.org
    1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-===============
libc6                        (>= 2.3) | 2.10.1-3
libdevmapper1.02.1     (>= 2:1.02.24) | 2:1.02.38-2
libpopt0                    (>= 1.15) | 1.15-1
libuuid1                    (>= 2.16) | 2.16.1-4
dmsetup                               | 2:1.02.38-2


Package's Recommends field is empty.

Suggests                  (Version) | Installed
===================================-+-===========
udev                                | 146-6
initramfs-tools          (>= 0.91)  | 0.93.4
 OR linux-initramfs-tool            |
dosfstools                          | 3.0.6-1



--- Output from package bug script ---
-- /proc/cmdline
root=/dev/mapper/root ro vga=795 video=vesafb:ywrap

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
#root    UUID=143fa984-4007-402d-bc99-1c893d313c83       none                    luks
root    UUID=f514bc32-9701-433d-9304-f8822764d0ce       none                    luks
mail	UUID=1db8feb3-17df-4e16-8778-9dbaaea13113	none			luks
swap0   /dev/sda2	/etc/keys/swapkey	cipher=twofish-xts-plain,hash-sha512
swap1   /dev/sdb2       /etc/keys/swapkey       cipher=twofish-xts-plain,hash-sha512
# cryptsetup create swap0 /dev/sda2 -d /etc/keys/swapkey -c twofish-cbc-essiv:sha256 -h sha512

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       		<dump>  <pass>
proc            /proc           proc    defaults        		0       0
/dev/mapper/root /                   ext4 noatime,nodiratime  	0       1
UUID="312928f5-5c84-4613-89fe-6a05c483c249" /boot		ext2	defaults	0	2

UUID="f441908a-a5b0-409d-b7a4-858334c39009" none 		swap 	sw,pri=0 	0 	0
UUID="be03dba5-e042-48bc-be75-735e57dca442" none 		swap 	sw,pri=0 	0 	0


tmpfs           /tmp            tmpfs    defaults,size=2g,noatime,nodiratime	       	0       0

UUID="3E9B-213F"	/media/sda1	vfat
user,exec,uid=simaketz,gid=1000,dmask=022,fmask=133,iocharset=utf8,codepage=850 0 0

UUID="3361-3665"	/media/microsd	vfat
user,exec,uid=simaketz,gid=1000,dmask=022,fmask=133,iocharset=utf8,codepage=850 0 0

#UUID="588CB5E88CB5C134" /media/mail	ntfs-3g
auto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
/dev/mapper/mail/	/media/mail	xfs	defaults,logbsize=256k,nobarrier,noatime,nodiratime 0 0

# ??# ?? UUID="4c331478-f70d-42eb-98cf-4bd251561843" /media/temp xfs
defaults,logbsize=256k,nobarrier,noatime,nodiratime 0 0

#/dev/sda6       /media/sda6     ext3    noatime,nodiratime,errors=remount-ro 0       2

#vistax64
#/dev/sda5       /media/vistax64     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

#usbstick
/dev/disk/by-id/usb-UDISK_PDU15_2G_72G2.0_0000000000020F-0:0-part1 	/media/usbstick vfat
noauto,user,exec,uid=simaketz,gid=1000,dmask=022,fmask=033,iocharset=utf8,codepage=850     0 0

#/dev/mapper/truecrypt0                  /media/hd6daten                   ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8,force   0 0
#/dev/mapper/truecrypt0                  /media/hd6daten                   ntfs
ro,noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,iocharset=utf8   0 0
#/dev/mapper/truecrypt1                  /media/backup                     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
#/dev/mapper/truecrypt2                  /media/extern                     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

#/dev/mapper/truecrypt3                  /media/extern2                     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

/dev/mapper/truecrypt4                  /media/extern                     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

#/dev/sdc1       /media/ntfs     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
#/dev/sdd1	/media/ntfs	ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
#/dev/sdc1       /media/vfat     vfat
noauto,user,exec,uid=simaketz,gid=1000,dmask=022,fmask=133,iocharset=utf8,codepage=850 0 0
#/dev/sdd1       /media/vfat	vfat
noauto,user,exec,uid=simaketz,gid=1000,dmask=022,fmask=133,iocharset=utf8,codepage=850 0 0

#/dev/loop3	/media/ntfs     ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

#chroot
/tmp               /var/sid-386-chroot/tmp        none            bind             0       0
/dev               /var/sid-386-chroot/dev        none            bind             0       0
/proc              /var/sid-386-chroot/proc       none            bind             0       0
/home              /var/sid-386-chroot/home       none            bind             0       0
/media  /var/sid-386-chroot/media       none    rbind    0       0

#make usb usable from VirtualBox
none   /proc/bus/usb   usbfs    defaults,devmode=666   0 0

/dev/scd0 /media/cdrom0 udf,iso9660
user,noauto,defaults,ro,uid=simaketz,gid=1000,dmask=022,fmask=133 0 0

# Vistax64SP1
UUID="0E6AB3166AB2F993" /media/vista 	ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
# Vistax64 w/o SP1
UUID="680C9CA60C9C7134" /media/vistax64 ntfs
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133   0 0

/dev/mapper/truecrypt1 	/media/hd6daten	ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
/dev/mapper/truecrypt2 	/media/terra1 	ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
/dev/mapper/truecrypt3 	/media/terra2 	ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

/dev/mapper/truecrypt4  /media/extern1   ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0
/dev/mapper/truecrypt5  /media/extern2   ntfs-3g
noauto,defaults,uid=simaketz,gid=1000,dmask=022,fmask=133,locale=de_DE.utf8   0 0

/dev/mapper/big /media/big  xfs     defaults,logbsize=256k,nobarrier,noatime,nodiratime 0 0
/dev/sdc1 /media/temp  xfs     defaults,logbsize=256k,nobarrier,noatime,nodiratime 0 0

-- lsmod
Module                  Size  Used by
vboxnetadp             83788  0
vboxnetflt             90108  0
vboxdrv              1694396  1 vboxnetflt
nls_iso8859_1           5000  1
nls_cp437               6712  1
nvidia              10308024  26
microcode               9552  0
xfs                   395584  3
exportfs                4168  1 xfs
acpi_cpufreq            8104  0
it87                   23408  0
hwmon_vid               2552  1 it87
lm90                   16900  0
loop                   15732  0
i2c_i801                9092  0






More information about the pkg-cryptsetup-devel mailing list