cvsdist c2d75c
#
cvsdist c2d75c
# $Id: autofs.spec,v 1.11 2003/12/04 15:41:32 raven Exp $
cvsdist c2d75c
#
cvsdist f128f4
Summary: A tool for automatically mounting and unmounting filesystems.
cvsdist f128f4
Name: autofs
ikent 748d67
%define version 5.0.0
ikent 748d67
%define release 1
cvsdist c2d75c
Version: %{version}
ikent d12fa8
Release: %{release}
cvsdist f128f4
Epoch: 1
Jeffrey E. Moyer 0dd38d
License: GPL
cvsdist f128f4
Group: System Environment/Daemons
ikent 748d67
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}.tar.bz2
ikent 748d67
Patch1: autofs-5.0.0_beta3-remove-extra-debug-print.patch
ikent 748d67
Patch2: autofs-5.0.0_beta3-underscore-to-dot.patch
ikent 748d67
Patch3: autofs-5.0.0_beta3-dont-probe-nfs4.patch
ikent 748d67
Patch4: autofs-5.0.0_beta3-pgrp-pid.patch
ikent 748d67
Patch5: autofs-5.0.0_beta3-replicated-white-space.patch
Jeffrey E. Moyer 4753e9
cvsdist c2d75c
Buildroot: /var/tmp/autofs-tmp
ikent 748d67
BuildPrereq: autoconf, hesiod-devel, openldap-devel, bison, flex, rpcgen
cvsdist c2d75c
Prereq: chkconfig
cvsdist c2d75c
Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
cvsdist f128f4
Obsoletes: autofs-ldap
cvsdist c2d75c
Summary(de): autofs daemon 
cvsdist ee03ea
Summary(fr): démon autofs
cvsdist ee03ea
Summary(tr): autofs sunucu süreci
cvsdist c2d75c
Summary(sv): autofs-daemon
cvsdist f128f4
cvsdist f128f4
%description
cvsdist c2d75c
autofs is a daemon which automatically mounts filesystems when you use
cvsdist c2d75c
them, and unmounts them later when you are not using them.  This can
cvsdist c2d75c
include network filesystems, CD-ROMs, floppies, and so forth.
cvsdist c2d75c
cvsdist c2d75c
%description -l de
cvsdist ee03ea
autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie 
cvsdist ee03ea
benutzt werden, und sie später bei Nichtbenutzung wieder demontiert. 
cvsdist ee03ea
Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen. 
cvsdist c2d75c
cvsdist c2d75c
%description -l fr
cvsdist ee03ea
autofs est un démon qui monte automatiquement les systèmes de fichiers
cvsdist ee03ea
lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus. Cela
cvsdist ee03ea
inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc.
cvsdist c2d75c
cvsdist c2d75c
%description -l tr
cvsdist ee03ea
autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar
cvsdist ee03ea
ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya
cvsdist ee03ea
sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
cvsdist c2d75c
cvsdist c2d75c
%description -l sv
cvsdist ee03ea
autofs är en daemon som mountar filsystem när de använda, och senare
cvsdist ee03ea
unmountar dem när de har varit oanvända en bestämd tid.  Detta kan
cvsdist ee03ea
inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare.
cvsdist f128f4
cvsdist f128f4
%prep
cvsdist f128f4
%setup -q
cvsdist 2ab164
echo %{version}-%{release} > .version
Jeffrey E. Moyer 7469c3
%patch1 -p1
Jeffrey E. Moyer 7469c3
%patch2 -p1
Jeffrey E. Moyer 7469c3
%patch3 -p1
Jeffrey E. Moyer 7469c3
%patch4 -p1
Jeffrey E. Moyer 7469c3
%patch5 -p1
cvsdist f128f4
cvsdist f128f4
%build
cvsdist 2ab164
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
ikent 748d67
%configure --disable-mount-locking --enable-ignore-busy
cvsdist c2d75c
make initdir=/etc/rc.d/init.d
cvsdist f128f4
cvsdist f128f4
%install
cvsdist c2d75c
rm -rf $RPM_BUILD_ROOT
cvsdist 0e6d8b
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT%{_sbindir}
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/autofs
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT/etc/sysconfig
cvsdist c2d75c
cvsdist ee03ea
make install mandir=%{_mandir} initdir=/etc/rc.d/init.d INSTALLROOT=$RPM_BUILD_ROOT
cvsdist f128f4
install -m 755 -d $RPM_BUILD_ROOT/misc
Jeffrey E. Moyer 7469c3
install -m 644 redhat/autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs
cvsdist f128f4
cvsdist f128f4
%clean
cvsdist ee03ea
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist f128f4
cvsdist f128f4
%post
cvsdist c2d75c
chkconfig --add autofs
cvsdist f128f4
cvsdist 2ab164
%postun
cvsdist 2ab164
if [ $1 -ge 1 ] ; then
cvsdist 2ab164
	/sbin/service autofs condrestart > /dev/null 2>&1 || :
cvsdist 2ab164
fi
cvsdist 2ab164
cvsdist 2ab164
%preun
cvsdist 2ab164
if [ "$1" = 0 ] ; then
cvsdist 2ab164
	/sbin/service autofs stop > /dev/null 2>&1 || :
cvsdist 2ab164
	/sbin/chkconfig --del autofs
cvsdist 2ab164
fi
cvsdist 2ab164
exit 0
cvsdist 2ab164
cvsdist f128f4
%files
cvsdist f128f4
%defattr(-,root,root)
Jeffrey E. Moyer 7469c3
%doc CREDITS COPY* README* patches/* samples/ldap* samples/autofs.schema
cvsdist c2d75c
%doc 
cvsdist f128f4
%config /etc/rc.d/init.d/autofs
cvsdist c2d75c
%config(noreplace,missingok) /etc/auto.master
cvsdist 0e6d8b
%config(noreplace,missingok) /etc/auto.misc
cvsdist c2d75c
%config(noreplace,missingok) /etc/auto.net
Jeffrey E. Moyer 7469c3
%config(noreplace,missingok) /etc/auto.smb
cvsdist ee03ea
%config(noreplace) /etc/sysconfig/autofs
cvsdist f128f4
%dir /misc
cvsdist ee03ea
%dir %{_libdir}/autofs
cvsdist ee03ea
%{_sbindir}/automount
cvsdist ee03ea
%{_mandir}/*/*
cvsdist ee03ea
%{_libdir}/autofs/*
cvsdist f128f4
cvsdist f128f4
%changelog
ikent 748d67
* Thu May 25 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta3-1
ikent 748d67
- update source to version 5.0.0_beta3.
ikent 748d67
- add patch to remove extra debug print.
ikent 748d67
- add patch to
ikent 748d67
  - fix memory alloc error in nis lookup module.
ikent 748d67
  - add "_" to "." mapname translation to nis lookup module.
ikent 748d67
- add patch to add owner pid to mount list struct.
ikent 748d67
- add patch to disable NFSv4 when probing hosts (at least foe now).
ikent 748d67
- add patch to fix white space handling in replicated server selection code.
ikent 996d2e
- add patch to prevent striping of debug info macro patch (Jeff Moyer).
ikent 748d67
ikent fceac0
* Tue May 16 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-23
ikent fceac0
- add patch to ignore the "bg" and "fg" mount options as they
ikent fceac0
  aren't relevant for autofs mounts (bz #184386).
ikent fceac0
ikent f75532
* Tue May 2 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-20
ikent f75532
- add patch to use "cifs" instead of smbfs and escape speces
ikent f75532
  in share names (bz #163999, #187732).
ikent f75532
ikent b598ff
* Tue Apr 11 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-18
ikent b598ff
- Add patch to allow customization of arguments to the
ikent b598ff
  autofs-ldap-auto-master program (bz #187525).
ikent b598ff
- Add patch to escap "#" characters in exports from auto.net
ikent b598ff
  program mount (bz#178304).
ikent b598ff
Jesse Keating 1f720d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:4.1.4-16.2.2
Jesse Keating 1f720d
- bump again for double-long bug on ppc(64)
Jesse Keating 1f720d
Jesse Keating cea2f4
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:4.1.4-16.2.1
Jesse Keating cea2f4
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating cea2f4
ikent 948a1c
* Tue Feb 1 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-16.2
ikent 948a1c
- Add more general patch to translate "_" to "." in map names. (bz #147765)
ikent 948a1c
ikent 2de609
* Mon Jan 25 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-16.1
ikent 2de609
- Add patch to use LDAP_DEPRICATED compile option. (bz #173833)
ikent 2de609
ikent d12fa8
* Mon Jan 17 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-16
ikent d12fa8
- Replace check-is-multi with more general multi-parse-fix.
ikent d12fa8
- Add fix for premature return when waiting for lock file.
ikent d12fa8
- Update copyright declaration for reentrant-syslog source.
ikent d12fa8
- Add patch for configure option to disable locking during mount.
ikent d12fa8
  But don't disable locking by default.
ikent d12fa8
- Add ability to handle automount schema used in Sun directory server.
ikent d12fa8
- Quell compiler warning about getsockopt parameter.
ikent d12fa8
- Quell compiler warning about yp_order parameter.
ikent d12fa8
Jesse Keating 69756b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 69756b
- rebuilt
Jesse Keating 69756b
Jeffrey E. Moyer 920c71
* Thu Nov 17 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-14
Jeffrey E. Moyer 920c71
- Removed the /misc entry from the default auto.master.  auto.misc has
Jeffrey E. Moyer 920c71
  an entry for the cdrom device, and the preferred method of mounting the
Jeffrey E. Moyer 920c71
  cd is via udev/hal.
Jeffrey E. Moyer 920c71
Jeffrey E. Moyer 97c872
* Mon Nov  7 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-13
Jeffrey E. Moyer 97c872
- Changed to sort -k 1, since that should be the same as +0.
Jeffrey E. Moyer 97c872
Jeffrey E. Moyer 5a594f
* Thu Nov  3 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-12
Jeffrey E. Moyer 5a594f
- The sort command no longer accepts options of the form "+0".  This broke
Jeffrey E. Moyer 5a594f
  auto.net, so the option was removed.  Fixes bz #172111.
Jeffrey E. Moyer 5a594f
Jeffrey E. Moyer 7805dc
* Wed Oct 26 2005  <jmoyer@redhat.com> - 1:4.1.4-11
Jeffrey E. Moyer 7805dc
- Check the return code of is_local_addr in get_best_mount. (bz #169523)
Jeffrey E. Moyer 7805dc
Jeffrey E. Moyer 5dc227
* Wed Oct 26 2005  <jmoyer@redhat.com> - 1:4.1.4-10
Jeffrey E. Moyer 5dc227
- Fix some bugs in the parser
Jeffrey E. Moyer 5dc227
- allow -net instead of /etc/auto.net
Jeffrey E. Moyer 5dc227
- Fix a buffer overflow with large key lengths
Jeffrey E. Moyer 5dc227
- Don't allow autofs to unlink files, only to remove directories
Jeffrey E. Moyer 5dc227
- change to the upstream reentrant syslog patch from the band-aid deferred
Jeffrey E. Moyer 5dc227
  syslog patch.
Jeffrey E. Moyer 5dc227
- Get rid of the init script patch that hard-coded the release to redhat.
Jeffrey E. Moyer 5dc227
  This should be handled properly by all red hat distros.
Jeffrey E. Moyer 5dc227
Jeffrey E. Moyer 81485c
* Wed May  4 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-8
Jeffrey E. Moyer 81485c
- Add in the deferred syslog patch.  This fixes a hung automounter issue
Jeffrey E. Moyer 81485c
  related to unsafe calls to syslog in signal handler context.
Jeffrey E. Moyer 81485c
Jeffrey E. Moyer 8e372a
* Tue May  3 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-7
Jeffrey E. Moyer 8e372a
- I reversed the checking for multimount entries, breaking those configs!
Jeffrey E. Moyer 8e372a
  This update puts the code back the way it was before I broke it.
Jeffrey E. Moyer 8e372a
Jeffrey E. Moyer b933e4
* Tue Apr 26 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-6
Jeffrey E. Moyer b933e4
- Fix a race between mounting a share and updating the cache in the parent
Jeffrey E. Moyer b933e4
  process.  If the mount completed first, the parent would not expire the
Jeffrey E. Moyer b933e4
  stale entry, leaving it first on the list.  This causes map updates to not
Jeffrey E. Moyer b933e4
  be recognized (well, worse, they are recognized after the first expire, but
Jeffrey E. Moyer b933e4
  not subsequent ones).  Fixes a regression, bug #137026 (rhel3 bug).
Jeffrey E. Moyer b933e4
Chris Feist f9c999
* Fri Apr 15 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.4-5
Chris Feist f9c999
- Fixed regression with -browse not taking effect.
Chris Feist f9c999
Jeffrey E. Moyer b79033
* Wed Apr 13 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-4
Jeffrey E. Moyer b79033
- Finish up with the merge breakage.
Jeffrey E. Moyer b79033
- Temporary fix for the multimount detection code.  It seems half-baked.
Jeffrey E. Moyer b79033
Jeffrey E. Moyer ad018d
* Wed Apr 13 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-3
Jeffrey E. Moyer ad018d
- Fix up the one-auto-master patch.  My "improvements" had side-effects.
Jeffrey E. Moyer ad018d
Jeffrey E. Moyer 7469c3
* Wed Apr 13 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-2
Jeffrey E. Moyer 7469c3
- Import 4.1.4 and merge.
Jeffrey E. Moyer 7469c3
Jeffrey E. Moyer af2456
* Mon Apr  4 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-123
Jeffrey E. Moyer af2456
- Add in an error case that was omitted in the multi-over patch.
Jeffrey E. Moyer af2456
- Update our auto.net to reflect the changes that went into 4.1.4_beta2.
Jeffrey E. Moyer af2456
  This fixes a problem seen by at least one customer where a malformed entry
Jeffrey E. Moyer af2456
  appeared first in the multimount list, thus causing the entire multimount
Jeffrey E. Moyer af2456
  to be ignored.  This new auto.net places that entry at the end, purely by
Jeffrey E. Moyer af2456
  luck, but it fixes the problem in this one case.
Jeffrey E. Moyer af2456
Jeffrey E. Moyer 5a8c05
* Thu Mar 31 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-119
Jeffrey E. Moyer 5a8c05
- Merge in the multi-over patch.  This resolves an issue whereby multimounts
Jeffrey E. Moyer 5a8c05
  (such as those used for /net) could be processed in the wrong order,
Jeffrey E. Moyer 5a8c05
  resulting in directories not showing up in a multimount tree.  The fix
Jeffrey E. Moyer 5a8c05
  is to process these directories in order, shortest to longer path.
Jeffrey E. Moyer 5a8c05
Chris Feist 29f154
* Wed Mar 23 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-115
Chris Feist 29f154
- Fixed regression causing any entries after a wildcard in an
Chris Feist 29f154
  indirect map to be ignored. (bz #151668).
Chris Feist 29f154
- Fixed regression which caused local hosts to be mount instead
Chris Feist 29f154
  of --bind local directories. (bz #146887)
Chris Feist 29f154
Chris Feist 1dd1df
* Thu Mar 17 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-111
Chris Feist 1dd1df
- Fixed one off bug in the submount-variable-propagation patch.
Chris Feist 1dd1df
  (bz #143074)
Chris Feist 1dd1df
- Fixed a bug in the init script which wouldn't find the -browse
Chris Feist 1dd1df
  option if it was preceded by another option. (fz #113494)
Chris Feist 1dd1df
Chris Feist 1dd1df
* Mon Feb 28 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-100
Chris Feist 683cc3
- When using ldap if auto.master doesn't exist we now check for auto_master.
Chris Feist 683cc3
  Addresses bz #130079
Chris Feist 683cc3
- When using an auto.smb map we now remove the leading ':' from the path which
Chris Feist 683cc3
  caused mount to fail in the past.  Addresses bz #147492
Chris Feist 683cc3
- Autofs now checks /etc/nsswitch.conf to determine in what order files & nis
Chris Feist 683cc3
  are checked when looking up autofs submount maps which don't specify a
Chris Feist 683cc3
  maptype.  Addresses IT #57612.
Chris Feist 683cc3
Jeffrey E. Moyer 0dd38d
* Mon Feb 14 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-99
Jeffrey E. Moyer 0dd38d
- Change Copyright to License in the spec file so it will build.
Jeffrey E. Moyer 0dd38d
Jeffrey E. Moyer 4753e9
* Fri Feb 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-98
Jeffrey E. Moyer 4753e9
- Program maps can repeat the last character of output.  Fix this.  
Jeffrey E. Moyer 4753e9
  Addresses bz #138606
Jeffrey E. Moyer 4753e9
- Return first entry when there are duplicate keys in a map.  Addresses
Jeffrey E. Moyer 4753e9
  bz #140108.
Jeffrey E. Moyer 4753e9
- Propagate custom map variables to submounts.  Fixes bz #143074.
Jeffrey E. Moyer 4753e9
- Create a sysconfig variable to control whether we source only one master
Jeffrey E. Moyer 4753e9
  map (the way sun does), or source all maps found (which is the default for
Jeffrey E. Moyer 4753e9
  backwards compatibility).  Addresses bz #143126.
Jeffrey E. Moyer 4753e9
- Revised version of the get_best_mount patch. (#146887) cfeist@redhat.com
Jeffrey E. Moyer 4753e9
  The previous patch introduced a regression.  Non-replicated mounts would
Jeffrey E. Moyer 4753e9
  not have the white space stripped from the entry and the mount would fail.
Jeffrey E. Moyer 4753e9
- Handle comment characters in the middle of the automount line in
Jeffrey E. Moyer 4753e9
  /etc/nsswitch.conf.  Addresses bz #127457.
Jeffrey E. Moyer 4753e9
Chris Feist 729c34
* Wed Feb  2 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-94
Chris Feist 729c34
- Stop automount from pinging hosts if there is only one host (#146887)
Chris Feist 729c34
Jeffrey E. Moyer 8dfdcb
* Wed Feb  2 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-90
Jeffrey E. Moyer 8dfdcb
- Fix potential double free in cache_release.  This bug showed up in a
Jeffrey E. Moyer 8dfdcb
  multi-map setup.  Two calls to cache_release would result in a SIGSEGV,
Jeffrey E. Moyer 8dfdcb
  and the automount process would never exit.
Jeffrey E. Moyer 8dfdcb
Chris Feist 08d4cd
* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 1:4.3-82
Chris Feist 08d4cd
- Fixed documentation so users know that any local mounts override
Chris Feist 08d4cd
  any other weighted mount.
Chris Feist 08d4cd
Chris Feist 7110bd
* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 1:4.3-80
Chris Feist 7110bd
- Added a variable to determine if we created the directory or not
Chris Feist 7110bd
  so we don't accidently remove a directory that we didn't create when
Chris Feist 7110bd
  we stop autofs.  (bz #134399)
Chris Feist 7110bd
Jeffrey E. Moyer 5b1017
* Tue Jan 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-76
Jeffrey E. Moyer 5b1017
- Fix the large program map patch.
Jeffrey E. Moyer 5b1017
Jeffrey E. Moyer a36abf
* Tue Jan 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-75
Jeffrey E. Moyer a36abf
- Fix some merging breakages that caused the package not to build.
Jeffrey E. Moyer a36abf
Jeffrey E. Moyer d2248d
* Thu Jan  6 2005  <jmoyer@redhat.com> - 1:4.1.3-74
Jeffrey E. Moyer d2248d
- Add in the map expiry patch
Jeffrey E. Moyer d2248d
- Bring in other patches that have been committed to other branches. This 
Jeffrey E. Moyer d2248d
  version should now contain all fixes we have to date
Jeffrey E. Moyer d2248d
- Merge conflicts due to map expiry changes
Jeffrey E. Moyer d2248d
Jeffrey E. Moyer 686ab1
* Fri Nov 19 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-57
Jeffrey E. Moyer 686ab1
- Pass a socket into clntudp_bufcreate so that we don't use up additional 
Jeffrey E. Moyer 686ab1
  reserved ports.  This patch, along with the socket leak fix, addresses
Jeffrey E. Moyer 686ab1
  bz #128966.
Jeffrey E. Moyer 686ab1
Jeffrey E. Moyer de7fb1
* Wed Nov 17 2004  <jmoyer@redhat.com> - 1:4.1.3-56
Jeffrey E. Moyer de7fb1
- Somehow the -browse patch either didn't get committed or got reverted.
Jeffrey E. Moyer de7fb1
  Fixed.
Jeffrey E. Moyer de7fb1
Jeffrey E. Moyer 3f51af
* Tue Nov 16 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-55
Jeffrey E. Moyer a1c855
- Fix program maps so that they can have gt 4k characters. (Neil Horman)
Jeffrey E. Moyer a1c855
  Addresses bz #138994.
Jeffrey E. Moyer a1c855
- Add a space after the colon here "Starting automounter:" in init script.
Jeffrey E. Moyer a1c855
  Fixes bz #138513.
Jeffrey E. Moyer de7fb1
Jeffrey E. Moyer e651f6
* Mon Nov 15 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-53
Jeffrey E. Moyer e651f6
- Make autofs understand -[no]browse.  Addresses fz #113494.
Jeffrey E. Moyer e651f6
Jeffrey E. Moyer f3b186
* Thu Nov 11 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-48
Jeffrey E. Moyer f3b186
- Fix the umount loop device function in the init script.
Jeffrey E. Moyer f3b186
Chris Feist 3bdbde
* Wed Oct 27 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-34
Chris Feist 3bdbde
- Added a patch to fix the automounter failing on ldap maps
Chris Feist 3bdbde
  when it couldn't get the whole map.  (ie. when the search
Chris Feist 3bdbde
  limit was lower than the number of results)
Chris Feist 3bdbde
Chris Feist 5b8672
* Thu Oct 21 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-32
Chris Feist 5b8672
- Fixed the use of +ypmapname so the maps included with +ypmapname
Chris Feist 5b8672
  are used in the correct order.  (In the past the '+' entries
Chris Feist 5b8672
  were always processed after local entries.)
Chris Feist 5b8672
Chris Feist 5570c4
* Thu Oct 21 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-31
Chris Feist 5570c4
- Fixed the duplicate map detection code to detect if maps try
Chris Feist 5570c4
  to mount on top of existing maps. 
Chris Feist 5570c4
Chris Feist 7882f1
* Wed Oct 20 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-29
Chris Feist 7882f1
- Fixed a problem with backwards compatability. Specifying local
Chris Feist 7882f1
  maps without '/etc/' prepended to them now works. (bz #136038)
Chris Feist 7882f1
Chris Feist 1ddc9b
* Fri Oct 15 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-28
Chris Feist 7882f1
- Fixed a bug which caused directories to never be unmounted. (bz #134403)
Chris Feist 1ddc9b
Chris Feist 59f6ad
* Thu Oct 14 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-27
Chris Feist 59f6ad
- Fixed an error in the init script which caused duplicate entries to be
Chris Feist 59f6ad
  displayed when asking for autofs status.
Chris Feist 59f6ad
Jeffrey E. Moyer caa5a6
* Fri Oct  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-22
Jeffrey E. Moyer caa5a6
- Comment out map expiry (and related) patch for an FC3 build.
Jeffrey E. Moyer caa5a6
Jeffrey E. Moyer 8d613b
* Thu Sep 23 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-21
Jeffrey E. Moyer 8d613b
- Make local options apply to all maps in a multi-map entry.
Jeffrey E. Moyer 8d613b
Jeffrey E. Moyer 2f5c56
* Tue Sep 21 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-20
Jeffrey E. Moyer 1f5583
- Merged my and Ian's socket leak fixes into one, smaller patch. Only
Jeffrey E. Moyer 1f5583
  partially addresses bz #128966.
Jeffrey E. Moyer 1f5583
- Fix some more echo lines for internationalization. bz #77820
Jeffrey E. Moyer 1f5583
- Revert the only one auto.master patch until we implement the +auto_master
Jeffrey E. Moyer 1f5583
  syntax.  Temporarily addresses bz #133055.
Jeffrey E. Moyer 2f5c56
Jeffrey E. Moyer 581c89
* Thu Sep  2 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-18
Jeffrey E. Moyer 581c89
- Umount loopback filesystems under automount points when stopping the 
Jeffrey E. Moyer 581c89
  automounter.
Jeffrey E. Moyer 581c89
- Uncomment the map expiry patch.
Jeffrey E. Moyer 581c89
- change a close to an fclose in lookup_file.c
Jeffrey E. Moyer 581c89
cvsdist ead9ef
* Tue Aug 31 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-17
cvsdist ead9ef
- Add patch to support parsing nsswitch.conf to determine map sources.
cvsdist ead9ef
- Disable this patch, and Ian's map expiry patch for a FC build.
cvsdist ead9ef
cvsdist ead9ef
* Tue Aug 24 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-16
cvsdist ead9ef
- Version 3 of Ian's map expiry changes.
cvsdist ead9ef
cvsdist ead9ef
* Wed Aug 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-15
cvsdist ead9ef
- Fix a socket leak in the rpc_subs, causing mounts to fail since we are 
cvsdist ead9ef
  running out of port space fairly quickly.
cvsdist ead9ef
cvsdist ead9ef
* Wed Aug 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-14
cvsdist ead9ef
- New map expiry patch from Ian.
cvsdist ead9ef
- Fix a couple signal races.  No known problem reports of these, but they
cvsdist ead9ef
  are holes, none-the-less.
cvsdist ead9ef
cvsdist ead9ef
* Tue Aug 10 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-13
cvsdist ead9ef
- Only read one auto.master map (instead of concatenating all found sources).
cvsdist ead9ef
- Uncomment Ian's experimental mount expiry patch.
cvsdist ead9ef
cvsdist ead9ef
* Fri Aug  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-12
cvsdist ead9ef
- Add a sysconfig entry to disable direct map support, and set this to 
cvsdist ead9ef
  1 by default.
cvsdist ead9ef
- Disable the beta map expiry logic so I can build into a stable distro.
cvsdist ead9ef
- Add defaults for all of the sysconfig variables to the init script so 
cvsdist ead9ef
  we don't trip over user errors (i.e. deleting /etc/sysconfig/autofs).
cvsdist ead9ef
cvsdist 827133
* Wed Aug  4 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-11
cvsdist 827133
- Add beta map expiry code for wider testing. (Ian Kent)
cvsdist 827133
- Fix check for ghosting option.  I forgot to check for it in DAEMONOPTIONS.
cvsdist 827133
- Remove STRIPDASH from /etc/sysconfig/autofs
cvsdist 827133
cvsdist d9acc2
* Mon Jul 12 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-10
cvsdist d9acc2
- Add bad chdir patch from Ian Kent.
cvsdist d9acc2
- Add a typo fix for the mtab lock file.
cvsdist d9acc2
- Nuke the stripdash patch.  It didn't solve a problem.
cvsdist d9acc2
cvsdist d9acc2
* Tue Jun 22 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-9
cvsdist d9acc2
- Bump revison for inclusion in RHEL 3.
cvsdist d9acc2
cvsdist f136c3
* Mon Jun 21 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-8
cvsdist f136c3
- Change icmp ping to an rpc ping.  (Ian Kent)
cvsdist f136c3
- Fix i18n patch
cvsdist f136c3
  o Remove the extra \" from one echo line.
cvsdist f136c3
  o Use echo -e if we are going to do a \n in the echo string.
cvsdist f136c3
cvsdist 733a36
* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
cvsdist b01a5c
- Fixed i18n bug #107463
cvsdist b01a5c
cvsdist b01a5c
* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
cvsdist 733a36
- Fixed i18n bug #107461
cvsdist 733a36
cvsdist 2ab164
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2ab164
- rebuilt
cvsdist 2ab164
cvsdist 2ab164
* Sat Jun  5 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-4
cvsdist 2ab164
- Perform an icmp ping request before rpc_pings, since the rpc clnt_create
cvsdist 2ab164
  function has a builtin default timeout of 60 seconds.  This could result
cvsdist 2ab164
  in a long delay when a server in a replicated mount setup is down.
cvsdist 2ab164
- For non-replicated server entries, ping a host before attempting to mount.
cvsdist 2ab164
  (Ian Kent)
cvsdist f136c3
- Change to %%configure.
cvsdist 2ab164
- Put version-release into .version to allow for automount --version to
cvsdist 2ab164
  print exact info.
cvsdist 2ab164
- Nuke my get-best-mount patch which always uses the long timeout.  This
cvsdist 2ab164
  should no longer be needed.
cvsdist 2ab164
- Put name into changelog entries to make them consistent.  Add e:n-v-r
cvsdist 2ab164
  into Florian's entry.
cvsdist 2ab164
- Stop autofs before uninstalling
cvsdist 2ab164
cvsdist 2ab164
* Sat Jun 05 2004 Florian La Roche <Florian.LaRoche@redhat.de> - 1:4.1.3-3
cvsdist 2ab164
- add a preun script to remove autofs
cvsdist 2ab164
cvsdist 2ab164
* Tue Jun  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-2
cvsdist 2ab164
- Incorporate patch from Ian which fixes an infinite loop seen by those
cvsdist 2ab164
  running older versions of the kernel patches (triggered by non-strict mounts
cvsdist 2ab164
  being the default).
cvsdist 2ab164
cvsdist 2ab164
* Tue Jun  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-1
cvsdist 2ab164
- Update to upstream 4.1.3.
cvsdist 2ab164
cvsdist 2ab164
* Thu May  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-6
cvsdist 2ab164
- The lookup_yp module only dealt with YPERR_KEY, all other errors were 
cvsdist 2ab164
  treated as success.  As a result, if the ypdomain was not bound, the 
cvsdist 2ab164
  subprocess that starts mounts would SIGSEGV.  This is now fixed.
cvsdist 2ab164
- Option parsing in the init script was not precise enough, sometimes matching
cvsdist 2ab164
  filesystem options to one of --ghost, --timeout, --verbose, or --debug.  
cvsdist 2ab164
  The option-parsing patch addresses this issue by making the regexp's much
cvsdist 2ab164
  more precise.
cvsdist 2ab164
- Ian has rolled a third version of the replicated mount fixes.
cvsdist 2ab164
cvsdist 2ab164
* Tue May  4 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-5
cvsdist 2ab164
- Ian has a new fix for replicated server and multi-mounts.  Updated the 
cvsdist 2ab164
  patch for testing.  Still beta.  (Ian Kent)
cvsdist 2ab164
cvsdist 2ab164
* Mon May  3 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-4
cvsdist 2ab164
- Fix broken multi-mounts.  test patch.  (Ian Kent)
cvsdist 2ab164
cvsdist 2ab164
* Tue Apr 20 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-3
cvsdist 2ab164
- Fix a call to spawnl which forgot to specify a lock file. (nphilipp)
cvsdist 2ab164
cvsdist ee03ea
* Wed Apr 14 2004  <jmoyer@redhat.com> - 1:4.1.2-2
cvsdist ee03ea
- Pass --libdir= to ./configure so we get this right on 64 bit platforms that 
cvsdist ee03ea
  support backwards compat.
cvsdist ee03ea
cvsdist ee03ea
* Wed Apr 14 2004  Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-1
cvsdist ee03ea
- Change hard-coded paths in the spec file to the %{_xxx} variety.
cvsdist ee03ea
- Update to upstream 4.1.2.
cvsdist ee03ea
- Add a STRIPDASH option to /etc/sysconfig/autofs which allows for
cvsdist ee03ea
  compatibility with the Sun automounter options specification syntax in
cvsdist ee03ea
  auto.master.  See /etc/sysconfig/autofs for more information.  Addresses
cvsdist ee03ea
  bug 113950.
cvsdist ee03ea
cvsdist ee03ea
* Tue Apr  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-6
cvsdist ee03ea
- Add the /etc/sysconfig/autofs file, and supporting infrastructure in 
cvsdist ee03ea
  the init script.
cvsdist ee03ea
- Add support for UNDERSCORE_TO_DOT for those who want it.
cvsdist ee03ea
- We no longer own /net.  Move it to the filesystem package.
cvsdist ee03ea
cvsdist ee03ea
* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-5
cvsdist ee03ea
- Clarify documentation on direct maps.
cvsdist ee03ea
- Send automount daemons a HUP signal during reload.  This tells them to 
cvsdist ee03ea
  re-read maps (otherwise they use a cached version.  Patch from the autofs
cvsdist ee03ea
  maintainer.
cvsdist ee03ea
cvsdist ee03ea
* Mon Mar 22 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-4
cvsdist ee03ea
- Fix init script to print out failures where appropriate.
cvsdist ee03ea
- Build the automount daemon as a PIE.
cvsdist ee03ea
cvsdist c2d75c
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-3
cvsdist c2d75c
- Fix bug in get_best_mount, whereby if there is only one option, we 
cvsdist c2d75c
  choose nothing.  This is primarily due to the fact that we pass 0 in to
cvsdist c2d75c
  the get_best_mount function for the long timeout parameter.  So, we
cvsdist c2d75c
  timeout trying to contact our first and only server, and never retry.
cvsdist c2d75c
cvsdist c2d75c
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-2
cvsdist c2d75c
- Prevent startup if a mountpoint is already mounted.
cvsdist c2d75c
cvsdist c2d75c
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-1
cvsdist c2d75c
- Update to 4.1.1, as it fixes problems with wildcards that people are 
cvsdist c2d75c
  seeing quite a bit.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 17 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-8
cvsdist c2d75c
- Fix ldap init code to parse server name and options correctly.
cvsdist c2d75c
cvsdist c2d75c
* Tue Mar 16 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-7
cvsdist c2d75c
- Moved the freeing of ap.path to cleanup_exit, as we would otherwise 
cvsdist c2d75c
  reference an already-freed variable.
cvsdist c2d75c
cvsdist c2d75c
* Mon Mar 15 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-6
cvsdist c2d75c
- add %config(noreplace) for auto.* config files.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-5
cvsdist c2d75c
- make the init script only recognize redhat systems.  Nalin seems to remember
cvsdist c2d75c
  some arcane build system error that can be caused if we don't do this.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-4
cvsdist c2d75c
- comment out /net and /misc from the default auto.master.  /net is important
cvsdist c2d75c
  since in a default shipping install, we can neatly co-exist with amd.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-3
cvsdist c2d75c
- Ported forward Red Hat's patches from 3.1.7 that were not already present
cvsdist c2d75c
  in 4.1.0.
cvsdist c2d75c
- Moving autofs from version 3.1.7 to 4.1.0
cvsdist c2d75c
cvsdist c2d75c
* Mon Sep 29 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Added work around for O(1) patch oddity.
cvsdist c2d75c
cvsdist c2d75c
* Sat Aug 17 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Fixed tree mounts.
cvsdist c2d75c
- Corrected transciption error in autofs4-2.4.18 kernel module
cvsdist c2d75c
cvsdist c2d75c
* Sun Aug 10 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Checked and merged most of the RedHat v3 patches
cvsdist c2d75c
- Fixed kernel module handling wu-ftpd login problem (again)
cvsdist c2d75c
cvsdist c2d75c
* Thu Aug 7 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Removed ineffective lock stuff
cvsdist c2d75c
- Added -n to bind mount to prevent mtab update error
cvsdist c2d75c
- Added retry to autofs umount to clean matb after fail
cvsdist c2d75c
- Redirected messages from above to debug log and added info message
cvsdist c2d75c
- Fixed autofs4 module reentrancy, pwd and chroot handling
cvsdist c2d75c
cvsdist c2d75c
* Wed Jul 30 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Fixed autofs4 ghosting patch for 2.4.19 and above (again)
cvsdist c2d75c
- Fixed autofs directory removal on failure of autofs mount
cvsdist c2d75c
- Fixed lock file wait function overlapping calls to (u)mount
cvsdist c2d75c
cvsdist c2d75c
* Sun Jul 27 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Implemented LDAP direct map handling for nisMap and automountMap schema
cvsdist c2d75c
- Fixed autofs4 ghosting patch for 2.4.19 and above (again)
cvsdist c2d75c
- Added locking to fix overlapping internal calls to (u)mount 
cvsdist c2d75c
- Added wait for mtab~ to improve tolerance of overlapping external calls to (u)mount
cvsdist c2d75c
- Fixed ghosted directory removal after failed mount attempt
cvsdist c2d75c
cvsdist c2d75c
* Wed May 28 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Cleaned up an restructured my added code
cvsdist c2d75c
- Corrected ghosting problem with 2.4.19 and above
cvsdist c2d75c
- Added autofs4 ghosting patch for 2.4.19 and above
cvsdist c2d75c
- Implemented HUP signal to force update of ghosted maps
cvsdist c2d75c
cvsdist c2d75c
* Mon Mar 23 2002 Ian Kent <ian.kent@pobox.com>
cvsdist c2d75c
- Add patch to implement directory ghosting and direct mounts
cvsdist c2d75c
- Add patch to for autofs4 module to support ghosting
cvsdist 0e6d8b
cvsdist 0e6d8b
* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0e6d8b
- use -fPIC instead of -fpic for modules and honor other RPM_OPT_FLAGS
cvsdist f128f4
cvsdist f128f4
* Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist f128f4
- enable hesiod support over libbind
cvsdist f128f4
cvsdist f128f4
* Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com>
cvsdist f128f4
- add patch from rth to avoid an infinite loop