Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 72251
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 103728
Assigned To: Maintainers for cvs, and cvs related tools (the version control system) <cvs-utils@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Butler <busa.blade@verizon.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 72251 depends on: Show dependency tree
Bug 72251 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-23 08:11 0000
I am running an internal pserver using cvsd and I am not which package created
the problem, but I can no longer do a cvs login from linux or cvs all commands
give this error result.  My /var/log/messages has this line in it:  
cvs: PAM pam_open_session: NULL pam handle passed


Reproducible: Always
Steps to Reproduce:
1. cvs login from any host
2. try any other cvs command
3.

Actual Results:  
failure

Expected Results:  
successful command

cvsd version 1.0.3
pam version 0.77-r3

------- Comment #1 From Jeremy 2004-12-07 18:18:16 0000 -------
I am also seeing the exact same problem. Using cvs 1.12.10, pam 0.77-r3. Get
the same open_session error (NULL handle) from both win machines (wincvs,
tortoiseCVS) and from any account on the server itself. My only solution was to
drop back to cvs version 1.12.9.

------- Comment #2 From Paul Slinski 2004-12-14 19:13:01 0000 -------
This appears to be a known CVS bug.

Building without pam fixes the problem.

USE="-pam" emerge cvs

------- Comment #3 From Rainer Größlinger 2004-12-15 09:15:10 0000 -------
I just committed cvs-1.12.11, can you tell me if that problem still exists for
you guys?

------- Comment #4 From David Butler 2004-12-20 15:56:07 0000 -------
I tested the latest version and still have the same problems... I really think
it is in the pserver or (cvsd) versus the cvs client.

------- Comment #5 From Max Kalika (RETIRED) 2004-12-20 17:34:31 0000 -------
seeing as how csvd doesn't use PAM at all, I don't think this is a problem on
it's side.  Can you get authentication to work without cvsd in the picture?
(direct to pserver? -- via xinit or some such?)

------- Comment #6 From Arthur de Jong 2005-01-11 02:29:10 0000 -------
You could try to add "SystemAuth=no" to CVSROOT/config. This should disable
usage of PAM within cvs. Alternatively you could set up a PAM environment
inside the chroot jail (/var/lib/cvsd) depending on your requirements (this is
not recommended though).

------- Comment #7 From Brian Murphy 2005-01-20 12:27:14 0000 -------
This is now fixed in upstream cvs (by me).
See cvs' bugzilla for progress

https://ccvs.cvshome.org/issues/show_bug.cgi?id=230

/Brian

------- Comment #8 From Dennis Freise 2005-03-15 09:28:00 0000 -------
Since it's some time since this fix, could someone please commit a version of
1.12.11 which includes this fix, into portage ?

TIA.

------- Comment #9 From Nahor 2005-08-25 10:14:10 0000 -------
I have the problem with the recently unmasked cvs-1.12.12-r2 (x86, +crypt -doc
+emacs -kerberos +pam). I reverted back to cvs-1.12.9 and it works again.

------- Comment #10 From awk 2005-08-25 19:19:46 0000 -------
Same here, I just installed cvs-1.12.12-r2 and I saw the error message in the
subject. I couldn't connect 
from any client. Recompiling with USE="-pam" solved the problem.

------- Comment #11 From Nahor 2005-08-26 08:20:24 0000 -------
Actually, I missed the "cvsd" in the title. I'm using xinetd. And I found the
fix. Maybe it applies for cvsd too.

See bug 103728 (now fixed in gentoo cvs tree): add "session include system-auth"
in /etc/pam.d/cvs

------- Comment #12 From Robin Johnson 2005-08-26 08:23:54 0000 -------

*** This bug has been marked as a duplicate of 103728 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug