Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 192526

Summary: [Patch] sys-apps/shadow - Add RLIMIT_NICE and RLIMIT_RTPRIO support without PAM
Product: Gentoo Linux Reporter: Justin Bronder (RETIRED) <jsbronder>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: shadow-4.0.15-nice-rtprio.patch
shadow-4.0.18.1-nice-rtprio.patch

Description Justin Bronder (RETIRED) gentoo-dev 2007-09-14 16:37:02 UTC
When installed without pam, shadow does not support RLIMIT_NICE or RLIMIT_RTPRIO in /etc/limits.

Reproducible: Always

Steps to Reproduce:
1. USE="-pam" emerge shadow.
2. Attempt to set nice or rtprio limits.





The included patches were tested against shadow-4.0.15-r2 and shadow-4.0.18.1 on amd64-nomultilib.  The only difference between the two is dealing with man/limits.5.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2007-09-14 16:37:48 UTC
Created attachment 130925 [details, diff]
shadow-4.0.15-nice-rtprio.patch
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2007-09-14 16:38:19 UTC
Created attachment 130927 [details, diff]
shadow-4.0.18.1-nice-rtprio.patch
Comment 3 Justin Bronder (RETIRED) gentoo-dev 2007-11-14 14:32:08 UTC
Implemented upstream and in 4.0.18.2.  Closing this.