fedora 8 vs fedora 9 - does pam_mount disallow 'exec' mount flag?
Hello all,
Wiped Fedora 8 last night and installed Fedora 9 fresh. I use pam_mount to mount my encrypted home directory image through a loop device upon login, and now in Fedora 9 it always mounts with the 'noexec' mount flag, even though /etc/security/pam_mount.conf.xml has <mntoptions allow="exec,nosuid,nodev,loop,encryption,fsck" /> and my definition for my home mount includes the exec flag. Any pointers? Thanks! |
Is there any indication in syslog it denies you the "noexec"?
And with PAM "debug" flags added? Can you at least remount the loop device as "exec" manually? |
After logging in and getting root, I can run "mount -o remount,exec /home/ebowser" and all is well.
It looks like the exec flag is passed, according to debug output. Here is relevant login output from /var/log/secure: Code:
May 19 09:16:27 localhost login: pam_mount(pam_mount.c:202) enter read_password |
Anybody?
Right now I have to log in as my user in a text screen to get the mount, remount as exec, stay logged in, and switch to GUI to log in there or else all of my Autostart stuff fails. Really annoying. Thanks! |
I see the the exec flag getting passed, I'd file a bug report.
|
Bug report filed, here's the answer:
pam_mount arranges the mount flags in alphabetic order, and the 'user' flag (which is applied last) forces 'noexec.' In the past this does not seem to be the case, but removing the 'user' flag from my mount options fixed the problem. https://bugzilla.redhat.com/show_bug.cgi?id=447962 |
All times are GMT -5. The time now is 06:26 AM. |