ecryptfs does not unmount on logout

When encrypting a home folder using ecryptfs the files are decrypted and mounted on login und should be unmounted on logout.However on my setup the files are still accessable to other users aufter the respected user logged out.According to the wiki page the empty file auto-umount in ~.ecryptfs should solve this issue, however the file is present on my setup and still it does not work.

Re: ecryptfs does not unmount on logout

I have the feeling that umounting the encrypted home after the last logout should be ensured for security reasons.Isn't it possible to automatically

fuser -km /home/USERNAME

just before the ecryptfs umount is attempted or something like that? That should also be a workaround for the systemd issues. Would that be possible and safe? Would it make sense for me to create a pam hook that does that? I would have to check /tmp/ecryptfs-USERNAME-Private to make sure ecryptfs would umount, is that correct? No such file exists here.