Bug 733803
| Summary: | pam_krb5 leaks ccache files when loging in through ssh | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dmitri Pal <dpal> |
| Component: | pam_krb5 | Assignee: | Nalin Dahyabhai <nalin> |
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | caguado, cott, ksrot, ktdreyer, nalin, prc, redhatbugs, redhat-bugzilla, stefan.volkel.ext |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | pam_krb5-2.3.11-7.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 725797 | Environment: | |
| Last Closed: | 2011-12-06 17:36:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 720609, 725797 | ||
| Bug Blocks: | |||
|
Description
Dmitri Pal
2011-08-26 22:46:55 UTC
This'll probably turn out to be a duplicate of bug #720609. It should already be fixed in Raw Hide. I can not access #720609: You are not authorized to access bug #720609. I need to fix this on Fedora 13. Is there a patch available? Or an updated package? Or can you provide the details so that I can fix it myself? Keep in that Fedora 13 has passed its end-of-life date, so there won't be an update there. I just noticed that Raw Hide doesn't have 2.3.13 yet, so I'll be building it there soon. As for Fedora 13, using 'rpmbuild -tb' to build the tarball from https://fedorahosted.org/releases/p/a/pam_krb5/ is probably the most expedient route, as the backported patch for EL6 assumes some other things that were backported before it. The patches from the upstream repository are spread across these commits: 627a0a4d8c502d51a5b6e6e9828d66ed6c519e45 39ee8381f2daa1531a5c3fe126b5728a9b3d0d85 7bd1c02177bfb9fc5ea57556b0ee9444004c373d b7248ee6253ba6fd900e3a93016e29184ec1f264 7d00c3c1bf016dcd8c41d00eeebb065590906d44 9215413e55f9425149ae954181d657fb81103888 Happens here as well, RHEL 6.1 64bit openssh-5.3p1-52.el6_1.2.x86_64 pam_krb5-2.3.11-6.el6.x86_64 Ditto here openssh-5.3p1-52.el6_1.2.x86_64 pam_krb5-2.3.11-6.el6.x86_64 On RHEL6/x86_64 with pam_krb5-2.3.11-6.el6.x86_64 The following has been observed: - If the host has a corresponding /etc/krb5.keytab and user logs in using his TGT then logout is able to find and delete the file /tmp/krb5cc_UID_XXXXXX without further message. - If user logs following the password challenge (no TGT), upon log out, pam_krb5 is not able to find the ccache file and consequently prints the error "error removing ccache 'FILE:/tmp/krb5cc_UID_YYYYYY'" Note that in this case, ccache file name searched for deletion on logout is different from the one created at login time and then remaining in /tmp. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1704.html |