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 1234756 - cleanup task do not run in ipa-client
Summary: cleanup task do not run in ipa-client
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.3
Assignee: SSSD Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-23 08:05 UTC by Nirupama Karandikar
Modified: 2020-05-02 18:06 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-18 20:52:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3727 0 None None None 2020-05-02 18:06:31 UTC

Description Nirupama Karandikar 2015-06-23 08:05:49 UTC
Description of problem:
cleanup task do not run in ipa-client

Version-Release number of selected component (if applicable):
sssd-1.12.4-42.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Set sssd.conf with following.

subdomain_inherit = ldap_purge_cache_timeout 
ldap_purge_cache_timeout = 10

2. Do a user lookup
getent passwd aduser1

3. Extract the user to an LDIF file:
ldbsearch -H /var/lib/sss/db/cache_sssdad.com.ldb objectclass=user > administrator.ldif

4. Edit the LDIF and set dataExpireTimestamp to "1" so that the entry is long expired

5. Add the user back and start sssd. This time the cleanup task will not run, so the user will stay in cache.


7. Clean up task executes only for main domain and not for subdomains.

Actual results:

Clean up task executes only for main domain and not for subdomains.

Expected results:
Clean up task executes and clear expired cache entries in main as well as subdomains.

Additional info:
I see the expected result only on IPA Server in trust to an AD. But from IPA Client, the expected results are not seen.

Comment 2 Jakub Hrozek 2015-06-23 08:29:21 UTC
Thank you very much for the bug report. I don't think this bug is urgent, since the cleanup task will be disabled by default in upstream (starting with 7.2 anyway).

So far I'll repropose to 7.3. We can re-triage during our meeting.

Comment 3 Jakub Hrozek 2015-06-23 08:30:46 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2686

Comment 5 Jakub Hrozek 2016-01-18 20:52:16 UTC
The cleanup task was actually disabled by default, therefore I'm closing this bugzilla as deferred.


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