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>
35 lines
1003 B
Diff
35 lines
1003 B
Diff
autofs-5.1.9 - fix lookup search type in umount_subtree_mounts()
|
|
|
|
From: Ian Kent <raven@themaw.net>
|
|
|
|
The lookup type used in umount_subtree_mounts() should be LKP_DISTINCT
|
|
because we're looking for existing cache entries.
|
|
|
|
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
---
|
|
CHANGELOG | 1 +
|
|
daemon/automount.c | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- autofs-5.1.7.orig/CHANGELOG
|
|
+++ autofs-5.1.7/CHANGELOG
|
|
@@ -173,6 +173,7 @@
|
|
- refactor amd mount options handling.
|
|
- add some unimplemented amd map options.
|
|
- fix submount shutdown race.
|
|
+- fix lookup search type in umount_subtree_mounts().
|
|
|
|
25/01/2021 autofs-5.1.7
|
|
- make bind mounts propagation slave by default.
|
|
--- autofs-5.1.7.orig/daemon/automount.c
|
|
+++ autofs-5.1.7/daemon/automount.c
|
|
@@ -543,7 +543,7 @@ static int umount_subtree_mounts(struct
|
|
if (ind_key)
|
|
ind_key++;
|
|
|
|
- me = lookup_source_mapent(ap, ind_key, LKP_NORMAL);
|
|
+ me = lookup_source_mapent(ap, ind_key, LKP_DISTINCT);
|
|
}
|
|
|
|
if (me) {
|