Bug 1309247
| Summary: | df -l hangs on nfs share when autofs is involved | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Dmitry Zhukovski <dzhukous> |
| Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
| Status: | CLOSED ERRATA | QA Contact: | Jakub Prokes <jprokes> |
| Severity: | medium | Docs Contact: | Petr Bokoc <pbokoc> |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | fsorenso, jhunt, jprokes, jscotka, jshivers, kdudka, ovasik, pbokoc |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | coreutils-8.22-17.el7 | Doc Type: | Bug Fix |
| Doc Text: |
*NFS* shares mounted by *autofs* no longer cause timeouts when listing local mounts using "df"
A bug in "df" could previously cause *NFS* shares mounted by *autofs* to be detected as local mounts. Attempts to list only local mounts using the "-l" option then timed out, because "df" was attempting to list these incorrectly detected shares. This bug has been fixed, and listing local mounts now works as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 07:40:12 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
Dmitry Zhukovski
2016-02-17 10:27:32 UTC
It hangs on a stat() call in filter_mount_list(). The autofs file system is not recognized as a remote file system (for which the stat() call is avoided) because there is no ':' in the mounted file (as in the case of NFS mounts). This behavior does not anyhow differ from the latest upstream version of df. Fix proposed to gnulib upstream: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/35708 Note that this bz will also result in all exported filesystems from a particular nfs server becoming mounted, and can cause problems even if the nfs server is still running (such as when the nfs server is remote and has a large number of exports). 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://rhn.redhat.com/errata/RHBA-2016-2497.html |