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 1498318 - du/df hang indefinitely (RHEL Atomic Host 7.4)
Summary: du/df hang indefinitely (RHEL Atomic Host 7.4)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.4
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: Frantisek Sumsal
URL:
Whiteboard: aos-scalability-37
Depends On:
Blocks: 1562092
TreeView+ depends on / blocked
 
Reported: 2017-10-04 00:50 UTC by Jeremy Eder
Modified: 2021-09-09 12:39 UTC (History)
13 users (show)

Fixed In Version: systemd-219-46.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1562092 (view as bug list)
Environment:
Last Closed: 2018-04-10 11:22:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
journalctl -b (460.39 KB, application/octet-stream)
2017-10-04 10:02 UTC, Jiří Mencák
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3346491 0 None None None 2018-04-13 12:36:20 UTC
Red Hat Product Errata RHBA-2018:0711 0 None None None 2018-04-10 11:23:48 UTC

Comment 2 Lukáš Nykrýn 2017-10-04 07:56:42 UTC
To be honest I don't know if this is the cases, but at least it looks related. The backport in this case may not be that easy, so let's do some debugging first.

If you have a reproducer, can you please switch systemd log level to debug
systemd-analyze set-log-level debug
reproduce the issue and send us the output of journal
journalctl -b

Comment 3 Jiří Mencák 2017-10-04 10:02:38 UTC
Created attachment 1334156 [details]
journalctl -b

root@172: /tmp # systemctl -pLogLevel show
Failed to get properties: Connection timed out
root@172: /tmp # systemd-analyze set-log-level debug
Failed to issue method call: Activation of org.freedesktop.systemd1 timed out

"journalctl -b" attached, but likely with LogLevel info

Comment 4 Michal Sekletar 2017-10-04 14:46:38 UTC
From what I've seen on the test system you've hit this bug,

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856035

Reproducer is very straight forward,

systemctl mask proc-sys-fs-binfmt_misc.automount
systemctl daemon-reload
ls -l /proc/sys/fs/binfmt_misc

Blocking that you see is due to unhandled autofs events. Obviously, systemd can't handle them because it crashed.

This was fixed upstream a while ago,

https://github.com/systemd/systemd/commit/e350ca3f1ecb6672b74cd25d09ef23c7b309aa5a

Here is backport for RHEL-7 (it wasn't as straightforward as I'd like so it will require proper review).

https://github.com/msekletar/systemd-rhel/commit/c2bf138a9507e9faca776500a505c08e4fa156c4

And here is scratch build with backport,

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14174304

Comment 5 Jiří Mencák 2017-10-04 17:58:51 UTC
Thanks for getting this out so fast.  Upgraded systemd-*, systemd-sysv-* and systemd-libs-* on the affected system.  While this helped with the debian reproducer, df still hanged.  Resorted to "systemctl mask proc-sys-fs-binfmt_misc.automount", no more df hangs at the moment.

Comment 10 Lukáš Nykrýn 2017-10-30 09:30:42 UTC
fix merged to staging branch -> https://github.com/lnykryn/systemd-rhel/pull/154 -> post

Comment 19 errata-xmlrpc 2018-04-10 11:22:48 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, 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-2018:0711


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