Mailinglist Archive: opensuse-bugs (5921 mails)

< Previous Next >
[Bug 662433] Cron configuration based on pam.d refused mailman jobs

https://bugzilla.novell.com/show_bug.cgi?id=662433

https://bugzilla.novell.com/show_bug.cgi?id=662433#c7


--- Comment #7 from Vitezslav Cizek <vcizek@xxxxxxxxxx> 2011-02-21 15:59:01 UTC
---
pam_listfile behaves differently than specified in the manpage.

Probably a bug in pam_listfile, because it doesn't really do this:
"Do not treat missing list files as errors that need to be logged."

A patch like this solves the issue:

if(lstat(ifname,&fileinfo)) {
- pam_syslog(pamh,LOG_ERR, "Couldn't open %s",ifname);
+ if (!quiet)
+ pam_syslog(pamh,LOG_ERR, "Couldn't open %s",ifname);


I'll file a bug against pam.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >