rtprio and nice

Thorsten Kukuk kukuk at suse.de
Fri Jul 28 16:52:33 UTC 2006


On Fri, Jul 28, Lieven Moors wrote:

> hello everyone,
> i have some questions regarding the rtprio and nice-settings in the 
> limits-file.
> i am working with pam 0.99.4 and pam doesn' t recognize nice or rtprio as 
> valid limit items.
> the auth.log says "unknown limit item".
> did some googling and found out this might be a glibc problem: 
> RLIMIT_RTPRIO and RLIMIT_NICE not defined in the <bits/resource.h> file.
> i also found some hints that certain earlier pam patches resolved this by 
> defining these themselves.
> 
> my question is if recent pam-versions are  including these definitions, or 
> not, or that libc-patches or updates are necessary for rtprio and 
> nice-limits to work.

You need a current kernel and glibc for this. We will not add and maintain
hard coded defines in Linux-PAM only because people wish to use the latest
features without to update to software which provides this.

  Thorsten

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk at suse.de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = 8C6B FD92 EE0F 42ED F91A  6A73 6D1A 7F05 2E59 24BB




More information about the Pam-list mailing list