Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192526 - [Patch] sys-apps/shadow - Add RLIMIT_NICE and RLIMIT_RTPRIO support without PAM
Summary: [Patch] sys-apps/shadow - Add RLIMIT_NICE and RLIMIT_RTPRIO support without PAM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-14 16:37 UTC by Justin Bronder (RETIRED)
Modified: 2007-11-14 14:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
shadow-4.0.15-nice-rtprio.patch (shadow-4.0.15-nice-rtprio.patch,2.67 KB, patch)
2007-09-14 16:37 UTC, Justin Bronder (RETIRED)
Details | Diff
shadow-4.0.18.1-nice-rtprio.patch (shadow-4.0.18.1-nice-rtprio.patch,2.68 KB, patch)
2007-09-14 16:38 UTC, Justin Bronder (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.