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 2096031 - SSSD: sdap_handle_id_collision_for_incomplete_groups debug message missing a new line
Summary: SSSD: sdap_handle_id_collision_for_incomplete_groups debug message missing a ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sssd
Version: 9.0
Hardware: All
OS: All
unspecified
low
Target Milestone: rc
: ---
Assignee: Abhijit Roy
QA Contact: shridhar
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-12 03:06 UTC by Sunny Wu
Modified: 2023-05-09 10:28 UTC (History)
8 users (show)

Fixed In Version: sssd-2.8.1-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:19:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-125044 0 None None None 2022-06-12 03:11:44 UTC
Red Hat Issue Tracker SSSD-4863 0 None None None 2022-06-23 17:41:20 UTC
Red Hat Product Errata RHBA-2023:2514 0 None None None 2023-05-09 08:20:14 UTC

Description Sunny Wu 2022-06-12 03:06:08 UTC
Description of problem:

SSSD debug message sssd_doamin.log:

(2022-06-12  1:54:53): [be[domain]] [sdap_handle_id_collision_for_incomplete_groups] (0x0080): Due to an id collision, the new group with gid ["<int>"] will not be added as the old group (with the same gid) could not be removed from the sysdb!(2022-06-12  1:54:53): [be[domain]] [sdap_nested_groups_store] (0x0400): Could not add incomplete groups [2]: No such file or directory

The debug message missing a new line character.

https://pagure.io/SSSD/sssd/c/a537df2

~~~	
if (ret != EOK) {
DEBUG(SSSDBG_MINOR_FAILURE,
      "Due to an id collision, the new group with gid [\"%"PRIu32"\"] "
      "will not be added as the old group (with the same gid) could "
      "not be removed from the sysdb!",
      gid);
return ret;
}
~~~

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

$ cat installed-rpms | grep sss
sssd-ad-1.16.5-10.el7_9.12.x86_64                           Sun Jun 12 02:07:59 2022
sssd-client-1.16.5-10.el7_9.12.x86_64                       Sun Jun 12 02:07:58 2022
sssd-common-1.16.5-10.el7_9.12.x86_64                       Sun Jun 12 02:07:58 2022
sssd-common-pac-1.16.5-10.el7_9.12.x86_64                   Sun Jun 12 02:07:59 2022
sssd-dbus-1.16.5-10.el7_9.12.x86_64                         Sun Jun 12 02:07:59 2022
sssd-ipa-1.16.5-10.el7_9.12.x86_64                          Sun Jun 12 02:07:59 2022
sssd-krb5-1.16.5-10.el7_9.12.x86_64                         Sun Jun 12 02:07:59 2022
sssd-krb5-common-1.16.5-10.el7_9.12.x86_64                  Sun Jun 12 02:07:59 2022
sssd-ldap-1.16.5-10.el7_9.12.x86_64                         Sun Jun 12 02:07:59 2022
sssd-proxy-1.16.5-10.el7_9.12.x86_64                        Sun Jun 12 02:07:59 2022
sssd-tools-1.16.5-10.el7_9.12.x86_64                        Sun Jun 12 02:07:59 2022

Actual results:
new line character is missing in debug message, resulting in the subsequent line being printed into one line.

Expected results:
new line character should be present.

Additional info:

Comment 5 Alexey Tikhonov 2022-07-18 11:39:37 UTC
* `master`
  * 17c3a12427f8211f8bb1c7dac1d137ffcc66485e - COMPONENT: sdap_handle_id_collision_for_incomplete_groups

Comment 15 errata-xmlrpc 2023-05-09 08:19:50 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-2023:2514


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