'error in locking authority file'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned | ||
encfs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libpam-encfs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: iceauth
I am using encrypted home directories with Encfs and libpam-encfs. These are a Fuse mounted partition.
This works fine, expect I noticed that the Logout/Exit XFCE button on the panel was failing to work properly when using encrypted home directory - displayed as a simpler pop-up and doesn't actually shut down the X session (just the XFCE panel).
I believe that this is due to iceauth failing to start up properly.
Error message in .xsession is:
---
/usr/bin/iceauth: error in locking authority file /home/kriszi/
** (xfce4-
** (xfwm4:5681): WARNING **: The display does not support the XComposite extension.
** (xfwm4:5681): WARNING **: Compositing manager disabled.
** (xfce4-
---
If I attempt to start iceauth manually it also fails
---
kriszi@borne:~$ /usr/bin/iceauth -f /home/kriszi/temp
/usr/bin/iceauth: error in locking authority file /home/kriszi/temp
---
but succeeds if I spec a file out of the encrypted mount
---
kriszi@borne:~$ /usr/bin/iceauth -f /tmp/kriszi
/usr/bin/iceauth: creating new authority file /tmp/kriszi
Using authority file /tmp/kriszi
iceauth> quit
---
Drive is mounted as:
---
kriszi@borne:~$ mount
<snip>
encfs on /home/kriszi type fuse (rw,nosuid,
---
Any suggestions?
Simon.
Ok tracked the problem down to the fact that iceauth/libice6 can't create the file, or more precisely the hard link to the file. (Don't know why it needs two files, but that's what it does).
So the problem is with Encfs or FUSE....
Simon.
Sample code which shows failure attached.