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 1954802 - RFE: All systemd --user processes will produces logs for the mount succeeded
Summary: RFE: All systemd --user processes will produces logs for the mount succeeded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemd
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Jan Macku
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks: 1973555
TreeView+ depends on / blocked
 
Reported: 2021-04-28 19:10 UTC by Anthony Zone
Modified: 2021-11-10 09:57 UTC (History)
3 users (show)

Fixed In Version: systemd-239-48.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1973555 (view as bug list)
Environment:
Last Closed: 2021-11-09 19:56:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github systemd systemd pull 19936 0 None open core: Hide "Deactivated successfully" message for regular users 2021-06-15 11:50:50 UTC
Red Hat Product Errata RHBA-2021:4469 0 None None None 2021-11-09 19:56:56 UTC

Description Anthony Zone 2021-04-28 19:10:49 UTC
Description of problem:

On very busy systems all of the 'systemd --user' processes will all echo messages that the primary systemd process does.  This creates a massive cascade of logs which is completely unnecessary.

In RHEL 8.3 we added a mount succeeded message and on systems with tons of autofs and users logged in we get every single 'systemd --user' process all echoing the mount succeeded message.

From unit.c in RHEL 8.3.0: 

    void unit_log_success(Unit *u) {
	    assert(u);

	    log_struct(LOG_INFO,
		       "MESSAGE_ID=" SD_MESSAGE_UNIT_SUCCESS_STR,
		       LOG_UNIT_ID(u),
		       LOG_UNIT_INVOCATION_ID(u),
		       LOG_UNIT_MESSAGE(u, "Succeeded."));
    }

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

RHEL 8.3 systemd-239-41.el8_3.1.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Have a user logged in and mount a filesystem

Actual results:

systemd overwhelms logs on very busy systems.

Expected results:

Only the primary systemd process should indicate that these mounts succeeded or this should be hidden behind a debug or other logging.

Additional info:

Comment 3 Lukáš Nykrýn 2021-06-21 10:37:13 UTC
fix merged to github master branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/186

Comment 10 errata-xmlrpc 2021-11-09 19:56:28 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 (systemd 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:4469


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