From 7110bd48c21abef06eb2633fd088add242d7f52e Mon Sep 17 00:00:00 2001 From: Chris Feist Date: Mon, 24 Jan 2005 17:41:15 +0000 Subject: [PATCH] Fixed bz #134399 so directories aren't removed if they were not created. --- autofs.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/autofs.spec b/autofs.spec index 0566cdb..c9ba087 100644 --- a/autofs.spec +++ b/autofs.spec @@ -4,7 +4,7 @@ Summary: A tool for automatically mounting and unmounting filesystems. Name: autofs %define version 4.1.3 -%define release 76 +%define release 80 Version: %{version} Release: %{release} Epoch: 1 @@ -47,6 +47,7 @@ Patch41: autofs-4.1.3-replicated-server-select.patch Patch42: autofs-4.1.3-ian-map-expiry-multimount-fix.patch Patch43: autofs-4.1.3-yp-direct-lookup.patch Patch44: autofs-4.1.3-filestream-leak.patch +Patch45: autofs-4.1.3-no-rmdir.patch Buildroot: /var/tmp/autofs-tmp BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl Prereq: chkconfig @@ -120,6 +121,7 @@ echo %{version}-%{release} > .version %patch42 -p1 -b .expire-multi %patch43 -p1 -b .yp-direct-lookup %patch44 -p1 -b .filestream-leak +%patch45 -p1 -b .no-rmdir cp $RPM_SOURCE_DIR/autofs.sysconfig . %build @@ -173,6 +175,11 @@ exit 0 %{_libdir}/autofs/* %changelog +* Mon Jan 24 2005 Chris Feist - 1:4.3-80 +- Added a variable to determine if we created the directory or not + so we don't accidently remove a directory that we didn't create when + we stop autofs. (bz #134399) + * Tue Jan 11 2005 Jeff Moyer - 1:4.1.3-76 - Fix the large program map patch.