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 1894540 - sssd component logging is now too generic in syslog/journal
Summary: sssd component logging is now too generic in syslog/journal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alexey Tikhonov
QA Contact: Madhuri
URL:
Whiteboard: sync-to-jira qetodo
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-04 13:22 UTC by Alexey Tikhonov
Modified: 2021-05-18 15:04 UTC (History)
8 users (show)

Fixed In Version: sssd-2.4.0-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:03:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5384 0 None closed sssd syslog/journal logging is now too generic 2020-12-17 09:57:20 UTC

Description Alexey Tikhonov 2020-11-04 13:22:15 UTC
This bug was initially created as a copy of Bug #1888409

I am copying this bug because: to track fix for RHEL8



Description of problem:

Before log messages were like:

Oct 14 07:11:30 hostname sssd[1244]: Starting up
Oct 14 07:11:31 hostname sssd[sudo][1411]: Starting up
Oct 14 07:11:31 hostname sssd[ssh][1413]: Starting up
Oct 14 07:11:31 hostname sssd[autofs][1414]: Starting up
Oct 14 07:11:31 hostname sssd[nss][1410]: Starting up
Oct 14 07:11:31 hostname sssd[pam][1412]: Starting up
Oct 14 07:11:31 hostname sssd[pac][1415]: Starting up

Now they are like:

Oct 14 07:41:22 hostname sssd[21141]: Starting up
Oct 14 07:41:22 hostname ssh[21161]: Starting up
Oct 14 07:41:22 hostname nss[21158]: Starting up
Oct 14 07:41:22 hostname pam[21160]: Starting up

This is too generic - in particular the "pam" line which gets picked up by logwatch as PAM messages.

Version-Release number of selected component (if applicable):
sssd-1.16.5-10.el7_9.5.x86_64

Comment 2 Alexey Tikhonov 2020-11-05 11:19:56 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5373

* `master`
    * 18233532b72e62452eac6886652fa633ba055d8c - DEBUG: fixes program identifier as seen in syslog
    * 833034f5332d2492d413a9c97fded1480b58bf14 - DEBUG: journal_send() was made static
* `sssd-1-16`
    * 647a130b501374c22b63937decdcf97da5c92505 - DEBUG: fixes program identifier as seen in syslog
    * 208372c7f6ad7d1d1d4b5cad57aaa08affaa0fac - DEBUG: journal_send() was made static

Comment 7 Madhuri 2020-12-17 10:05:10 UTC
Verified with
# rpm -qa sssd
sssd-2.4.0-3.el8.x86_64

-- Unit sssd.service has begun starting up.
Dec 17 09:58:37 hostname3 sssd[sssd][19901]: Starting up
Dec 17 09:58:37 hostname3 sssd[be[implicit_files]][19902]: Starting up
Dec 17 09:58:37 hostname3 sssd[be[example1]][19903]: Starting up
Dec 17 09:58:37 hostname3 sssd[pam][19905]: Starting up
Dec 17 09:58:37 hostname3 sssd[nss][19904]: Starting up
Dec 17 09:58:37 hostname3 systemd[1]: Started System Security Services Daemon.
-- Subject: Unit sssd.service has finished start-up

Comment 9 errata-xmlrpc 2021-05-18 15:03:59 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-2021:1666


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