[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON
Steve McGrath
smcgrath23 at gmail.com
Sun Nov 15 20:12:13 UTC 2009
I probably should have elaborated on this a little more.
Cron itself, when running *any* jobs from the crontab, is creating a PAM
session as part of the environment to run the job in.
Cron's pam configuration is in /etc/pam.d/cron, which has a line to
include /etc/pam.d/common_session_noninteractive.
common_session_noninteractive includes the pam_mount module, which may
be necessary for other non-interactive processes. I'm really not sure.
My comments are mostly directed at whoever eventually tries to fix this
bug.
I suppose if I were having this problem, I'd try commenting out the
pam_mount line in /etc/pam.d/common_session_noninteractive.
If that does in fact break other things, I might instead try copying all
the directives except pam_mount from common_session_noninteractive into
/etc/pam.d/cron, and removing the "@include
common_session_noninteractive" line from /etc/pam.d/cron.
--
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list