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 1917970 - proxy provider: secondary group is showing in sssd cache after group is removed
Summary: proxy provider: secondary group is showing in sssd cache after group is removed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Iker Pedrosa
QA Contact: shridhar
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-19 18:32 UTC by Corey Brown
Modified: 2022-05-10 16:46 UTC (History)
13 users (show)

Fixed In Version: sssd-2.6.1-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 15:26:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5783 0 None open proxy provider: secondary group is showing in sssd cache after group is removed 2021-09-14 14:47:54 UTC
Red Hat Product Errata RHBA-2022:2070 0 None None None 2022-05-10 15:27:09 UTC

Description Corey Brown 2021-01-19 18:32:54 UTC
Created attachment 1748800 [details]
sssd- debugging showing the

Description of problem:
Removing a secondary group from a local user, sssd continues to show that user in the secondary group using the 'id' command even after the group has been removed. The local user does not show up in that group using the 'getent group' command. 

Version-Release number of selected component (if applicable):
RHEL 8.2
sssd-

How reproducible:
Everytime

Steps to Reproduce:
1. Remove user from testgroup:
     - # gpasswd -d test1 testgroup
2. Test that user is not in secondary group:
     - # groups test1
       test1 : users testgroup
3. Wait until the next morning:
     - # date; groups test1
       test1 : users testgroup

Actual results:
User is still showing as a part of the removed secondary group

Expected results:
User should be removed from the secondary group

Additional info:
- We have attempted to use the workaround/fix from https://bugzilla.redhat.com/show_bug.cgi?id=1886661
     - The customer said using "entry_cache_timeout" in the sssd.conf file did not help at all.

Thorsten suggested opening this as a Bugzilla, so I am.

Comment 1 Alexey Tikhonov 2021-01-20 09:19:53 UTC
Hi,

I think this is a duplicate of bz 1827432.

Could you please try 8.3 SSSD package (i.e. sssd-2.3.0-3.el8 or later)?

Comment 4 Corey Brown 2021-01-26 20:43:43 UTC
Hi,

The customer has tested this issue with the updated sssd packages and is still seeing this issue. I have provided the logs to the Bug.

Let me know if there is anything else needed from us at this time.

Corey Brown

Comment 14 Iker Pedrosa 2021-09-16 07:21:21 UTC
Pull request: https://github.com/SSSD/sssd/pull/5784

Comment 16 Alexey Tikhonov 2021-11-01 10:25:01 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5784

* `master`
    * 301659a662a7a7aac11096fd0409f83b45cb41d1 - proxy: allow removing group members

Comment 23 errata-xmlrpc 2022-05-10 15:26:38 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 (sssd bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2022:2070


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