[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #19856] cvs compiled with pam loose it's nice (priority) value.
From: |
anonymous |
Subject: |
[bug #19856] cvs compiled with pam loose it's nice (priority) value. |
Date: |
Fri, 11 May 2007 14:06:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
URL:
<http://savannah.nongnu.org/bugs/?19856>
Summary: cvs compiled with pam loose it's nice (priority)
value.
Project: Concurrent Versions System
Submitted by: None
Submitted on: Friday 05/11/2007 at 14:06 UTC
Category: Bug Fix (patch attached)
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release:
Fixed Release: None
Fixed Feature Release: None
_______________________________________________________
Details:
Hello,
I am using cvs 1.12.13.1 in mode pserver, compiled with pam because my system
authenticate on ldap.
For some clients, i run cvs with a high nice value (lower priority).
I have noticed that cvs "forget" it's nice value after launching.
after debugging i have found that it happens in :
file server.c, function switch_to_user() the call to
pam_open_session() reset the nice value !
i have tested with 1.12.13 and 1.12.13.1, i guess the problem does not happen
with 1.11.x since it is not pam aware !
I don't know pam, maybe it is possible to prevent this behavior,
but i have find that getting the priority before the call to
pam_open_session() and re-setting it after, fix the problem.
you will find a patch for server.c attached.
Best Regards
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 05/11/2007 at 14:06 UTC Name: server.c.patch Size: 594B By:
None
patch to server.c, to remember nice value
<http://savannah.nongnu.org/bugs/download.php?file_id=12749>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19856>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #19856] cvs compiled with pam loose it's nice (priority) value.,
anonymous <=