On Sat, Aug 27, 2011 at 03:47:20AM +0200, Mats Erik Andersson wrote:
> Package: cron
> Version: 3.0pl1-118
> Severity: normal
> 
> At least since the end of May, the cron daemon generates messages
> that logcheck finds at least every five minutes:
> 
> Aug 27 01:05:01 birger CRON[8675]: pam_limits(cron:session): \
>        Unknown kernel rlimit 'Max realtime timeout' ignored
> Aug 27 01:09:01 birger CRON[8686]: pam_limits(cron:session): \
>        Unknown kernel rlimit 'Max realtime timeout' ignored
> Aug 27 01:10:01 birger CRON[8697]: pam_limits(cron:session): \
>        Unknown kernel rlimit 'Max realtime timeout' ignored
> 
> The system is running Testing, but this message was present
> with kernel 2.6.32-5 as well as presently with 2.6.39-2.

Could you please provide the contents of your /etc/pam.d/cron session file as
well as of your /etc/security/limits.conf file?

The default cron PAM configuration in Debian has this:

------------------------------------------------------------
# Sets up user limits, please define limits for cron tasks
# through /etc/security/limits.conf
session    required   pam_limits.so
------------------------------------------------------------

As I cannot reproduce this bug it looks to me that is a local issue at your
end. Maybe you have some specific configuration in your system's
/etc/security/limits.conf that applies to system cron's jobs and elicits that
error message.

Regards

Javier

Attachment: signature.asc
Description: Digital signature

Reply via email to