[Bug 353935] Re: mount.crypt segfaults when switching to battery

Psychotron redm at gmx.de
Wed Apr 15 16:14:05 UTC 2009


I'm also having crashes of mount.crypt. I guess it's the same cause, so
I'm attaching it here, rather then creating a new entry.

I have set up an encrypted loop file to be pam-mounted as a users home
(the user is called "test" in my case). In most cases when loggin in as
that user mount.crypt crashes. Sometimes it works, though. But it's not
usable this way.

The loop file has been encrypted with:

cryptsetup -y --cipher aes-xts-plain --key-size 512 luksFormat /dev/loop0
(with /dev/loop0 connected to /data/tmp/test.img).

I added:

<volume user="test" fstype="crypt" path="/data/tmp/test.img"
mountpoint="~" cipher="aes-xts-plain" noroot="1" options=""/>

to /etc/security/pam_mount.conf.xml. Using noroot="1" lets mount.crypt
always crash (at least I haven't had a successful mount). Leaving it
out, i.e. mounting as root, lets it work sometimes, but mostly it fails,
too.

-- 
mount.crypt segfaults when switching to battery
https://bugs.launchpad.net/bugs/353935
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list