RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1198478 - ccname_file_dummy is not unlinked on error
Summary: ccname_file_dummy is not unlinked on error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-04 08:57 UTC by Martin Kosek
Modified: 2020-05-02 17:57 UTC (History)
8 users (show)

Fixed In Version: sssd-1.12.4-7.el6
Doc Type: Bug Fix
Doc Text:
Do not document.
Clone Of:
Environment:
Last Closed: 2015-07-22 06:43:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3633 0 None None None 2020-05-02 17:57:52 UTC
Red Hat Product Errata RHBA-2015:1448 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2015-07-20 18:43:53 UTC

Description Martin Kosek 2015-03-04 08:57:05 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/2592

Function ldap_child_get_tgt_sync in ldap_child.c is creating file ccname_file_dummy but it is not unlinked if there is an error.  This can cause a lot of these files to be created using up inodes on the file system.

Comment 1 Jakub Hrozek 2015-03-04 18:48:00 UTC
* master: 2b20ff2e33ad3993a9cad910c4b4b828513613df
* sssd-1-12: 0b5036e4c652e6983a3352c045c8701d6573587b

Comment 3 Kaushik Banerjee 2015-03-23 10:43:37 UTC
Verified in version sssd-1.12.4-11.el6.x86_64

Output from beaker automation run:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: krb_bug_20: BZ1198478 ccache files are not removed on error
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

spawn ktutil
ktutil:  addent -password -p bla -k 1 -e aes256-cts-hmac-sha1-96
Password for bla: 
ktutil:  wkt /tmp/bla.keytab
ktutil:  q
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]
:: [ 08:46:00 ] :: Sleeping for 5 seconds
Sleeping for 2 minutes...
ls: cannot access /var/lib/sss/db/ccache*: No such file or directory
:: [   PASS   ] :: File '/var/log/sssd/ldap_child.log' should contain 'Unlinking' 
ls: cannot access /var/lib/sss/db/ccache*: No such file or directory
:: [   PASS   ] :: ccache files are unlinked on error 
krb-bug-20-BZ1198478-ccache-files-are-not-removed-on-error result: PASS

Comment 5 errata-xmlrpc 2015-07-22 06:43:18 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1448.html


Note You need to log in before you can comment on or make changes to this bug.