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 1887681 - automount force unlink option (-F) does not work as expected on autofs-5.0.7-109.el7
Summary: automount force unlink option (-F) does not work as expected on autofs-5.0.7-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: autofs
Version: ---
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Ian Kent
QA Contact: Kun Wang
URL:
Whiteboard:
Depends On: 1885511
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-13 07:24 UTC by Ian Kent
Modified: 2021-05-18 14:55 UTC (History)
6 users (show)

Fixed In Version: autofs-5.1.4-47
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1885511
Environment:
Last Closed: 2021-05-18 14:55:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
Patch - fix direct mount unlink_mount_tree() path (1.15 KB, patch)
2020-11-04 08:25 UTC, Ian Kent
no flags Details | Diff
Patch - fix unlink mounts umount order (2.41 KB, patch)
2020-11-04 08:27 UTC, Ian Kent
no flags Details | Diff
Patch - fix incorrect logical compare in unlink_mount_tree() (1012 bytes, patch)
2020-11-04 08:28 UTC, Ian Kent
no flags Details | Diff
Patch - use bit flag for force unlink mounts (1.19 KB, patch)
2020-11-04 08:29 UTC, Ian Kent
no flags Details | Diff
Patch - improve force unlink mounts option description (1.41 KB, patch)
2020-11-04 08:31 UTC, Ian Kent
no flags Details | Diff
Patch - remove logpri fifo on autofs mount fail (974 bytes, patch)
2020-11-04 08:32 UTC, Ian Kent
no flags Details | Diff
Patch - add force unlink mounts and exit option (7.44 KB, patch)
2020-11-04 08:33 UTC, Ian Kent
no flags Details | Diff
Patch - cleanup stale logpri fifo pipes on unlink and exit (2.82 KB, patch)
2020-11-04 08:34 UTC, Ian Kent
no flags Details | Diff

Comment 2 Ian Kent 2020-11-04 08:25:52 UTC
Created attachment 1726481 [details]
Patch - fix direct mount unlink_mount_tree() path

Comment 3 Ian Kent 2020-11-04 08:27:07 UTC
Created attachment 1726482 [details]
Patch - fix unlink mounts umount order

Comment 4 Ian Kent 2020-11-04 08:28:08 UTC
Created attachment 1726483 [details]
Patch - fix incorrect logical compare in unlink_mount_tree()

Comment 5 Ian Kent 2020-11-04 08:29:42 UTC
Created attachment 1726484 [details]
Patch - use bit flag for force unlink mounts

Comment 6 Ian Kent 2020-11-04 08:31:05 UTC
Created attachment 1726486 [details]
Patch - improve force unlink mounts option description

Comment 7 Ian Kent 2020-11-04 08:32:11 UTC
Created attachment 1726487 [details]
Patch - remove logpri fifo on autofs mount fail

Comment 8 Ian Kent 2020-11-04 08:33:16 UTC
Created attachment 1726488 [details]
Patch - add force unlink mounts and exit option

Comment 9 Ian Kent 2020-11-04 08:34:19 UTC
Created attachment 1726489 [details]
Patch - cleanup stale logpri fifo pipes on unlink and exit

Comment 15 errata-xmlrpc 2021-05-18 14:55:46 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 (autofs 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:1621


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