Bug 1689467

Summary: path_resolution on an autofs managed path resets the timer. Can this be made configurable?
Product: Red Hat Enterprise Linux 8 Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Kun Wang <kunwan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0CC: coughlan, dwysocha, ikent, kunwan, lvasamse, rhandlin, xzhou
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
By default the expire of automounted mounts depends on the last access. In very large environments this helps reduce the number of mount requests from clients which can be significant. But this can lead to mounts not being umounted when monitoring services scan directory trees containing automounts. In this case it can be beneficial to expire mounts based on whether they are actually in use (ie. contain a process working directory of open files), the so-called strict expire. To allow for this later case a master map entry mount option, strictexpire, has been added. This mount option causes mounts to expire based on whether they are actually in use. To enable this behaviour the mount option "strictexpire" needs to be added to automount master map entries and the expire behaviour will change if the kernel in use supports it.
Story Points: ---
Clone Of: 1640448 Environment:
Last Closed: 2019-11-05 22:31:56 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: 1640448, 1653208, 1672134, 1681956    
Bug Blocks:    
Attachments:
Description Flags
Patch - add strictexpire mount option none

Comment 1 Ian Kent 2019-04-29 00:48:54 UTC
Created attachment 1559722 [details]
Patch - add strictexpire mount option

Comment 5 Dave Wysochanski 2019-08-15 19:27:51 UTC
NOTE when RHEL8.1 ships we will need to update this Kbase solution similar to what was done for RHEL7.7:
https://access.redhat.com/solutions/3225981

I tried adding it to the bug but apparently the latest bugzilla updates seem to have broken that because I always get an error now when trying to add it.

Comment 7 errata-xmlrpc 2019-11-05 22:31:56 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-2019:3639