Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 308799

Summary: sys-process/fcron-3.0.5: fcrontab -e systab fails with PAM enabled
Product: Gentoo Linux Reporter: Dmitry Karasik <dkarasik>
Component: Current packagesAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED FIXED    
Severity: normal CC: wschlich
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitry Karasik 2010-03-10 09:01:17 UTC
With the default PAM configuration file shipped with fcron-3.0.5 running: fcrontab -e systab produces:

03:47:30 Could not init PAM account management (10): User not known to the underlying authentication module
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-11 12:22:28 UTC
Uhm looking into it… not sure why it passed here, but I'm not surprised given the kind of PAM mess I have, will create a vanilla container to test this out, thanks for reporting!
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-11 12:59:56 UTC
Okay I guess this is half-way an upstream problem: it tries to authenticate the account of systab which obviously does not exist (it's a pseudo-user). I can fix this quickly for Linux-PAM users, but it will be a problem for OpenPAM users (it would use pam_succeed_if)…

Looking into a possible alternative right now…
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-11 13:10:21 UTC
Okay the proper fix looks like it's definitely easy, will test it out, send upstream and add 3.0.5-r1 :)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-11 13:18:16 UTC
Fixed as of 3.0.5-r1, thanks for reporting! :)