Bug 1887681

Summary: automount force unlink option (-F) does not work as expected on autofs-5.0.7-109.el7
Product: Red Hat Enterprise Linux 8 Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Kun Wang <kunwan>
Severity: high Docs Contact:
Priority: unspecified    
Version: ---CC: dwysocha, fhirtz, ikent, kunwan, rbergant, xzhou
Target Milestone: rcKeywords: Regression
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: autofs-5.1.4-47 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1885511 Environment:
Last Closed: 2021-05-18 14:55:46 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:
Bug Depends On: 1885511    
Bug Blocks:    
Attachments:
Description Flags
Patch - fix direct mount unlink_mount_tree() path
none
Patch - fix unlink mounts umount order
none
Patch - fix incorrect logical compare in unlink_mount_tree()
none
Patch - use bit flag for force unlink mounts
none
Patch - improve force unlink mounts option description
none
Patch - remove logpri fifo on autofs mount fail
none
Patch - add force unlink mounts and exit option
none
Patch - cleanup stale logpri fifo pipes on unlink and exit none

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