I have a luks encrypted device that I mount on demand by clicking on it in the places menu (yes I am using Gnome fallback mode). In Fedora 16 everything worked fine but in Fedora 17 I am facing two issues.
First root password is asked to unlock the luks system. I allowed users to run crytpsetup without password through sudo with no luck.
Secondly after the luks device is unmounted it will not mount. I have the correct entry in /etc/fstab including allowing users to mount it. If I open a terminal and enter the mount command it mounts correctly.
I'd like to have users being able to mount that partition if they need by just entering its luks passphrase as they were able to do in Fedora 16.
---------- Post added at 05:20 AM ---------- Previous post was at 04:27 AM ----------
Number 1 solved by creating /var/lib/polkit-1/localauthority/50-local.d/10-udisks2.encrypted-unlock-system-policy.pkla with content
Still looking for a solution for #2.
For #2 if I remove the /etc/fstab line I defined it mounts in /run/media/username/diskname . However this is not what I want. I want to mount it elsewhere.