Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: SSSD: sdap_handle_id_collision_for_incomplete_groups debug message missing a new line
Product: Red Hat Enterprise Linux 9 Reporter: Sunny Wu <suwu>
Component: sssdAssignee: Abhijit Roy <abroy>
Status: CLOSED ERRATA QA Contact: shridhar <sgadekar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.0CC: atikhono, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sgadekar, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: All   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.8.1-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 08:19:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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