- Fix a race between mounting a share and updating the cache in the parent

process. If the mount completed first, the parent would not expire the
    stale entry, leaving it first on the list. This causes map updates to
    not be recognized (well, worse, they are recognized after the first
    expire, but not subsequent ones). Fixes a regression, bug #137026
    (rhel3 bug).
This commit is contained in:
Jeffrey E. Moyer 2005-04-27 00:58:27 +00:00
parent f9c9998242
commit b933e4f7c2

View File

@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems.
Name: autofs
%define version 4.1.4
%define release 5
%define release 6
Version: %{version}
Release: %{release}
Epoch: 1
@ -20,6 +20,7 @@ Patch6: autofs-4.1.4-non-replicated-ping.patch
Patch7: autofs-4.1.4-check-nsswitch-submount.patch
Patch8: autofs-4.1.3-alt-master-ldap.patch
Patch9: autofs-4.1.4-check-is-multi.patch
Patch10: autofs-4.1.4-cache-update-race-fix.patch
Buildroot: /var/tmp/autofs-tmp
BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
@ -68,6 +69,7 @@ echo %{version}-%{release} > .version
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@ -121,6 +123,13 @@ exit 0
%{_libdir}/autofs/*
%changelog
* Tue Apr 26 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-6
- Fix a race between mounting a share and updating the cache in the parent
process. If the mount completed first, the parent would not expire the
stale entry, leaving it first on the list. This causes map updates to not
be recognized (well, worse, they are recognized after the first expire, but
not subsequent ones). Fixes a regression, bug #137026 (rhel3 bug).
* Fri Apr 15 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.4-5
- Fixed regression with -browse not taking effect.