在一些版本中,命令会导致自动挂载管理的路径的 path_resolution 重置挂载的过期计时器。
Issue
- 我们注意到,根据具体的 autofs 或内核版本,autofs 过期挂载行为可能会有所不同。 对于某些内核版本,针对自动挂载控制的路径运行 'ls' 或 'stat' 命令会重置计时器,而其它版本没有这个问题。
- RHEL7.4 上的 autofs 使仍在使用的挂载过期
- 针对由 autofs 管理的路径运行 'ls' 是否会重置 autofs 过期计时器?
Environment
- Red Hat Enterprise Linux 5 - 8
- autofs / automount 带有一个非零的过期超时选项 (automount man page 中的 '-t' 或 '--timeout' 参数 )
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.