pam_limits: Unknown kernel rlimit 'Max realtime timeout' ignored

Bug #794531 reported by Fabien Tassin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pam (Debian)
Fix Released
Unknown
pam (Ubuntu)
Fix Released
Low
Kees Cook

Bug Description

Jun 8 13:06:01 xx CRON[24139]: pam_limits(cron:session): Unknown kernel rlimit 'Max realtime timeout' ignored
Jun 8 13:07:04 xx sshd[24164]: pam_limits(sshd:session): Unknown kernel rlimit 'Max realtime timeout' ignored

this started to appear in my logs a few days ago in oneiric

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libpam-modules 1.1.3-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
Uname: Linux 2.6.39-3-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Jun 8 14:26:03 2011
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/tcsh
SourcePackage: pam
UpgradeStatus: Upgraded to oneiric on 2009-07-28 (680 days ago)

Revision history for this message
Fabien Tassin (fta) wrote :
Steve Langasek (vorlon)
Changed in pam (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Kees Cook (kees) wrote :

I've got this error more fully silenced in a later commit which should be available soon.

Changed in pam (Ubuntu):
assignee: nobody → Kees Cook (kees)
status: Triaged → Fix Committed
importance: Medium → Low
Changed in pam (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pam - 1.1.3-2ubuntu1

---------------
pam (1.1.3-2ubuntu1) oneiric; urgency=low

  * Merge with Debian to get bug fix for unknown kernel rlimits. Remaining
    changes:
    - debian/libpam-modules.postinst: Add PATH to /etc/environment if it's
      not present there or in /etc/security/pam_env.conf. (should send to
      Debian).
    - debian/libpam0g.postinst: only ask questions during update-manager when
      there are non-default services running.
    - Change Vcs-Bzr to point at the Ubuntu branch.
    - debian/patches-applied/series: Ubuntu patches are as below ...
    - debian/patches-applied/ubuntu-rlimit_nice_correction: Explicitly
      initialise RLIMIT_NICE rather than relying on the kernel limits.
    - debian/patches-applied/pam_motd-legal-notice: display the contents of
      /etc/legal once, then set a flag in the user's homedir to prevent
      showing it again.
    - debian/update-motd.5, debian/libpam-modules.manpages: add a manpage
      for update-motd, with some best practices and notes of explanation.
    - debian/patches/update-motd-manpage-ref: add a reference in pam_motd(8)
      to update-motd(5)
    - debian/libpam0g.postinst: drop kdm from the list of services to
      restart.
    - debian/libpam0g.postinst: check if gdm is actually running before
      trying to reload it.
    - debian/local/common-session{,-noninteractive}: Enable pam_umask by
      default, now that the umask setting is gone from /etc/profile.
    - debian/local/pam-auth-update: Add the new md5sums for pam_umask addition.
    - add debian/patches-applied/pam_umask_usergroups_from_login.defs.patch:
      Deprecate pam_unix' explicit "usergroups" option and instead read it
      from /etc/login.def's "USERGROUP_ENAB" option if umask is only defined
      there. This restores compatibility with the pre-PAM behaviour of login.
      (Closes: #583958)
  * Dropped changes:
    - debian/patches-applied/027_pam_limits_better_init_allow_explicit_root:
      no need to bump the hard limit for number of file descriptors any more
      since we read kernel limits directly now.

pam (1.1.3-2) unstable; urgency=low

  [ Kees Cook ]
  * debian/patches-applied/027_pam_limits_better_init_allow_explicit_root:
    - only report about unknown kernel rlimits when "debug" is set
      (Closes: 625226, LP: #794531).

  [ Steve Langasek ]
  * Build for multiarch. Closes: #463420.
  * debian/patches-applied/027_pam_limits_better_init_allow_explicit_root:
    don't reset the process niceness for root; since it's root, they can
    still renice to a lower nice level if they need to and changing the
    nice level by default is unexpected behavior. Closes: #594377.
 -- Kees Cook <email address hidden> Thu, 18 Aug 2011 16:41:18 -0500

Changed in pam (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.