autofs-5.1.4 - fix age setting at startup From: Ian Kent Commit 2b567ace7d, which resets the master map list on startup before retrying a read, incorrectly sets age using time() when it should use monotonic_time(). This causes lookup failures for submounts in cases where a master map read retry was needed. The failure happens because the mount entry age is greater than the map entry age which is meant to indicate the map is no longer valid which is not the case. Signed-off-by: Ian Kent --- CHANGELOG | 1 + daemon/automount.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- autofs-5.1.4.orig/CHANGELOG +++ autofs-5.1.4/CHANGELOG @@ -32,6 +32,7 @@ xx/xx/2018 autofs-5.1.5 - mark removed cache entry negative. - set bind mount as propagation slave. - add master map pseudo options for mount propagation. +- fix age setting at startup. 19/12/2017 autofs-5.1.4 - fix spec file url. --- autofs-5.1.4.orig/daemon/automount.c +++ autofs-5.1.4/daemon/automount.c @@ -2610,7 +2610,7 @@ int main(int argc, char *argv[]) * we have anyway. */ do_master_list_reset(master_list); - age = time(NULL); + age = monotonic_time(NULL); master_read_master(master_list, age, 1); } }