This MR adds fixes for several Jiras. - RHEL-57466 - autofs crashes on startup after IDM client configuration We have had several different reports caused by this bug which leads to a SEGV with very little information about the cuase. - Resolves: RHEL-57466 - RHEL-69485 - Sporadic mount failures with amd program maps on RHEL8. This bug causes AMD-style program map mounts to sporadically not work. - Resolves: RHEL-69485 - RHEL-71359 - RFE: autofs: add handling for AMD 'nounmount' option This Jira adds support for a map option that was deferred in the original implementtion. One of our customers needs this so it has been implemented. - Resolves: RHEL-71359 Signed-off-by: Ian Kent <ikent@redhat.com>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
commit abf2030556dfe694dc19ed2d73f84f7e5046b660
|
|
Author: Ian Kent <raven@themaw.net>
|
|
Date: Thu Jul 11 13:56:15 2024 +0800
|
|
|
|
autofs-5.1.9 - fix amd cache options not copied
|
|
|
|
The cache options set when parsing the amd map entry are not copied to
|
|
the list entry that gets processed by the caller.
|
|
|
|
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
---
|
|
CHANGELOG | 1 +
|
|
modules/amd_parse.y | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- autofs-5.1.7.orig/CHANGELOG
|
|
+++ autofs-5.1.7/CHANGELOG
|
|
@@ -167,6 +167,7 @@
|
|
- refactor amd function do_program_mount().
|
|
- refactor umount_amd_ext_mount().
|
|
- add flags argument to amd do_program_mount().
|
|
+- fix amd cache options not copied.
|
|
|
|
25/01/2021 autofs-5.1.7
|
|
- make bind mounts propagation slave by default.
|
|
--- autofs-5.1.7.orig/modules/amd_parse.y
|
|
+++ autofs-5.1.7/modules/amd_parse.y
|
|
@@ -888,6 +888,7 @@ static int add_location(void)
|
|
new->path = entry.path;
|
|
}
|
|
new->flags = entry.flags;
|
|
+ new->cache_opts = entry.cache_opts;
|
|
new->type = entry.type;
|
|
new->map_type = entry.map_type;
|
|
new->pref = entry.pref;
|