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.
DescriptionEmmanuel Kasper
2021-04-02 13:19:32 UTC
Description of problem: Inconsistant debug level for connection logging
How reproducible: always
Steps to Reproduce:
Set IPA clients we have debug level 3 logging
Actual results:
In the backend log file we see:
(Sun Mar 28 06:37:28 2021) [sdap_id_conn_data_expire_handler] (0x0080): connection is about to expire, releasing it
(Sun Mar 28 06:37:36 2021) [ipa_sudo_fetch_addtl_cmdgroups_done] (0x0040): Received 0 additional command groups
(Sun Mar 28 06:37:36 2021) [ipa_sudo_fetch_rules_done] (0x0040): Received 0 sudo rules
(Sun Mar 28 06:52:28 2021) [sdap_id_conn_data_expire_handler] (0x0080): connection is about to expire, releasing it
(Sun Mar 28 06:52:36 2021) [ipa_sudo_fetch_addtl_cmdgroups_done] (0x0040): Received 0 additional command groups
(Sun Mar 28 06:52:36 2021) [ipa_sudo_fetch_rules_done] (0x0040): Received 0 sudo rules
(Sun Mar 28 07:07:28 2021) [sdap_id_conn_data_expire_handler] (0x0080): connection is about to expire, releasing it
(Sun Mar 28 07:07:36 2021) [ipa_sudo_fetch_addtl_cmdgroups_done] (0x0040): Received 0 additional command groups
(Sun Mar 28 07:07:36 2021) [ipa_sudo_fetch_rules_done] (0x0040): Received 0 sudo rules
Expected results:
Connection, (optional Expire-timers), Disconnect are logged at the same loglevel.
Additional info:
On loglevel 4 (0x0100) we see log messages like:
------
(Wed Mar 31 13:41:53 2021) [fo_set_port_status] (0x0100): Marking port 389 of server 'li-ld-2351.hag
.hilti.com' as 'working'
(Wed Mar 31 13:41:53 2021) [set_server_common_status] (0x0100): Marking server 'li-ld-2351.hag.hilti
.com' as 'working'
-----
The purpose of the log message about 'expire' on debug level 3 (0x0080) without a corresponding connection log message is unclear.
https://github.com/SSSD/sssd/pull/5570 changes
```
[sdap_ldap_connect_callback_add] (0x1000): New LDAP connection to [...] with fd [...].
[sdap_id_conn_data_expire_handler] (0x0080): connection is about to expire, releasing it
[sdap_id_release_conn_data] (0x4000): releasing unused connection
```
to use the same debug level 0x0400.
Take a note that debug level of "Received ... additional command groups" and "Received ... sudo rules" was changed in 8.4 already.
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-2021:4435