I have a directory mounted with encfs: encfs -o nonempty /home/mst/Encrypted /home/mst/Private lockfile in this directory fails: $ lockfile -r 1 -s 1 $HOME/Private/Calendar.ics.lock lockfile: Try praying, giving up on "/home/mst/Private/Calendar.ics.lock" but works fine if I run lockfile under strace: $ strace -f -o /dev/null lockfile -r 1 -s 1 $HOME/Private/Calendar.ics.lock $ echo $? 0 This happens every time. Note: I'm using 32 bit userspace and 64 bit kernel.
I just reproduced this with a 32 bit kernel as well. This is using Fedora 22.