Hi all,
I've had three reports now, of mounts not expiring. This appears to be caused by a race in the function st_expire in automount.c.
Can everyone who is maintaining downstream packages please chaeck that the code in their package ends up looking like what the patch below acheives.
And for those that have reported the problem, please try this patch.
Ian
--- autofs-4.1.3-michael/daemon/automount.c.sig-fix 2005-01-19
20:11:09.000000000 +0800
+++ autofs-4.1.3-michael/daemon/automount.c 2005-01-19 20:12:02.000000000
+0800
@@ -920,8 +920,8 @@
return 1; case EXP_STARTED:
- sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
ap.state = ST_EXPIRE;
+ sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
return 0;
}
return 1;_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
