[CentOS] HAL automount luks device

Sun Dec 7 12:56:30 UTC 2008
Marcus Moeller <mm at gcug.de>

Hi all,

I have set up an encrypted partition on a usb key and can now
successfully mount it using:

cryptsetup luksOpen /dev/DEVICENODE cryptousb
mount /dev/mapper/cryptousb /mountpoint

My aim is now to do this using HAL and GNOME's Luks integration. I am
already asked for the pass phrase after plugging in the device, but I
seem to be not allowed to mount it.

Do I need to add an fstab entry for the crypto container? Or do I need
to modify some udev rules to allow unprivileged users to mount the
container?

Best Regards
Marcus