Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308799 - sys-process/fcron-3.0.5: fcrontab -e systab fails with PAM enabled
Summary: sys-process/fcron-3.0.5: fcrontab -e systab fails with PAM enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 09:01 UTC by Dmitry Karasik
Modified: 2010-03-11 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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! :)