Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 130701790bf2d95e902edf16031ff596 > files > 287

autofs-5.0.1-0.rc2.164.el5_8.src.rpm

#
# $Id$
#
Summary: A tool for automatically mounting and unmounting filesystems.
Name: autofs
%define version 5.0.1
%define release 0.rc2.164%{?dist}
Version: 5.0.1
Release: 0.rc2.164%{?dist}
Epoch: 1
License: GPL
Group: System Environment/Daemons
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}-rc2.tar.bz2
Patch0: autofs-5.0.1-rc2-handle-autofs-options.patch
Patch1: autofs-5.0.1-rc2-include-check-full-path.patch
Patch2: autofs-5.0.1-rc2-submount-cache-clean.patch
Patch3: autofs-5.0.1-rc2-ldap-noexist-rmdir.patch
Patch4: autofs-5.0.1-rc2-replicated-close-sock.patch
Patch5: autofs-5.0.1-rc2-remove-UNDERSCORETODOT.patch
Patch6: autofs-5.0.1-rc2-default-master-uses-hosts.patch
Patch7: autofs-5.0.1-rc2-included-map-recursive-key-lookup.patch
Patch8: autofs-5.0.1-rc2-master-map-reload-options-update.patch
Patch9: autofs-5.0.1-rc2-mount_nfs-use-fstype.patch
Patch10: autofs-5.0.1-rc2-get_query_dn-subtree.patch
Patch11: autofs-5.0.1-rc2-long-timout-option-use-space.patch
Patch12: autofs-5.0.1-rc2-masked_match-hostname-independent.patch
Patch13: autofs-5.0.1-rc2-nss-parse-fd-leak.patch
Patch14: autofs-5.0.1-rc2-request-memory-leak.patch
Patch15: autofs-5.0.1-rc2-cancelled-check.patch
Patch16: autofs-5.0.1-rc2-rpc_subs-fd-leak.patch
Patch17: autofs-5.0.1-rc2-included-map-lookup-fd-leak.patch
Patch18: autofs-5.0.1-rc2-nfs4-only-server.patch
Patch19: autofs-5.0.1-rc2-close-on-exec.patch
Patch20: autofs-5.0.1-rc2-numeric-ldap-host-name.patch
Patch21: autofs-5.0.1-rc2-get_query_dn-subtree-2.patch
Patch22: autofs-5.0.1-rc2-ldap-allow-extra-attrs.patch
Patch23: autofs-5.0.1-rc2-dont-create-remote-dirs.patch
Patch24: autofs-5.0.1-rc2-fix-master-parse-shift-reduce.patch
Patch25: autofs-5.0.1-rc2-macro-table-locking.patch
Patch26: autofs-5.0.1-rc2-nsswitch-parser-locking.patch
Patch27: autofs-5.0.1-rc2-one-master-map-read-only.patch
Patch28: autofs-5.0.1-rc2-misc-memory-leaks.patch
Patch29: autofs-5.0.1-rc2-check-fh-on-direct-mount-and-expire.patch
Patch30: autofs-5.0.1-rc2-recursive-bind-mount.patch
Patch31: autofs-5.0.1-rc2-require-kproto-v5.patch
Patch32: autofs-5.0.1-rc2-fix-manual-umount-regression.patch
Patch33: autofs-5.0.1-rc2-recursive-bind-mount-use-access-not-opendir.patch
Patch34: autofs-5.0.1-rc2-fix-catch-global-options.patch
Patch35: autofs-5.0.1-rc2-fix-incorrect-return-from-spawn.patch
Patch36: autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch
Patch37: autofs-5.0.1-rc2-fix-use-after-free.patch
Patch38: autofs-5.0.1-rc2-use-task-done.patch
Patch39: autofs-5.0.1-rc2-nfs4-get-port.patch
Patch40: autofs-5.0.1-rc2-fix-null-map-semantics.patch
Patch41: autofs-5.0.1-rc2-disallow-multiple-indirect-mounts.patch
Patch42: autofs-5.0.1-rc2-add-export-syntax-checks.patch
Patch43: autofs-5.0.1-rc2-hosts-check-exports-update.patch
Patch44: autofs-5.0.1-rc2-change-mount-device-to-map-name.patch
Patch45: autofs-5.0.1-rc2-afs-buffer-overflow-check.patch
Patch46: autofs-5.0.1-rc2-replace-tempnam.patch
Patch47: autofs-5.0.1-rc2-admit-slashify-colons.patch
Patch48: autofs-5.0.1-rc2-allow-underscore-in-hostname.patch
Patch49: autofs-5.0.1-rc2-set-socket-close-on-exec.patch
Patch50: autofs-5.0.1-rc2-fix-nonstrict-multi-mounts.patch
Patch51: autofs-5.0.1-rc2-disallow-multiple-indirect-mounts-fix.patch
Patch52: autofs-5.0.1-rc2-fix-typo-rmdir-temp.patch
Patch53: autofs-5.0.1-rc2-correct-expire-check.patch
Patch54: autofs-5.0.1-rc2-correct-offset-mount-busy-check.patch
Patch55: autofs-5.0.1-rc3-nsswitch-ignore-winbind.patch
Patch56: autofs-5.0.1-rc3-trailing-whitespace.patch
Patch57: autofs-5.0.1-rc3-match-export-fqdn.patch
Patch58: autofs-5.0.1-rc3-task-done-race-2.patch
Patch59: autofs-5.0.1-rc3-do_mkdir-return-status.patch
Patch60: autofs-5.0.1-rc3-proximity-local-handling.patch
Patch61: autofs-5.0.1-rc3-hosts-map-name.patch
Patch62: autofs-5.0.1-rc3-add-condrestart.patch
Patch63: autofs-5.0.1-rc3-check-user-info-return.patch
Patch64: autofs-5.0.1-rc3-consistent-dquote-handling.patch
Patch65: autofs-5.0.1-rc3-file-map-allow-white-space-only-line.patch
Patch66: autofs-5.0.1-rc3-random-selection.patch
Patch67: autofs-5.0.1-fix-browse-dir-create.patch
Patch68: autofs-5.0.1-map-update-source-only.patch
Patch69: autofs-5.0.1-conf-append-global.patch
Patch70: autofs-5.0.1-cmd-global-options.patch
Patch71: autofs-5.0.1-cmd-global-options-fix.patch
Patch72: autofs-5.0.1-disable-exports-check.patch
Patch73: autofs-5.0.1-rc2-bad-cast.patch
# Obsoleted by Patch117
#Patch74: autofs-5.0.1-check-mtab-updated.patch
Patch75: autofs-5.0.1-rc2-add-ldaps-support.patch
Patch76: autofs-5.0.1-allow-ldap-star-wild.patch
Patch77: autofs-5.0.1-alarm-deadlock.patch
Patch78: autofs-5.0.1-rc2-allow-dot-in-master-macro.patch
Patch79: autofs-5.0.1-rc2-add-missing-multi-support.patch
Patch80: autofs-5.0.1-rc2-add-multi-nsswitch-lookup.patch
Patch81: autofs-5.0.1-rc2-any-case-ldap-attr.patch
Patch82: autofs-5.0.1-rc2-consistent-random-selection-option-name.patch
Patch83: autofs-5.0.1-correct-logic-test-wild-lookup.patch
Patch84: autofs-5.0.2-swallow-null-macro.patch
Patch85: autofs-5.0.2-autofs-5-typo.patch
Patch86: autofs-5.0.2-default-nsswitch.patch
Patch87: autofs-5.0.2-fix-offset-dir-create.patch
Patch88: autofs-5.0.2-fix-dnattr-parse.patch
Patch89: autofs-5.0.2-fix-largefile-dumbness.patch
Patch90: autofs-5.0.1-doc-append_options.patch
Patch91: autofs-5.0.2-fix-mount-nfs-nosymlink.patch
Patch92: autofs-5.0.2-fix-nfs-version-in-get-supported-ver-and-cost.patch
Patch93: autofs-5.0.2-hi-res-time.patch
Patch94: autofs-5.0.2-instance-stale-mark.patch
Patch95: autofs-5.0.2-quote-exports.patch
Patch96: autofs-5.0.2-quoted-slash-alone.patch
Patch97: autofs-5.0.1-ldap-schema-discovery.patch
Patch98: autofs-5.0.2-random-selection-fix.patch
Patch99: autofs-5.0.2-timeout-option-parse-fix.patch
Patch100: autofs-5.0.2-ldap-percent-hack.patch
Patch101: autofs-5.0.2-ldap-check-star.patch
Patch102: autofs-5.0.1-drop-default-prefix-from-config.patch
Patch103: autofs-5.0.2-ldap-search-basedn-list.patch
Patch104: autofs-5.0.1-configure-cleanups.patch
Patch105: autofs-5.0.2-libxml2-workaround.patch
Patch106: autofs-5.0.2-reread-config-on-hup.patch
Patch107: autofs-5.0.2-add-multiple-server-selection-option.patch
Patch108: autofs-5.0.2-dont-fail-on-empty-master.patch
Patch109: autofs-5.0.2-foreground-logging.patch
Patch110: autofs-5.0.2-cleanup-krb5-comment.patch
Patch111: autofs-5.0.2-submount-deadlock.patch
Patch112: autofs-5.0.2-remove-unsed-export-validation-code.patch
Patch113: autofs-5.0.2-add-ferror-check.patch
Patch114: autofs-5.0.2-dynamic-logging.patch
Patch115: autofs-5.0.2-log-map-reload.patch
Patch116: autofs-5.0.2-basedn-with-spaces.patch
Patch117: autofs-5.0.2-check-mtab-updated.patch
Patch118: autofs-5.0.2-check-auto_master.patch
Patch119: autofs-5.0.2-add-ldap-schema-discovery-fix-2.patch
Patch120: autofs-5.0.2-negative-timeout-update.patch
Patch121: autofs-5.0.2-large-groups.patch
Patch122: autofs-5.0.2-report-failed-lookups.patch
Patch123: autofs-5.0.2-dynamic-logging-non-sasl.patch
Patch124: autofs-5.0.2-check-mtab-updated-fix.patch
Patch125: autofs-5.0.2-singleton-host-list.patch
Patch126: autofs-5.0.2-fix-off-by-one-lookup.patch
Patch127: autofs-5.0.2-improve-server-unavail.patch
Patch128: autofs-5.0.2-hosts-nosuid-default.patch
Patch129: autofs-5.0.2-add-multiple-server-selection-option-fix.patch
Patch130: autofs-5.0.2-external-cred-cache.patch
Patch131: autofs-5.0.2-percent-hack-fix.patch
Patch132: autofs-5.0.2-quote-exports-fix.patch
Patch133: autofs-5.0.2-quell-mount-module-message.patch
Patch134: autofs-5.0.2-improve-server-unavail-fix.patch
Patch135: autofs-5.0.2-hosts-nodev-default.patch
Patch136: autofs-5.0.2-instance-stale-mark-update.patch
Patch137: autofs-5.0.2-submount-shutdown-race.patch
Patch138: autofs-5.0.2-ldap-search-basedn-list-fix.patch
Patch139: autofs-5.0.3-dont-fail-on-empty-master-fix-2.patch
Patch140: autofs-5.0.2-instance-stale-mark-fix.patch
Patch141: autofs-5.0.1-init-cb-on-load.patch
Patch142: autofs-5.0.1-mount-thread-create-cond-handling.patch
Patch143: autofs-5.0.3-mount-thread-create-cond-handling-fix.patch
Patch144: autofs-5.0.3-check-for-kernel-automount.patch
Patch145: autofs-5.0.1-dont-abuse-ap-ghost-field.patch
Patch146: autofs-5.0.3-fix-included-browse-map-not-found.patch
Patch147: autofs-5.0.3-clear-stale-on-map-read.patch
Patch148: autofs-5.0.1-refactor-mount-request-vars.patch
Patch149: autofs-5.0.3-make-handle_mounts-startup-cond-distinct.patch
Patch150: autofs-5.0.1-submount-shutdown-recovery-12.patch
Patch151: autofs-5.0.1-dont-block-on-expire.patch
Patch152: autofs-5.0.3-add-umount_wait-parameter.patch
Patch153: autofs-5.0.1-fix-multi-mount-race.patch
Patch154: autofs-5.0.1-check-replicated-list-after-probe.patch
Patch155: autofs-5.0.1-map-type-in-map-name.patch
Patch156: autofs-5.0.1-add-replicated-debug-logging.patch
Patch157: autofs-5.0.1-update-replicated-doco.patch
Patch158: autofs-5.0.1-use-dev-urandom.patch
Patch159: autofs-5.0.1-handle-zero-length-nis-key.patch
Patch160: autofs-5.0.1-nss-source-any.patch
Patch161: autofs-5.0.1-set-pwd-on-prog-map-exec.patch
Patch162: autofs-5.0.1-xfn-not-supported.patch
Patch163: autofs-5.0.1-mtab-as-proc-mounts.patch
Patch164: autofs-5.0.1-fix-ifc-buff-size.patch
Patch165: autofs-5.0.1-fix-percent-hack.patch
Patch166: autofs-5.0.3-fix-ifc-buff-size-fix.patch
Patch167: autofs-5.0.3-fix-ifc-buff-size-fix-2.patch
Patch168: autofs-5.0.1-lookup-next-soucre-stale-entry.patch
Patch169: autofs-5.0.3-check-for-kernel-automount-fix.patch
Patch170: autofs-5.0.1-fix-fd-leak-at-multi-mount-fail.patch
Patch171: autofs-5.0.1-fix-incorrect-multi-mount-mountpoint.patch
Patch172: autofs-5.0.1-map-type-in-map-name-fix.patch
Patch173: autofs-5.0.3-dont-readmap-on-hup-for-new-mount.patch
Patch174: autofs-5.0.3-nisplus-partial-and-free.patch
Patch175: autofs-5.0.3-fix-rootless-direct-multi-mount-expire.patch
Patch176: autofs-5.0.3-wait-submount-expire-complete.patch
Patch177: autofs-5.0.1-expire-specific-submount-only.patch
Patch178: autofs-5.0.1-uris-list-locking-fix-final.patch
Patch179: autofs-5.0.1-renew-sasl-creds-upon-reconnect-fail.patch
Patch180: autofs-5.0.1-fix-multi-source-messages.patch
Patch181: autofs-5.0.1-fix-negative-cache-non-existent-key.patch
Patch182: autofs-5.0.1-library-reload-fix.patch
Patch183: autofs-5.0.1-library-reload-fix-update.patch
Patch184: autofs-5.0.4-libxml2-workaround-fix.patch
Patch185: autofs-5.0.1-start-pipe-buff-size.patch
Patch186: autofs-5.0.1-fix-return-start-status-on-fail.patch
Patch187: autofs-5.0.1-fix-select-fd-limit.patch
Patch188: autofs-5.0.4-make-hash-table-scale-to-thousands-of-entries.patch
Patch189: autofs-5.0.1-always-read-file-maps.patch
Patch190: autofs-5.0.1-fix-double-free-in-expire_proc.patch
Patch191: autofs-5.0.1-device-node-control.patch
Patch192: autofs-5.0.1-active-restart.patch
Patch193: autofs-5.0.1-make-is_mounted-use-dev-ioctl.patch
Patch194: autofs-5.0.1-force-unlink-umount.patch
Patch195: autofs-5.0.1-use-misc-device.patch
Patch196: autofs-5.0.1-add-restorecon-for-autofs-misc-device.patch
Patch197: autofs-5.0.1-use-intr-as-hosts-mount-default.patch
Patch198: autofs-5.0.1-fix-bad-token-declare.patch
Patch199: autofs-5.0.1-clear-rpc-client-on-lookup-fail.patch
Patch200: autofs-5.0.1-use-percent-hack-for-master.patch
Patch201: autofs-5.0.1-lookup_prune_cache-fixes.patch
Patch202: autofs-5.0.1-dont-umount-existing-direct-mount-on-reread.patch
Patch203: autofs-5.0.1-fix-st_remove_tasks-locking.patch
Patch204: autofs-5.0.1-clear-flex-buff-before-scan.patch
Patch205: autofs-5.0.1-init-fd-on-rpc-create.patch
Patch206: autofs-5.0.1-remove-redundant-dns-name-lookups.patch
Patch207: autofs-5.0.1-always-read-file-maps-multi-map-fix.patch
Patch208: autofs-5.0.1-always-read-file-maps-key-lookup-fixes.patch
Patch209: autofs-5.0.1-use-srv-query-for-domain-dn.patch
Patch210: autofs-5.0.1-library-reload-fix-update-fix-2.patch
Patch211: autofs-5.0.1-fix-double-free-in-do_sasl_bind.patch
Patch212: autofs-5.0.1-fix-pthread-push-order-in-expire_proc_direct.patch
Patch213: autofs-5.0.1-fix-libxml2-non-thread-safe-calls.patch
Patch214: autofs-5.0.1-fix-direct-map-cache-locking.patch
Patch215: autofs-5.0.1-fix-dont-umount-existing-direct-mount-on-reread.patch
Patch216: autofs-5.0.1-fix-included-map-read-fail-handling.patch
Patch217: autofs-5.0.1-add-mount-wait-parameter.patch
Patch218: autofs-5.0.1-allow-sshfs-location.patch
Patch219: autofs-5.0.1-hsterror.patch
Patch220: autofs-5.0.1-fix-typo-in-init-script.patch
Patch221: autofs-5.0.1-fix-timeout-in-connect_nb.patch
Patch222: autofs-5.0.1-check-for-path-mount-location-in-generic-module.patch
Patch223: autofs-5.0.1-dont-fail-mount-on-access-fail.patch
Patch224: autofs-5.0.1-refactor-ldap-sasl-bind.patch
Patch225: autofs-5.0.1-fix-pidof-init-script-usage.patch
Patch226: autofs-5.0.1-fix-memory-leak-on-reload.patch
Patch227: autofs-5.0.1-dont-connect-at-ldap-lookup-module-init.patch
Patch228: autofs-5.0.1-fix-random-selection-option.patch
Patch229: autofs-5.0.1-fix-disable-timeout.patch
Patch230: autofs-5.0.1-fix-reconnect-get-base-dn.patch
Patch231: autofs-5.0.1-add-sasl-mutex-callbacks.patch
Patch232: autofs-5.0.1-fix-get-qdn-fail.patch
Patch233: autofs-5.0.1-fix-negative-cache-included-map-lookup.patch
Patch234: autofs-5.0.1-expire-thread-create-cond-handling.patch
Patch235: autofs-5.0.1-expire-thread-use-pending-mutex.patch
Patch236: autofs-5.0.1-add-external-bind-method.patch
Patch237: autofs-5.0.1-fix-parse_sun-module-init.patch
Patch238: autofs-5.0.1-dont-check-null-cache-on-expire.patch
Patch239: autofs-5.0.1-fix-null-cache-race.patch
Patch240: autofs-5.0.1-fix-cache_init-on-source-re-read.patch
Patch241: autofs-5.0.1-fix-remount-locking.patch
Patch242: autofs-5.0.1-fix-wildcard-map-entry-match.patch
Patch243: autofs-5.0.1-add-locality-as-valid-ldap-master-map-attribute.patch
Patch244: autofs-5.0.1-mapent-becomes-negative-during-lookup.patch
Patch245: autofs-5.0.1-ldap-page-control.patch
Patch246: autofs-5.0.1-ldap-page-control-configure-fix.patch
Patch247: autofs-5.0.1-auto-adjust-ldap-page-size.patch
Patch248: autofs-5.0.1-fix-ampersand-escape-in-auto-smb.patch
Patch249: autofs-5.0.1-dont-hold-lock-for-simple-mounts.patch
Patch250: autofs-5.0.1-special-case-cifs-escapes.patch
Patch251: autofs-5.0.1-fix-random-selection-for-host-on-different-network.patch
Patch252: autofs-5.0.1-use-use-weight-only-for-server-selection.patch
Patch253: autofs-5.0.1-include-ip-address-in-debug-logging.patch
Patch254: autofs-5.0.1-mount-using-address-for-rr.patch
Patch255: autofs-5.0.1-handle-colon-in-lustre-failover-mounts.patch
Patch256: autofs-5.0.1-add-simple-bind-auth.patch
Patch257: autofs-5.0.1-fix-direct-map-not-updating-on-reread.patch
Patch258: autofs-5.0.1-fix-stale-map-read.patch
Patch259: autofs-5.0.1-fix-isspace-wild-card-substition.patch
Patch260: autofs-5.0.1-add-dump-maps-option.patch
Patch261: autofs-5.0.1-wait-for-master-source-mutex.patch
Patch262: autofs-5.0.1-add-base64-password-encode.patch
Patch263: autofs-5.0.1-automount-8-man-page-correction.patch
Patch264: autofs-5.0.1-fix-paged-ldap-map-read.patch
Patch265: autofs-5.0.1-reset-negative-status-on-cache-prune.patch
Patch266: autofs-5.0.1-fix-null-cache-clean.patch
Patch267: autofs-5.0.1-fix-name-list-check.patch
Patch268: autofs-5.0.1-fix-prune-cache-valid-check.patch
Patch269: autofs-5.0.1-fix-map-source-check-in-file-lookup.patch
Patch270: autofs-5.0.1-fix-sanity-checks-for-brackets-in-server-name.patch
Patch271: autofs-5.0.1-fix-null-cache-deadlock.patch
Patch272: autofs-5.0.1-add-nobind-option.patch
Patch273: autofs-5.0.1-dont-bind-nfs-mount-if-nobind-is-set.patch
Patch274: autofs-5.0.1-fix-not-bind-mounting-local-filesystem.patch
Patch275: autofs-5.0.1-improve-mount-location-error-reporting.patch
Patch276: autofs-5.0.1-fix-paged-query-more-results-check.patch
Patch277: autofs-5.0.1-fix-LDAP-result-leaks-on-error-paths.patch
Patch278: autofs-5.0.1-fix-submount-shutdown-wait.patch
Patch279: autofs-5.0.1-fix-wait-for-master-source-mutex.patch
Patch280: autofs-5.0.1-fix-submount-shutdown-race.patch
Patch281: autofs-5.0.1-fix-dumpmaps-not-reading-maps.patch
Patch282: autofs-5.0.1-fix-fix-map-source-check-in-file-lookup.patch
Patch283: autofs-5.0.1-fix-bad-alloca-usage.patch
Patch284: autofs-5.0.1-fix-fix-wait-for-master-source-mutex.patch
Patch285: autofs-5.0.6-fix-improve-mount-location-error-reporting.patch
Buildroot: /var/tmp/autofs-tmp
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
Prereq: chkconfig
Conflicts: kernel < 2.6.17 cyrus-sasl-lib < 2.1.22-5.el5_4.3 
Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
Obsoletes: autofs-ldap autofs5
Summary(de): autofs daemon 
Summary(fr): démon autofs
Summary(tr): autofs sunucu süreci
Summary(sv): autofs-daemon

%description
autofs is a daemon which automatically mounts filesystems when you use
them, and unmounts them later when you are not using them.  This can
include network filesystems, CD-ROMs, floppies, and so forth.

%description -l de
autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie 
benutzt werden, und sie später bei Nichtbenutzung wieder demontiert. 
Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen. 

%description -l fr
autofs est un démon qui monte automatiquement les systèmes de fichiers
lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus. Cela
inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc.

%description -l tr
autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar
ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya
sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.

%description -l sv
autofs är en daemon som mountar filsystem när de använda, och senare
unmountar dem när de har varit oanvända en bestämd tid.  Detta kan
inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare.

%prep
%setup -q
echo %{version}-%{release} > .version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
%patch29 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%patch40 -p1
%patch41 -p1
%patch42 -p1
%patch43 -p1
%patch44 -p1
%patch45 -p1
%patch46 -p1
%patch47 -p1
%patch48 -p1
%patch49 -p1
%patch50 -p1
%patch51 -p1
%patch52 -p1
%patch53 -p1
%patch54 -p1
%patch55 -p1
%patch56 -p1
%patch57 -p1
%patch58 -p1
%patch59 -p1
%patch60 -p1
%patch61 -p1
%patch62 -p1
%patch63 -p1
%patch64 -p1
%patch65 -p1
%patch66 -p1
%patch67 -p1
%patch68 -p1
%patch69 -p1
%patch70 -p1
%patch71 -p1
%patch72 -p1
%patch73 -p1
# Obseleted by Patch117
#%patch74 -p1
%patch75 -p1
%patch76 -p1
%patch77 -p1
%patch78 -p1
%patch79 -p1
%patch80 -p1
%patch81 -p1
%patch82 -p1
%patch83 -p1
%patch84 -p1
%patch85 -p1
%patch86 -p1
%patch87 -p1
%patch88 -p1
%patch89 -p1
%patch90 -p1
%patch91 -p1
%patch92 -p1
%patch93 -p1
%patch94 -p1
%patch95 -p1
%patch96 -p1
%patch97 -p1
%patch98 -p1
%patch99 -p1
%patch100 -p1
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch104 -p1
%patch105 -p1
%patch106 -p1
%patch107 -p1
%patch108 -p1
%patch109 -p1
%patch110 -p1
%patch111 -p1
%patch112 -p1
%patch113 -p1
%patch114 -p1
%patch115 -p1
%patch116 -p1
%patch117 -p1
%patch118 -p1
%patch119 -p1
%patch120 -p1
%patch121 -p1
%patch122 -p1
%patch123 -p1
%patch124 -p1
%patch125 -p1
%patch126 -p1
%patch127 -p1
%patch128 -p1
%patch129 -p1
%patch130 -p1
%patch131 -p1
%patch132 -p1
%patch133 -p1
%patch134 -p1
%patch135 -p1
%patch136 -p1
%patch137 -p1
%patch138 -p1
%patch139 -p1
%patch140 -p1
%patch141 -p1
%patch142 -p1
%patch143 -p1
%patch144 -p1
%patch145 -p1
%patch146 -p1
%patch147 -p1
%patch148 -p1
%patch149 -p1
%patch150 -p1
%patch151 -p1
%patch152 -p1
%patch153 -p1
%patch154 -p1
%patch155 -p1
%patch156 -p1
%patch157 -p1
%patch158 -p1
%patch159 -p1
%patch160 -p1
%patch161 -p1
%patch162 -p1
%patch163 -p1
%patch164 -p1
%patch165 -p1
%patch166 -p1
%patch167 -p1
%patch168 -p1
%patch169 -p1
%patch170 -p1
%patch171 -p1
%patch172 -p1
%patch173 -p1
%patch174 -p1
%patch175 -p1
%patch176 -p1
%patch177 -p1
%patch178 -p1
%patch179 -p1
%patch180 -p1
%patch181 -p1
%patch182 -p1
%patch183 -p1
%patch184 -p1
%patch185 -p1
%patch186 -p1
%patch187 -p1
%patch188 -p1
%patch189 -p1
%patch190 -p1
%patch191 -p1
%patch192 -p1
%patch193 -p1
%patch194 -p1
%patch195 -p1
%patch196 -p1
%patch197 -p1
%patch198 -p1
%patch199 -p1
%patch200 -p1
%patch201 -p1
%patch202 -p1
%patch203 -p1
%patch204 -p1
%patch205 -p1
%patch206 -p1
%patch207 -p1
%patch208 -p1
%patch209 -p1
%patch210 -p1
%patch211 -p1
%patch212 -p1
%patch213 -p1
%patch214 -p1
%patch215 -p1
%patch216 -p1
%patch217 -p1
%patch218 -p1
%patch219 -p1
%patch220 -p1
%patch221 -p1
%patch222 -p1
%patch223 -p1
%patch224 -p1
%patch225 -p1
%patch226 -p1
%patch227 -p1
%patch228 -p1
%patch229 -p1
%patch230 -p1
%patch231 -p1
%patch232 -p1
%patch233 -p1
%patch234 -p1
%patch235 -p1
%patch236 -p1
%patch237 -p1
%patch238 -p1
%patch239 -p1
%patch240 -p1
%patch241 -p1
%patch242 -p1
%patch243 -p1
%patch244 -p1
%patch245 -p1
%patch246 -p1
%patch247 -p1
%patch248 -p1
%patch249 -p1
%patch250 -p1
%patch251 -p1
%patch252 -p1
%patch253 -p1
%patch254 -p1
%patch255 -p1
%patch256 -p1
%patch257 -p1
%patch258 -p1
%patch259 -p1
%patch260 -p1
%patch261 -p1
%patch262 -p1
%patch263 -p1
%patch264 -p1
%patch265 -p1
%patch266 -p1
%patch267 -p1
%patch268 -p1
%patch269 -p1
%patch270 -p1
%patch271 -p1
%patch272 -p1
%patch273 -p1
%patch274 -p1
%patch275 -p1
%patch276 -p1
%patch277 -p1
%patch278 -p1
%patch279 -p1
%patch280 -p1
%patch281 -p1
%patch282 -p1
%patch283 -p1
%patch284 -p1
%patch285 -p1

%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
%configure --disable-mount-locking --enable-ignore-busy
make initdir=/etc/rc.d/init.d DONTSTRIP=1

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
mkdir -p -m755 $RPM_BUILD_ROOT%{_sbindir}
mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/autofs
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
mkdir -p -m755 $RPM_BUILD_ROOT/etc/sysconfig

make install mandir=%{_mandir} initdir=/etc/rc.d/init.d INSTALLROOT=$RPM_BUILD_ROOT
make -C redhat
install -m 755 -d $RPM_BUILD_ROOT/misc
install -m 755 redhat/autofs.init $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
install -m 644 redhat/autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%post
chkconfig --add autofs

%postun
if [ $1 -ge 1 ] ; then
	/sbin/service autofs condrestart > /dev/null 2>&1 || :
fi

%preun
if [ "$1" = 0 ] ; then
	/sbin/service autofs stop > /dev/null 2>&1 || :
	/sbin/chkconfig --del autofs
fi
exit 0

%files
%defattr(-,root,root)
%doc CREDITS INSTALL COPY* README* patches/* samples/ldap* samples/autofs.schema
%doc 
%config /etc/rc.d/init.d/autofs
%config(noreplace,missingok) /etc/auto.master
%config(noreplace,missingok) /etc/auto.misc
%config(noreplace,missingok) /etc/auto.net
%config(noreplace,missingok) /etc/auto.smb
%config(noreplace) /etc/sysconfig/autofs
%config(noreplace) /etc/autofs_ldap_auth.conf
%dir /misc
%dir %{_libdir}/autofs
%{_sbindir}/automount
%{_mandir}/*/*
%{_libdir}/autofs/*

%changelog
* Mon Apr 9 2012 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.164.el5_8
- bz810126  - autofs-5.0.1-0.rc2.163.el5 fails to load some LDAP maps
  - fix improve mount location error reporting.
- Resolves: rhbz#810126

* Mon Jan 9 2012 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.163.el5
- bz655685 - automount deadlocking
  - fix fix wait for master source mutex.
- Related: rhbz#655685

* Wed Dec 7 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.162.el5
- bz759221 - automount is seg faulting regularly in lookup_ghost()
  - fix bad alloca usage.
- Resolves: rhbz#759221

* Fri Oct 28 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.161.el5
- bz747020 - autofs-5.0.1-0.rc2.156.el5_7.3 breaks indirect NIS maps
  - fix fix map source check in file lookup.
- Resolves: rhbz#747020

* Tue Oct 11 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.160.el5
- bz692814 - automount does not perform a sanity check of server name in configuration
  - correct patch name in spec file.
- bz700896 - autofs should support paged results from ldap server on ppc64 and s390x
  - correct patch names in spec file.
- Related: rhbz#692814 rhbz#700896

* Tue Oct 11 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.159.el5
- bz692814 - automount does not perform a sanity check of server name in configuration
  - fix sanity checks for brackets in server name.
- bz732332 - Lock ordering problem on re-load of direct maps
  - fix null cache deadlock.
- bz734675 - autofs does not use local mounts on non-replicated entries
  - add nobind option.
  - dont bind nfs mount if nobind is set.
  - fix not bind mounting local filesystem.
- bz700142 - autofs/automount error in mounting expanded entry
  - improve mount location error reporting.
- bz700896 - autofs should support paged results from ldap server on ppc64 and s390x
  - fix paged query more results check.
  - Fix LDAP result leaks on error paths.
- bz655685 - automount deadlocking
  - fix submount shutdown wait.
  - fix wait for master source mutex.
  - fix submount shutdown race.
- bz732334 - RFE: automounter to dump maps (fix)
  - fix dumpmaps not reading maps.
-Resolves: rhbz#692814 rhbz#732332 rhbz#734675 rhbz#700142 rhbz#700896
-Resolves: rhbz#655685 rhbz#732334

* Mon Oct 10 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.158.el5
- bz731514 - autofs mount access hangs after reload
- bz732333 - autofs fails to find duplicate key after key removal
  - fix prune cache valid check.
  - fix map source check in file lookup.
- Resolves: rhbz#731514 rhbz#732333

* Tue Sep 6 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.157.el5
- bz725536 - autofs mounts show IP rather than hostname after upgrade to RHEL 5.7
  - fix name list check
- Resolves: rhbz#725536

* Fri Apr 13 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.156.el5
- bz538408 - RFE: automounter to dump maps
  - allow dumping of maps when daemon is already running.
- bz547510 - [RFE] autofs should honor admin supplied server weights
  in maps
  - fix back port error adding replicated host to list.
- Related: rhbz#538408 rhbz#547510

* Thu Apr 7 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.155.el5
- bz563956 - autofs should support paged results from ldap server
  - fix paged ldap map read.
- bz519281 - [RFE] resolve negative cache invalidation on signal to automount
  - reset negative status on cache prune
- bz692524 - autofs with null maps specified in auto.master segfaults on reload
  - fix null cache clean
- Resolves: rhbz#519281 rhbz#692524
- Related: rhbz#563956

* Wed Mar 30 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.154.el5
- bz560124 - autofs-5.0.1-0.rc2.131.el5_4.1 is missing man 8 auto.master
  - automount(8) man page correction
- Resolves: rhbz#560124

* Wed Mar 30 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.153.el5
- bz610266 - [RFE] Support for encrypted secret in /etc/autofs_ldap_auth.conf
  - add base64 password encode
- Resolves: rhbz#610266

* Tue Mar 29 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.152.el5
- bz632006 - [RFE] Lustre MDT failover mountpoints fail to mount
  - handle colon in Lustre failover mounts
- bz579312 - autmount maps stored in LDAP can not be read using simple
  authenticated binds
  - add simple bind authentication 
- bz632471 - "service autofs reload" does not pick the updated entry
  from NIS autofs direct map
  - fix direct map not updating on reread.
  - fix stale map read.
- bz668354 - autofs handle isspace() char incorrectly
  - fix isspace() wild card substition.
- bz538408 - RFE: automounter to dump maps
  - add dump maps option.
- bz562703 - [RHEL 5.4] automounter dies with pthreads error
  - wait for master source mutex.
- Resolves: rhbz#632006 rhbz#579312 rhbz#632471 rhbz#668354 rhbz#538408
- Resolves: rhbz#562703

* Mon Mar 28 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.151.el5
- bz559796 - autofs cannot mount the folder name including "&"
  - fix ampersand escape in auto.smb.
- bz561213 - automount hangs with nested mounts using YP lookups
  - don't hold lock for simple mount.
- bz549607 - Autofs can not mount hidden share from windows server
  with auto.smb
  - special case cifs escapes.
- bz547510 - [RFE] autofs should honor admin supplied server weights
  in maps
  - fix random selection for host on different network.
  - use weight only for server selection.
- bz629357 - [RFE] Automounter debug mode should include IP addresses
  - include ip address in debug logging.
  - mount using address for rr.
- Resolves: rhbz#559796 rhbz#561213 rhbz#549607 rhbz#547510 rhbz#629357

* Mon Mar 28 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.150.el5
- bz570783 - Segmentation fault when looking up '*.'
  - fix wildcard map entry match.
- bz566481 - RFE: Add locality LDAP attribute to
  - add locality as valid ldap master map attribute.
- bz551599 - automount segfaults in lookup_mount
  - mapent becomes negative during lookup.
- bz563956 - autofs should support paged results from ldap server
  - add ldap page control handling.
  - ldap paged query configure fix.
  - auto adjust ldap page size.
- Resolves: rhbz#570783 rhbz#566481 rhbz#551599 rhbz#563956

* Wed Feb 9 2011 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.149.el5
- bz667273 - automount occasionally crashes with a lot of negative cache lookups
  - add fix remount locking patch.
- Resolves: rhbz#667273

* Fri Oct 29 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.148.el5
- Bug 576775 - autofs5: segfault in close_mount()
  - add mutex to serialize access to mount module handle in parse module.
  - dont check null cache on expire.
  - fix null cache race.
  - fix cache_init() on source re-read.
- Resolves: rhbz#576775

* Wed Aug 4 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.147.el5
- bz607785 - [RFE] include autofs support for SASL External authentication using
  certificates.
  - fix check authtype is non-null before comparison.
  - fix check ctxt->sasl_mech is non-null before comparison.
- Related: rhbz#607785

* Thu Jul 15 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.146.el5
- bz607785 - [RFE] include autofs support for SASL External authentication using
  certificates.
  - add external bind method.
  - add configuration entries for certificate path and certificate key path.
- Resolves: rhbz#607785

* Fri Jun 18 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.145.el5
- bz601935 - Race condition or other deadlocking issue on expire code path
  - fix incorrect pthreads condition handling for expire requests.
  - expire thread use pending mutex.
- Resolves: rhbz#601935

* Thu Apr 20 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.144.el5
- fix negative cache included map lookup.
- Resolves: rhbz#593378

* Tue Mar 16 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.143.el5
- correct cyrus-sasl-lib conflicts version.
- Related: rhbz#559430

* Fri Mar 12 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.142.el5
- fix get query dn failure, regression introduced in RHEL-5.5 development.
- Resolves: rhbz#572603

* Tue Mar 9 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.141.el5
- add cyrus-sasl-lib conflicts to ensure we have sasl with required fix.
- Related: rhbz#559430

* Mon Feb 22 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.140.el5
- add sasl mutex callbacks.
- Related: rhbz#559430

* Fri Feb 05 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.139.el5
- fix segfault upon reconnect cannot find valid base dn.
- Related: rhbz#543554

* Tue Jan 12 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.138.el5
- fix patch for "disable timeout" not applied (bz548277).
- Related: rhbz#548277

* Mon Jan 11 2010 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.137.el5
- fix disable timeout (bz548277).
- Resolves: rhbz#548277

* Thu Dec 24 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.136.el5
- fix error in patch causing segv at start (bz543554).
- fix random selection option (bz548746).
- Related: rhbz#543554
- Resolves: rhbz#548746

* Thu Dec 17 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.135.el5
- dont connect at ldap lookup module init (bz543554).
- Related: rhbz#543554

* Tue Dec 15 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.134.el5
- fix memory leak on reload (bz546133).
- Resolves: rhbz#546133

* Fri Nov 27 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.133.el5
- fix included map read fail handling (bz506034).
- add mount wait parameter (bz517349).
- allow for "#" and "@" in hostname validation for sshfs mounts (bz520745).
- fix incorrect host name lookup error message (bz533323).
- fix typo in init script (bz534012).
- fix timeout in connect_nb() (bz539747).
- check for path mount location in generic module (bz537403).
- dont fail mount on access fail (bz537403).
- refactor ldap sasl bind (bz537793).
- fix pidof init script usage (bz541144).
- Resolves: rhbz#506034 rhbz#517349 rhbz#520745 rhbz#533323 rhbz#534012
- Resolves: rhbz#539747 rhbz#537403 rhbz#537793 rhbz#541144

* Thu Sep 10 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.132.el5
- fix libxml2 non-thread-safe calls (bz513289).
- fix direct map cache locking (bz514412).
- fix dont umount existing direct mount on reread (bz514412).
- Resolves: rhbz#513289 rhbz#514412

* Wed Jul 29 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.131.el5
- also use actual package version instead of macro for Version tag.
- add dist tag to revision.
- Related: rhbz#471385

* Tue Jul 14 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.130
- fix suspected pthread_cleanup_push() call order issue.
- Resolves: rhbz#510530

* Wed Jun 3 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.129
- Bug 452122 - lazy umount causes pwd to fal silently
  - fix error in remount check to set mount point removal flag at umount.
- Related: rhbz#452122

* Wed Jun 3 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.128
- Bug 501612 - [5.3]automount aborts when automount accesses to ldap server.
  - add provided patch to resolve double free issue.
- Resolves: rhbz#501612

* Tue Jun 2 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.127
- Bug 482988 - CRM #1863906 automount segfaults at shutdown and reboot
  - fix not releasing mount resources at submount mount thread termination.
- Bug 493223 - Mounts aren't being auto expired correctly
  - drop manual umount improvement patch as it causes submount breakage.
  - this patch deosn't affect the fix for the root cause of this issue.
- Related: rhbz#493223 rhnz#482988

* Tue May 26 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.126
- Bug 452122 - lazy umount causes pwd to fal silently
  - fix inconsistent notify mount message path.
  - fix remount check to set mount point removal flag at umount, as best we can.
- Bug 493223 - Mounts aren't being auto expired correctly
  - check for the absence of a mount before doing the manual umount checks.
  - take map entry write lock before check so any mount requests are complete.
- Related: rhbz#452122 rhbz#493223

* Wed May 20 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.125
- Bug 490476 - RFE: autofs should DNS for SRV records in order to locate LDAP server
  - fix endianness.
- Related: rhbz#490476

* Wed May 20 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.124
- Bug 452122 - lazy umount causes pwd to fail silently
  - fix device node ioctl parameter passing type mismatch (evident on ppc).
- Related: rhbz#452122

* Wed May 20 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.123
- Bug 490476 - RFE: autofs should DNS for SRV records in order to locate LDAP server
  - fix incorrect free of dclist in find_server().
- Related: rhbz#490476

* Wed May 13 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.122
- Bug 490476 - RFE: autofs should DNS for SRV records in order to locate LDAP server
  - fix get dns name when needed for domain dn.
- Related: rhbz#490476

* Sun May 10 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.121
- Bug 490476 - RFE: autofs should DNS for SRV records in order to locate LDAP server
  - add RFE patch.
- Resolves: rhbz#490476

* Thu May 8 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.120
- Bug 487986 - autofs should always read file maps.
  - correction to always read file maps nonexistent key lookup fix.
  - always read file maps key lookup fix.
  - always read file maps key non existent key logging fix.
- Related: rhbz#487986

* Wed May 7 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.119
- Bug 487986 - autofs should always read file maps.
  - always read file maps multi map fix.
  - always read file maps nonexistent key lookup fix.
- Related: rhbz#487986

* Wed May 6 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.118
- Bug 493223 - Mounts aren't being auto expired correctly
  - fix incorrect cache unlock in manual umount improvement patch.
- Related: rhbz#493223

* Thu Apr 30 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.117
- Bug 482988 - CRM #1863906 automount segfaults at shutdown and reboot
  - fix shutdown signal processing regression introduced by this bug fix.
- Related: rhbz#482988

* Sun Apr 26 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.116
- Bug 482988 - CRM #1863906 automount segfaults at shutdown and reboot
  - fix reload signal processing regression introduced by this bug fix.
- Bug 493223 - Mounts aren't being auto expired correctly
  - fix initialization of fd on rpc create.
  - improve manual umount recovery
- Bug 495895 - autofs5: large number of DNS lookups for hostnames associated
  with multiple ip addresses
  - eliminate redundant DNS name lookups.
- Resolves: rhbz#493223 rhbz#495895
- Related: rhbz#482988

* Tue Apr 21 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.115
- Bug 452122 - lazy umount causes pwd to fail silently
  - fix parse bug discovered while testing active re-start.
- Related: rhbz#452122

* Thu Apr 16 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.114
- Bug 452122 - lazy umount causes pwd to fail silently
  - use misc device as default.
  - add restorecon for autofs misc device.
- Bug 466673 - RFE: Make "intr" default option for /net -hosts mounts
  - use "intr" as default option for hosts map unless overridden.
- Bug 487151 - Aufofs indirect mount timeout disabled on s390x
  - fix bad token declaration.
- Bug 491351 - automount segfault after lookup failure
  - clear rpc client on host name lookup fail.
- Bug 493074 - autofs5 duplicate entries (ldap percent hack)
  - use percent hack for master map keys.
- Bug 493791 - RHEL5.1 and erroneous autofs after reload
  - dont umount existing direct mount on master re-read.
- Bug 494319 - segfault in st_remove_tasks()
  - fix st_remove_tasks() locking.
- Resolves: rhbz#466673 rhbz#487151 rhbz#491351 rhbz#493074 rhbz#493791
- Resolves: rhbz#494319
- Related: rhbz#452122

* Wed Mar 18 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.113
- Bug 452122 -  lazy umount causes pwd to fail silently
  - add active restart patches.
- Related: rhbz#452122

* Tue Mar 17 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.112
- Bug 487986 - autofs should always read file maps.
  - fix file map lookup when reading included or nsswitch sources.
- Related: rhbz#487986

* Fri Mar 13 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.111
- Bug 469387 - DOS via autofs/yp - autofs consumes all ports < 1024
  - fix clear the quoted flag after each character.
- Related: rhbz#469387

* Thu Mar 12 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.110
- Bug 469387 - DOS via autofs/yp - autofs consumes all ports < 1024
  - remove redundant debug log call.
- Related: rhbz#469387

* Thu Mar 12 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.109
- Bug 489658 - autofs crashes because of double-free under heavy stress.
- Resolves: rhbz#489658

* Thu Mar 5 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.108
- Bug 487656 - Read and write size of startup status report buffer is incorrect
- Bug 244117 - service autofs start when the service is running does not return success
- Bug 487653 - Using a large number of direct mounts causes autofs to hang
  - convert select(2) to poll(2) to avoid 1024 file descriptor limit.
- Bug 487985 - The autofs cache lookup performs poorly for large maps.
- Bug 487986 - autofs should always read file maps.
- Resolves: rhbz#487656 rhbz#244117 rhbz#487653 rhbz#487985 rhbz#487986

* Thu Mar 5 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.107
- fix patches not actually applied for rev 106.
- Related: rhbz#469387 rhbz#482988

* Fri Feb 27 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.106
- Bug 469387 - DOS via autofs/yp - autofs consumes all ports < 1024
  - fix negative cache non-existent keys.
- Bug 482988 - CRM #1863906 automount segfaults at shutdown and reboot
  - prevent shared libraries from being unloaded at map re-read.
  - make sure main thread cannot exit until mount handling threads have completed.
  - add check for alternate libxml2 library name.
- Resolves: rhbz#469387 rhbz#482988

* Fri Feb 20 2009 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.105
- Bug 481139 - [RHEL 4] autofs5 SASL badness
  - LDAP uris list locking fix.
  - attempt to refresh Kerberos creds upon connect fail.
- initial commit to sync autofs (RHEL-5) with autofs5 (RHEL-4).
- Resolves: rhbz#481139

* Wed Dec 3 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.102
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - fix nested submount expire deadlock.
- Related: rhbz#439580

* Fri Oct 17 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.101
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - fix rootless direct multi-mount expire.
  - wait for submount shutdown completion.
- Related: rhbz#439580

* Thu Oct 16 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.100
- Bug 465809: automount issues with RHEL5 and NIS+ auto_home map containing wildcard
  - add patch to handle NIS_PARTIAL return when key not found.
- Resolves: rhbz#465809

* Wed Oct 8 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.99
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - replace state check patch with patch to not issue readmap on new mount
    during HUP signal processing.
- Related: rhbz#439580

* Wed Oct 8 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.98
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - Fix state checks now incorrect due to optimnizations in task queueing.
- Related: rhbz#439580

* Wed Oct 8 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.97
- Bug 435960: autofs with map file auto.nis not working.
  - Fix incorrect match of map type as a host name.
- Related: rhbz#435960

* Thu Sep 25 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.96
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - fix fd leak at multi-mount non-fatal mount fail.
  - fix incorrect multi-mount mountpoint calcualtion.
- Related: rhbz#439580

* Fri Sep 19 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.95
- Bug 448038: expire_indirect: fstat failed: Bad file descriptor
  - Look in the correct mount table for kernel automounted "nohide" mounts.
- Related: rhbz#448038

* Thu Sep 18 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.94
- Bug 458252: Autofs doesn't recognize the local host as local when using many interfaces
  - remember the maximum allocation size and use it in subsequent ifc buf allocations.
- Related: rhbz#458252

* Wed Sep 17 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.93
- Bug 448667: [RHEL4] autofs4 multi-map doesn't pickup NIS updates automatically
  - add patch to fix this issue in RHEL-5.
- Resolves: rhbz#448667

* Tue Sep 16 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.92
- Bug 443933: automount segfaults upon start
  - update patch to also check for single character non-printable map key.
- Related: rhbz#443933

* Tue Aug 26 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.91
- Bug 458252: Autofs doesn't recognize the local host as local when using many interfaces
  - add correction patch for setting of buffer length.
- Bug 457524: Automounter does not work in the diskless environment
  - update patch for this bug.
- Related: rhbz#458252 rhbz#457524

* Tue Aug 19 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.90
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - update fix submount shutdown recovery handling patch.
- Bug 435960: autofs with map file auto.nis not working,
  error: automount master_error: syntax error while parsing map
- Bug 252032: autofs does not log enough data to troubleshoot replicated server selection
- Bug 436017: RHEL5 autofs doesn't handle replicated server entries like Solaris
- Bug 439497: autofs hang on startup
- Bug 443933: automount segfaults upon start
- Bug 448036: autofs parses /etc/nsswitch.conf incorrectly
- Bug 448468: Program maps do not set pwd  
- Bug 448674: X/Open Federated Naming service master map entry should be handled by autofs
- Bug 457524: Automounter does not work in the diskless environment
- Bug 458252: Autofs doesn't recognize the local host as local when using many interfaces
- Bug 458464: AutoFS Crashes if non-alpha numerics are tried as map names (LDAP maps)
- Related: rhbz#439580
- Resolves: rhbz#435960 rhbz#252032 rhbz#436017 rhbz#439497 rhbz#443933
- Resolves: rhbz#448036 rhbz#448468 rhbz#448674 rhbz#457524 rhbz#458252
- Resolves: rhbz#458464

* Wed Aug 13 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.89
- Bug 439580: AutoFS still having issues with expiration of submount maps
  - fix incorrect pthreads condition handling for mount requests.
  - don't abuse the ap->ghost field on NFS mount.
  - fix fail on included browse map not found.
  - clear stale flag on map read.
  - refactor mount request variable setting code.
  - make handle_mounts startup condition distinct
  - fix submount shutdown recovery handling.
  - don't call blocking functions during expire.
  - add configuration paramter UMOUNT_WAIT.
  - fix multi mount race.
  - note that this change depends on the kernel changes in bug 452139.
- Bug 448038: expire_indirect: fstat failed: Bad file descriptor
  - check for exported mounts automatically mounted by kernel.
- Bug 455550: [CRM#1837798] automount NULL pointer dereference segmentation fault
  - check replicated list after probe.
Resolves: rhbz#439580 rhbz#448038 rhbz#455550

* Fri Apr 4 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.88
- Bug 298171: Allows autofs to do automount lookups via nscd through LDAP
  - init SASL callbacks on every ldap lookup library load.
- Related: rhbz#298171

* Wed Feb 13 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.87
- Bug 336961: Reloading autofs map incorrectly removes all map entries
  - fix incorrect initialization which causes unpredictable behavior.
- Related: rhbz#336961

* Fri Feb 1 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.86
- 254226: autofs reload and condrestart fail if map is originally empty
  - another fix for don't fail on empty master map.
- Related: rhbz#254226

* Thu Jan 24 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.85
- 350171: /etc/init.d/autofs does not handle basedns with spaces
  - yet another correction to the patch.
- Related: rhbz#350171

* Tue Jan 8 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.84
- Bug 298171: Allows autofs to do automount lookups via nscd through LDAP
  - add error message to notify when no valid URIs found in configured list.
  - fix base dn search not trying all configured search bases.
- Related: rhbz#298171

* Tue Jan 8 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.83
- Bug 426412 Processed: autofs segfaults (possibly from autofs_sasl_unbind)
  - correction for "fix race during sub-mount shutdown" patch.
- Related: rhbz#426412

* Tue Jan 8 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.82
- Bug 426412 Processed: autofs segfaults (possibly from autofs_sasl_unbind)
  - fix race during sub-mount shutdown.
- Resolves: rhbz#426412

* Sat Jan 5 2008 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.81
- Bug 336961: Reloading autofs map incorrectly removes all map entries
  - correct patch for the missed case.
- Related: rhbz#336961

* Thu Dec 20 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.80
- Bug 336961: Reloading autofs map incorrectly removes all map entries
  - add missed case for this correction.
- Related: rhbz#336961

* Thu Dec 20 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.79
- Bug 426220: CVE-2007-6285 autofs default doesn't set nodev in /net [rhel-5.2]
  - use mount option "nodev" for "-hosts" map unless "dev" is explicily specified.
- Related: rhbz#426220

* Mon Dec 17 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.78
- Bug 404231: CRM #1598404 Automount process shuts down unexpectedly
  - fix for improve server down handling patch.
- Related: rhbz#404231

* Mon Dec 17 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.77
- Bug 250922: automount[2281]: open_mount: (mount):cannot open mount module iso9660 
     (/usr/lib/autofs/mount_iso9660.so: cannot open shared object file: No such file or directory)
  - quell annoying "cannot open mount module" message
- Resolves: rhbz#250922

* Sat Dec 15 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.76
- Bug 333821: Export directory with spaces in the name causes problems
  - second attempt fixing quoting for exports gathered by hosts map.
- Related: rhbz#333821

* Wed Dec 12 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.75
- Bug 333821: Export directory with spaces in the name causes problems
  - fix transcription error in exports quoting fix patch.
- Related: rhbz#333821

* Wed Dec 12 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.74
- Bug 333821: Export directory with spaces in the name causes problems
  - fix to quoting for exports gathered by hosts map.
- Related: rhbz#333821

* Tue Dec 11 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.73
- Bug 336971: Add support for the "%" hack for case insensitive attribute schemas
  - expand cases covering "%" hack handling.
- Related: rhbz#336971

* Thu Dec 6 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.72
- Bug 298171: Allows autofs to do automount lookups via nscd through LDAP
  - fix LDAP_URI server selection.
  - add authentication option for using an external credential cache.
- Related: rhbz#298171

* Wed Dec 5 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.71
- Bug 410051: CVE-2007-5964 autofs defaults don't restrict suid in /net
  - missed changing the revision number
- Related: rhbz#410051

* Wed Dec 5 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.71
- Bug 410051: CVE-2007-5964 autofs defaults don't restrict suid in /net
  - use mount option "nosuid" for "-hosts" map unless "suid" is explicily specified.
- Resolves: rhbz#410051

* Mon Dec 3 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.70
- Bug 404231: CRM #1598404 Automount process shuts down unexpectedly
  - update improve server down handling patch.
- Related: rhbz#404231

* Fri Nov 30 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.69
- Bug 404231: CRM #1598404 Automount process shuts down unexpectedly
- Resolves: rhbz#404231

* Tue Nov 27 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.68
- Bug 399041: If a map entry is > 255 chars, automounter fails
  - fix off-by-one error on key lookup.
- Resolves: rhbz#399041

* Mon Nov 19 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.67
- Bug 357551: [RFE] Autofs [4 & 5]: Remove replicated host testing from default single host mount case
  - merge corresponding autofs 4 patch.
- Resolves: rhbz#357551

* Mon Nov 19 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.66
- Bug 251993: RFE: Allow debugging to be enabled on the fly
  - fix for dynamic logging breaking non-sasl build.
- Bug 238529: autofs can return incorrect status from mount under heavy load
  - add wait between retries.
  - force umount and return fail if mtab not updated after retries.
Related: rhbz#251993 rhbz#238529

* Thu Nov 15 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.65
- Bug 228144: NFS/AutoFS fails to accurately report non-existent mount points
  - Logging warnings on failed lookups means we actually have to use the
    error() macro, since we only log warn and below when debugging is
    enabled.
- Resolves: rhbz#228144

* Wed Nov 14 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.64
- Bug 263081: autofs 5 and large groups
- Bug 256781: Program maps never see changes
  - update the daemon negative mount timeout implementation
- Bug 359661: RHEL3 U5: [autofs4] automounter won't use auto_master in LDAP
- Bug 306681: autofs version 5 should not require common schema to be pre-configured
  - correction to schema discovery patch.
- 350171: /etc/init.d/autofs does not handle basedns with spaces
  - another correction to the patch.
- Related: rhbz#350171 rhbz#306681
- Resolves: rhbz#359661 rhbz#256781 rhbz#263081

* Tue Oct 30 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.63
- Bug 238529: autofs can return incorrect status from mount under heavy load
  - reviewed previously reverted patch and updated it in line with v4.
- Resolves: rhbz#238529

* Mon Oct 29 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.62
- 350171: /etc/init.d/autofs does not handle basedns with spaces
  - correct transcription error with patch.
- Related: rhbz#350171

* Mon Oct 29 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.61
- 350171: /etc/init.d/autofs does not handle basedns with spaces
  - correction two to patch.
- Related: rhbz#350171

* Mon Oct 29 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.60
- 350171: /etc/init.d/autofs does not handle basedns with spaces
  - correction to patch.
- Related: rhbz#350171

* Fri Oct 26 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.59
- 254227: log "/etc/init.d/autofs reload" invocations to the system log
- 350171: /etc/init.d/autofs does not handle basedns with spaces
- Resolves: rhbz#254227 rhbz#350171

* Fri Oct 26 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.58
- Bug 251993: RFE: Allow debugging to be enabled on the fly
  - fix fifo create location.
  - patch cleanups.
- Related: rhbz#251993

* Fri Oct 26 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.57
- Bug 251993: RFE: Allow debugging to be enabled on the fly
  - add set close on exec flag for fifos.
  - make fifo setup failure non-fatal.
  - add configure option to enable fifo dir specification.
  - set default fifo dir to /var/run as first preference.
- Related: rhbz#251993

* Wed Oct 24 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.56
- Bug 253870: RHEL5 automounter and undefined variables.
- Bug 322741: minor typo in autofs(5) manpage page in "wildcard" section
- Bug 332291: autofs fails if nsswitch.conf doesn't have automount entry
- Bug 246111: multi-mount maps fail, can not map a hierarchy
- Bug 333771: autofs fails if LDAP attribute value is the same as a standard autofs attribute name
- Bug 249738: Autofs5 failed unmounting Solaris NFS server share
- Bug 333701: auto.master(5) needs to document the mount options append entry
- Bug 253625: autofs fails to mount nfs4 when client and server are same machine
- Bug 249574: autofs passes a wrong program version to the nfs NULL proc
- Bug 333691: autofs should use acturate time when using pthread_cond_timedwait
- Bug 336961: Reloading autofs map incorrectly removes all map entries
- Bug 333821: Export directory with spaces in the name causes problems
- Bug 333831: /net does not seem to work with 5.0.1-19 or 5.0.2-6
- Bug 306681: autofs version 5 should not require common schema to be pre-configured
- Bug 337431: automounter load balancing with replicated servers
- Bug 332181: [RHEL4] autofs initscript doesn't support '--timeout' with whitespace
- Bug 336971: Add support for the "%" hack for case insensitive attribute schemas
- Bug 336991: autofs should match LDAP wildcard entries with "*" as the key as well as "/"
- Bug 298171: Allows autofs to do automount lookups via nscd through LDAP
- Bug 286541: autofs-5.0.1-0.rc2.43.0.2.x86_64 segfaults when '/etc/init.d/autofs stop' is run
- Bug 333781: autofs can deadlock with multiple simulaneous access to a program map
- Bug 251993: RFE: Allow debugging to be enabled on the fly
- Resolves: rhbz#253870 rhbz#322741 rhbz#332291 rhbz#246111 rhbz#333771 rhbz#249738
- Resolves: rhbz#333701 rhbz#253625 rhbz#249574 rhbz#333691 rhbz#336961 rhbz#333821
- Resolves: rhbz#333831 rhbz#306681 rhbz#337431 rhbz#332181 rhbz#336971 rhbz#336991
- Resolves: rhbz#286541 rhbz#333781 rhbz#251993
- Related: rhbz#298171

* Tue Sep 25 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.55
- correct mistake in logic test in wildcard lookup (bz304111).
- Resolves: rhbz#304111

* Tue Jun 26 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.54
- revert mtab patch, it needs further consideration (bz 238529).
- Related: rhbz#238529

* Tue Jun 26 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.53
- change random selection option name to be consistent with autofs v4 (bz 227604).
- Related: rhbz#227604

* Mon Jun 25 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.52
- make ldap attribute match case insensitive (bz 239411).
- Related: rhbz#239411

* Mon Jun 25 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.51
- add multi map nsswitch lookup funcionality (bz 241717).
- Related: rhbz#241717

* Fri Jun 22 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.50
- update master map lexer to also allow "." in macro name (bz 243645).
- add missing "multi" map support (bz 241717).
- Resolves: rhbz#243645 rhbz#241717

* Wed Jun 20 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.49
- update ldaps protocol support patch (bz 185443).
- local variable initialization error.
- Related: rhbz#185443

* Mon Jun 18 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.48
- allow for older schemas that allow "*" as a key value (bz 241291).
- fix deadlock in alarm manager module (bz 243717).
- Resolves: rhbz#241291 rhbz#243717

* Tue Jun 12 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.47
- update ldaps protocol support patch (bz 185443).
- missed change of ldap_init to ldap_initialize.
- Related: rhbz#185443

* Fri Jun 1 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.46
- add ldaps protocol support (bz 185443).
  - note: it's no longer possible to use multiple hosts in an ldap map spec.
  - note: multiple hosts must now be configured using the URI entry in LDAP config.
- Resolves: rhbz#185443

* Thu May 31 2007 Jeff Moyer <jmoyer@redhat.com> - 5.0.1-0.rc2.45
- Obsolete the autofs5 package that will be shipped in RHEL 4 (bz 227708).
- Resolves: rhbz#227708

* Tue May 22 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.44
- ignore "winbind" if it appears in "automount" nsswitch.conf (bz 231953).
- fix handling of trailing white space in wildcard lookup (bz 241094).
- check fqdn of each interface when matching export access list (bz 231950).
- fix race when setting task done (bz 231951).
- correct return status from do_mkdir (bz 223480).
- fix localhost replicated mounts not working (bzs 233149, 231954).
- fix display map name in mount entry for "-hosts" map (bz 238531).
- add "condrestart" to init script (bz 231956).
- fix return check for getpwuid_r and getgrgid_r (bz 231949).
- change file map lexer to allow white-space only blank lines (bz 237066).
- add option to select replicated server at random (instead of ping response time) (bz 227604).
- fix directory creation for browse mounts (bz 238532).
- fix wildcard map handling and improve nsswitch source map update (bz 238533).
- add configuration variable to control appending of global options (bz 238652).
- add command option to set a global mount options string (bz 238652).
- disable exports access control check (bz 238534).
- fix incorect cast causing directory cleanup after expire to fail on PPC (bz 231948).
- check for fstab update and retry if not updated (bz 238529).
- Resolves: rhbz#231953 rhbz#241094 rhbz#231950 rhbz#231951 rhbz#238534
- Resolves: rhbz#223480 rhbz#233149 rhbz#238531 rhbz#231956 rhnz#231949
- Resolves: rhbz#237066 rhbz#227604 rhbz#238532 rhbz#238533 rhbz#238652
- Resolves: rhbz#231948 rhbz#231954 rhbz#238529

* Mon Jan 29 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.43
- fix another expire regression introduced in the "mitigate manual umount"
  patch (bz 225124).
- correct check for busy offset mounts before offset umount (bz 225122).
- Resolves: rhbz#225124 rhbz#225122

* Thu Jan 11 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.42
- fix typo in Fix typo in var when removing temp directory (bz 222254).

* Wed Dec 27 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.39
- fix nonstrict multi-mount handling (bz 219383).
- correct detection of duplicate indirect mount entries (bz 220799).

* Thu Dec 14 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.37
- expand export access checks to include missing syntax options.
- make "-hosts" module try to be sensitive to exports list changes.
- change mount "device" from "automount" to the map name.
- check for buffer overflow in mount_afs.c.
- replace tempnam with mkdtemp. 
- update master map tokenizer to admit "slasify-colons" option.
- update location validation to accept "_" (bz 219445).
- set close-on-exec flag on open sockets (bz 215757).

* Thu Dec 7 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.30
- remove ability to use multiple indirect mount entries in master
  map (bz 218616).

* Wed Dec 6 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.27
- alter nfs4 host probing to not use portmap lookup and add options
  check for "port=" parameter (bz 208757.
- correct semantics of "-null" map handling (bzs 214800, 208091).

* Sat Nov 25 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.24
- fix parsing of bad mount mount point in master map (bz 215620).
- fix use after free memory access in cache.c and lookup_yp.c (bz 208091).
- eliminate use of pthread_kill to detect task completion (bz 208091).
- fix tokenizer to distinguish between global option and dn string (bz 214684).
- fix incorrect return from spawn.
- mitigate manual umount of automounts where possible.
- fix multiply recursive bind mounts.
- check kernel module version and require 5.00 or above.
- fix expire regression introduced in the "mitigate manual umount" patch.
- still more on multiply recursive bind mounts.
- Update patch for changed semantics of mkdir in recent kernels.
- fix macro table locking (bz 208091).
- fix nsswitch parser locking (bz 208091).
- allow only one master map read task at a time.
- fix misc memory leaks.
- deal with changed semantics of mkdir in recent kernels.

* Fri Oct 20 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.18
- fix get_query_dn not looking in subtree for LDAP search (missed
  econd occurance).
- allow additional common LDAP attributes in map dn.
- Resolves: rhbz#205997

* Mon Oct 16 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.15
- fix parsing of numeric host names in LDAP map specs (bz 205997).
- fix "-fstype=nfs4" server probing (part 2 of bz 208757).
- set close-on-exec flag on open files where possible (bz 207678).
- fix file handle leak in nsswitch parser (bz 207678).
- fix memory leak in mount and expire request processing (bz 207678).
- add additional check to prevent running of cancelled tasks.
- fix potential file handle leakage in rpc_subs.c for some failure
  cases (bz 207678).
- fix file handle leak in included map lookup (bz 207678).

* Sat Oct 7 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.10
- fix get_query_dn not looking in subtree for LDAP search.
- allow syntax "--timeout <secs>" for backward compatibility
  (bz 193948).
- make masked_match independent of hostname for exports comparison
  (bz 209638).

* Thu Oct 5 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.9
- fix "-fstype=nfs4" handling (bz 208757).

* Wed Sep 27 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.8
- review and fix master map options update for map reload.

* Wed Sep 27 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.7
- make default installed master map for /net use "-hosts" instead
  of auto.net.
- fix included map recursive map key lookup.

* Mon Sep 25 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.6
- remove unused option UNDERSCORETODOT from default config files.

* Mon Sep 25 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.5
- fix LDAP lookup delete cache entry only if entry doesn't exist.
- add missing socket close in replicated host check (Jeff Moyer).

* Wed Sep 20 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.4
- fix cache entrys not being cleaned up on submount expire.

* Sun Sep 17 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.3
- fix include check full patch for file map of same name.

* Wed Sep 13 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.2
- fix handling of autofs specific mount options (bz 199777).

* Fri Sep 1 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.1
- consolidate to rc2.
- fix colon escape handling.
- fix recusively referenced bind automounts.
- update kernel patches.

* Fri Aug 25 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.17
- fix task cancelation at shutdown (more)
- fix concurrent mount and expire race with nested submounts.

* Sun Aug 20 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.16
- fix included map lookup.
- fix directory cleanup on expire.
- fix task cancelation at shutdown.
- fix included map wild card key lookup.

* Thu Aug 16 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.15
- expire individual submounts.
- add ino_index locking.
- fix nested submount expiring away when pwd is base of submount.
- more expire re-work to cope better with shutdown following cthon tests.
- allow hostname to start with numeric when validating.

* Thu Aug 7 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.14
- remove SIGCHLD handler because it is no longer needed and was
  causing expire problems.
- alter expire locking of multi-mounts to lock sub-tree instead of
  entire tree.
- review verbose message feedback and update.
- correction for expire of multi-mounts.
- spelling corrections to release notes (Jeff Moyer).
- add back sloppy mount option, removed for Connectathon testing.
- disable mtab locking again.

* Thu Aug 4 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.13
- tidy up directory cleanup and add validation check to rmdir_path.

* Thu Aug 4 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.12
- enable mtab locking until I can resolve the race with it.

* Thu Aug 4 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.11
- cthon fix expire of wildcard and program mounts broken by recent
  patches.

* Thu Aug 3 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.10
- cthon corrections for shutdown patch below and fix shutdown expire.

* Wed Aug 2 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.9
- cthon fix some shutdown races.

* Thu Jul 27 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.8
- Fix compile error.

* Thu Jul 27 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.7
- cthon fix expire of various forms of nested mounts.

* Mon Jul 24 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.6
- cthon more parser corrections and attempt to fix multi-mounts
  with various combinations of submounts (still not right).

* Wed Jul 19 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.5
- Add conflicts kernel < 2.6.17.
- Fix submount operation broken by connectathon updates.

* Wed Jul 19 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.4
- Correction to host name validation test for connectathon tests.

* Wed Jul 19 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.3
- More code cleanup and corrections for connectathon tests.

* Wed Jul 19 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.2
- Code cleanup and fixes for connectathon tests.

* Thu Jul 13 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc1.1
- Update version label to avoid package update problems.

* Thu Jul 13 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-8
- add cacheing of negative lookups to reduce unneeded map
  lookups (bz 197746 part 2).

* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:5.0.0_beta6-7.1
- rebuild

* Tue Jul 11 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-7
- correct directory cleanup in mount modules.
- merge key and wildcard LDAP query for lookups (bz 197746).

* Sat Jul 8 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-6
- correct test for libhesiod.

* Fri Jul 7 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-5
- correct auto.net installed as auto.smb.
- update LDAP auth - add autodectect option.

* Wed Jul 5 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-4
- correct shutdown log message print.
- correct auth init test when no credentials required.

* Tue Jul 4 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-3
- correct test for existence of auth config file.

* Mon Jul 3 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-2
- merge LDAP authentication update for GSSAPI (Jeff Moyer).
- update default auth config to add options documenetation (Jeff Moyer).
- workaround segfaults at exit after using GSSAPI library.
- fix not checking return in init_ldap_connection (jeff Moyer).

* Thu Jun 29 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta6-1
- consolidate to beta6, including:
  - mode change update for config file.
  - correction to get_query_dn fix from beta5-4.

* Wed Jun 28 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta5-6
- cleanup defaults_read_config (Jeff Moyer).

* Tue Jun 27 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta5-5
- allow global macro defines to override system macros.
- correct spelling error in default config files missed by
  previous update.
- misc correctness and a memory leak fix.

* Mon Jun 26 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta5-4
- correct spelling error in default config.
- fix default auth config not being installed.
- change LDAP query method as my test db was incorrect.
- change ldap defaults code to handle missing auth config.
- fix mistake in parsing old style LDAP specs.
- update LDAP so that new query method also works for old syntax.

* Fri Jun 23 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta5-3
- lookup_init cleanup and fix missed memory leak.
- use nis map order to check if update is needed.
- fix couple of memory leaks in lookup_yp.c.
- fix pasre error in replicated server module.

* Wed Jun 21 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta5-2
- Add openssl-devel to the BuildRequires, as it is needed for the LDAP
  authentication bitsi also.

* Tue Jun 20 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta5-1
- promote to beta5.

* Tue Jun 20 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-14
- fix directory cleanup at exit.

* Mon Jun 19 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-13
- Change LDAP message severity from crit to degug (bz# 183893).
- Corrections to INSTALL and README.v5.release.
- Add patch to fix segv on overlength map keys in file maps (Jeff Moter).
- Add patch to restrict scanning of /proc to pid directories only (Jeff Moyer).

* Thu Jun 15 2006 Jeff Moyer <jmoyer@redhat.com> - 5.0.0_beta4-12
- Change BuildPrereq to BuildRequires as per the package guidelines.
- Add libxml2-devel to the BuildRequires, as it is needed for the LDAP
  authentication bits.

* Wed Jun 14 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-11
- add export access list matching to "hosts" lookup module (bz # 193585).

* Tue Jun 13 2006 Jeff Moyer <jmoyer@redhat.com> - 5.0.0_beta4-10
- Add a BuildPrereq for cyrus-sasl-devel

* Tue Jun 13 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-9
- move autofs4 module loading back to init script (part bz # 194061).

* Mon Jun 12 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-8
- fix handling of master map entry update (bz # 193718).
- fix program map handling of invalid multi-mount offsets.

* Sat Jun 10 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-7
- fix context init error (introduced by memory leak patch).

* Fri Jun 9 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-6
- add free for working var in get_default_logging.
- add inialisation for kver in autofs_point struct.
- fix sources list corruption in check_update_map_sources.
- fix memory leak in walk_tree.
- fix memory leak in rpc_portmap_getport and rpc_ping_proto.
- fix memory leak in initialisation of lookup modules.

* Wed Jun 8 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-5
- misc fixes for things found while investigating map re-read problem.

* Wed Jun 7 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-4
- check base of offset mount tree is not a mount before umounting
  its offsets.
- fix replicated mount parse for case where last name in list
  fails lookup.
- correct indirect mount expire broken by the wildcard lookup fix.
- fix up multi-mount handling when wildcard map entry present.

* Mon Jun 5 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-3
- correct config names in default.c (jpro@bas.ac.uk).

* Mon Jun 5 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-2
- re-instate v4 directory cleanup (bz# 193832 again).
- backout master map lookup changes made to beta3.
- change default master map from /etc/auto.master to auto.master
  so that we always use nsswitch to locate master map.
- change default installed master map to include "+auto.master"
  to pickup NIS master map (all bz# 193831 again).

* Fri Jun 2 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta4-1
- update to beta4.
- should address at least bzs 193798, 193770, 193831 and
  possibly 193832.

* Mon May 29 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta3-6
- add back test for nested mount in program map lookup.
  - I must have commented this out for a reason. I guess we'll
    find out soon enough.

* Mon May 29 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta3-5
- fix handling of autofs filesystem mount fail on init.

* Sat May 27 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta3-4
- updated hesiod patch.

* Sat May 27 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta3-3
- update hesiod module (Jeff Moyer).
  - add mutex to protect against overlapping mount requests.
  - update return from mount request to give more sensible NSS_*
    values.

* Fri May 26 2006 Jeff Moyer <jmoyer@redhat.com> - 1:5.0.0_beta3-2
- Fix the install permissions for auto.master and auto.misc.

* Thu May 25 2006 Ian Kent <ikent@redhat.com> - 5.0.0_beta3-1
- update source to version 5.0.0_beta3.
- add patch to remove extra debug print.
- add patch to
  - fix memory alloc error in nis lookup module.
  - add "_" to "." mapname translation to nis lookup module.
- add patch to add owner pid to mount list struct.
- add patch to disable NFSv4 when probing hosts (at least foe now).
- add patch to fix white space handling in replicated server selection code.
- add patch to prevent striping of debug info macro patch (Jeff Moyer).
- add patch to add sanity checks on rmdir_path and unlink (Jeff Moyer).
- add patch to fix e2fsck error code check (Jeff Moyer).

* Tue May 16 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-23
- add patch to ignore the "bg" and "fg" mount options as they
  aren't relevant for autofs mounts (bz #184386).

* Tue May 2 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-20
- add patch to use "cifs" instead of smbfs and escape speces
  in share names (bz #163999, #187732).

* Tue Apr 11 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-18
- Add patch to allow customization of arguments to the
  autofs-ldap-auto-master program (bz #187525).
- Add patch to escap "#" characters in exports from auto.net
  program mount (bz#178304).

* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:4.1.4-16.2.2
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:4.1.4-16.2.1
- rebuilt for new gcc4.1 snapshot and glibc changes

* Tue Feb 1 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-16.2
- Add more general patch to translate "_" to "." in map names. (bz #147765)

* Mon Jan 25 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-16.1
- Add patch to use LDAP_DEPRICATED compile option. (bz #173833)

* Mon Jan 17 2006 Ian Kent <ikent@redhat.com> - 1:4.1.4-16
- Replace check-is-multi with more general multi-parse-fix.
- Add fix for premature return when waiting for lock file.
- Update copyright declaration for reentrant-syslog source.
- Add patch for configure option to disable locking during mount.
  But don't disable locking by default.
- Add ability to handle automount schema used in Sun directory server.
- Quell compiler warning about getsockopt parameter.
- Quell compiler warning about yp_order parameter.

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Thu Nov 17 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-14
- Removed the /misc entry from the default auto.master.  auto.misc has
  an entry for the cdrom device, and the preferred method of mounting the
  cd is via udev/hal.

* Mon Nov  7 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-13
- Changed to sort -k 1, since that should be the same as +0.

* Thu Nov  3 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-12
- The sort command no longer accepts options of the form "+0".  This broke
  auto.net, so the option was removed.  Fixes bz #172111.

* Wed Oct 26 2005  <jmoyer@redhat.com> - 1:4.1.4-11
- Check the return code of is_local_addr in get_best_mount. (bz #169523)

* Wed Oct 26 2005  <jmoyer@redhat.com> - 1:4.1.4-10
- Fix some bugs in the parser
- allow -net instead of /etc/auto.net
- Fix a buffer overflow with large key lengths
- Don't allow autofs to unlink files, only to remove directories
- change to the upstream reentrant syslog patch from the band-aid deferred
  syslog patch.
- Get rid of the init script patch that hard-coded the release to redhat.
  This should be handled properly by all red hat distros.

* Wed May  4 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-8
- Add in the deferred syslog patch.  This fixes a hung automounter issue
  related to unsafe calls to syslog in signal handler context.

* Tue May  3 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-7
- I reversed the checking for multimount entries, breaking those configs!
  This update puts the code back the way it was before I broke it.

* 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.

* Wed Apr 13 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-4
- Finish up with the merge breakage.
- Temporary fix for the multimount detection code.  It seems half-baked.

* Wed Apr 13 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-3
- Fix up the one-auto-master patch.  My "improvements" had side-effects.

* Wed Apr 13 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-2
- Import 4.1.4 and merge.

* Mon Apr  4 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-123
- Add in an error case that was omitted in the multi-over patch.
- Update our auto.net to reflect the changes that went into 4.1.4_beta2.
  This fixes a problem seen by at least one customer where a malformed entry
  appeared first in the multimount list, thus causing the entire multimount
  to be ignored.  This new auto.net places that entry at the end, purely by
  luck, but it fixes the problem in this one case.

* Thu Mar 31 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-119
- Merge in the multi-over patch.  This resolves an issue whereby multimounts
  (such as those used for /net) could be processed in the wrong order,
  resulting in directories not showing up in a multimount tree.  The fix
  is to process these directories in order, shortest to longer path.

* Wed Mar 23 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-115
- Fixed regression causing any entries after a wildcard in an
  indirect map to be ignored. (bz #151668).
- Fixed regression which caused local hosts to be mount instead
  of --bind local directories. (bz #146887)

* Thu Mar 17 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-111
- Fixed one off bug in the submount-variable-propagation patch.
  (bz #143074)
- Fixed a bug in the init script which wouldn't find the -browse
  option if it was preceded by another option. (fz #113494)

* Mon Feb 28 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-100
- When using ldap if auto.master doesn't exist we now check for auto_master.
  Addresses bz #130079
- When using an auto.smb map we now remove the leading ':' from the path which
  caused mount to fail in the past.  Addresses bz #147492
- Autofs now checks /etc/nsswitch.conf to determine in what order files & nis
  are checked when looking up autofs submount maps which don't specify a
  maptype.  Addresses IT #57612.

* Mon Feb 14 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-99
- Change Copyright to License in the spec file so it will build.

* Fri Feb 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-98
- Program maps can repeat the last character of output.  Fix this.  
  Addresses bz #138606
- Return first entry when there are duplicate keys in a map.  Addresses
  bz #140108.
- Propagate custom map variables to submounts.  Fixes bz #143074.
- Create a sysconfig variable to control whether we source only one master
  map (the way sun does), or source all maps found (which is the default for
  backwards compatibility).  Addresses bz #143126.
- Revised version of the get_best_mount patch. (#146887) cfeist@redhat.com
  The previous patch introduced a regression.  Non-replicated mounts would
  not have the white space stripped from the entry and the mount would fail.
- Handle comment characters in the middle of the automount line in
  /etc/nsswitch.conf.  Addresses bz #127457.

* Wed Feb  2 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-94
- Stop automount from pinging hosts if there is only one host (#146887)

* Wed Feb  2 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-90
- Fix potential double free in cache_release.  This bug showed up in a
  multi-map setup.  Two calls to cache_release would result in a SIGSEGV,
  and the automount process would never exit.

* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 1:4.3-82
- Fixed documentation so users know that any local mounts override
  any other weighted mount.

* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 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 <jmoyer@redhat.com> - 1:4.1.3-76
- Fix the large program map patch.

* Tue Jan 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-75
- Fix some merging breakages that caused the package not to build.

* Thu Jan  6 2005  <jmoyer@redhat.com> - 1:4.1.3-74
- Add in the map expiry patch
- Bring in other patches that have been committed to other branches. This 
  version should now contain all fixes we have to date
- Merge conflicts due to map expiry changes

* Fri Nov 19 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-57
- Pass a socket into clntudp_bufcreate so that we don't use up additional 
  reserved ports.  This patch, along with the socket leak fix, addresses
  bz #128966.

* Wed Nov 17 2004  <jmoyer@redhat.com> - 1:4.1.3-56
- Somehow the -browse patch either didn't get committed or got reverted.
  Fixed.

* Tue Nov 16 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-55
- Fix program maps so that they can have gt 4k characters. (Neil Horman)
  Addresses bz #138994.
- Add a space after the colon here "Starting automounter:" in init script.
  Fixes bz #138513.

* Mon Nov 15 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-53
- Make autofs understand -[no]browse.  Addresses fz #113494.

* Thu Nov 11 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-48
- Fix the umount loop device function in the init script.

* Wed Oct 27 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-34
- Added a patch to fix the automounter failing on ldap maps
  when it couldn't get the whole map.  (ie. when the search
  limit was lower than the number of results)

* Thu Oct 21 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-32
- Fixed the use of +ypmapname so the maps included with +ypmapname
  are used in the correct order.  (In the past the '+' entries
  were always processed after local entries.)

* Thu Oct 21 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-31
- Fixed the duplicate map detection code to detect if maps try
  to mount on top of existing maps. 

* Wed Oct 20 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-29
- Fixed a problem with backwards compatability. Specifying local
  maps without '/etc/' prepended to them now works. (bz #136038)

* Fri Oct 15 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-28
- Fixed a bug which caused directories to never be unmounted. (bz #134403)

* Thu Oct 14 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-27
- Fixed an error in the init script which caused duplicate entries to be
  displayed when asking for autofs status.

* Fri Oct  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-22
- Comment out map expiry (and related) patch for an FC3 build.

* Thu Sep 23 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-21
- Make local options apply to all maps in a multi-map entry.

* Tue Sep 21 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-20
- Merged my and Ian's socket leak fixes into one, smaller patch. Only
  partially addresses bz #128966.
- Fix some more echo lines for internationalization. bz #77820
- Revert the only one auto.master patch until we implement the +auto_master
  syntax.  Temporarily addresses bz #133055.

* Thu Sep  2 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-18
- Umount loopback filesystems under automount points when stopping the 
  automounter.
- Uncomment the map expiry patch.
- change a close to an fclose in lookup_file.c

* Tue Aug 31 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-17
- Add patch to support parsing nsswitch.conf to determine map sources.
- Disable this patch, and Ian's map expiry patch for a FC build.

* Tue Aug 24 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-16
- Version 3 of Ian's map expiry changes.

* Wed Aug 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-15
- Fix a socket leak in the rpc_subs, causing mounts to fail since we are 
  running out of port space fairly quickly.

* Wed Aug 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-14
- New map expiry patch from Ian.
- Fix a couple signal races.  No known problem reports of these, but they
  are holes, none-the-less.

* Tue Aug 10 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-13
- Only read one auto.master map (instead of concatenating all found sources).
- Uncomment Ian's experimental mount expiry patch.

* Fri Aug  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-12
- Add a sysconfig entry to disable direct map support, and set this to 
  1 by default.
- Disable the beta map expiry logic so I can build into a stable distro.
- Add defaults for all of the sysconfig variables to the init script so 
  we don't trip over user errors (i.e. deleting /etc/sysconfig/autofs).

* Wed Aug  4 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-11
- Add beta map expiry code for wider testing. (Ian Kent)
- Fix check for ghosting option.  I forgot to check for it in DAEMONOPTIONS.
- Remove STRIPDASH from /etc/sysconfig/autofs

* Mon Jul 12 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-10
- Add bad chdir patch from Ian Kent.
- Add a typo fix for the mtab lock file.
- Nuke the stripdash patch.  It didn't solve a problem.

* Tue Jun 22 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-9
- Bump revison for inclusion in RHEL 3.

* Mon Jun 21 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-8
- Change icmp ping to an rpc ping.  (Ian Kent)
- Fix i18n patch
  o Remove the extra \" from one echo line.
  o Use echo -e if we are going to do a \n in the echo string.

* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
- Fixed i18n bug #107463

* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
- Fixed i18n bug #107461

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Sat Jun  5 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-4
- Perform an icmp ping request before rpc_pings, since the rpc clnt_create
  function has a builtin default timeout of 60 seconds.  This could result
  in a long delay when a server in a replicated mount setup is down.
- For non-replicated server entries, ping a host before attempting to mount.
  (Ian Kent)
- Change to %%configure.
- Put version-release into .version to allow for automount --version to
  print exact info.
- Nuke my get-best-mount patch which always uses the long timeout.  This
  should no longer be needed.
- Put name into changelog entries to make them consistent.  Add e:n-v-r
  into Florian's entry.
- Stop autofs before uninstalling

* Sat Jun 05 2004 Florian La Roche <Florian.LaRoche@redhat.de> - 1:4.1.3-3
- add a preun script to remove autofs

* Tue Jun  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-2
- Incorporate patch from Ian which fixes an infinite loop seen by those
  running older versions of the kernel patches (triggered by non-strict mounts
  being the default).

* Tue Jun  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-1
- Update to upstream 4.1.3.

* Thu May  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-6
- The lookup_yp module only dealt with YPERR_KEY, all other errors were 
  treated as success.  As a result, if the ypdomain was not bound, the 
  subprocess that starts mounts would SIGSEGV.  This is now fixed.
- Option parsing in the init script was not precise enough, sometimes matching
  filesystem options to one of --ghost, --timeout, --verbose, or --debug.  
  The option-parsing patch addresses this issue by making the regexp's much
  more precise.
- Ian has rolled a third version of the replicated mount fixes.

* Tue May  4 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-5
- Ian has a new fix for replicated server and multi-mounts.  Updated the 
  patch for testing.  Still beta.  (Ian Kent)

* Mon May  3 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-4
- Fix broken multi-mounts.  test patch.  (Ian Kent)

* Tue Apr 20 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-3
- Fix a call to spawnl which forgot to specify a lock file. (nphilipp)

* Wed Apr 14 2004  <jmoyer@redhat.com> - 1:4.1.2-2
- Pass --libdir= to ./configure so we get this right on 64 bit platforms that 
  support backwards compat.

* Wed Apr 14 2004  Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-1
- Change hard-coded paths in the spec file to the %{_xxx} variety.
- Update to upstream 4.1.2.
- Add a STRIPDASH option to /etc/sysconfig/autofs which allows for
  compatibility with the Sun automounter options specification syntax in
  auto.master.  See /etc/sysconfig/autofs for more information.  Addresses
  bug 113950.

* Tue Apr  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-6
- Add the /etc/sysconfig/autofs file, and supporting infrastructure in 
  the init script.
- Add support for UNDERSCORE_TO_DOT for those who want it.
- We no longer own /net.  Move it to the filesystem package.

* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-5
- Clarify documentation on direct maps.
- Send automount daemons a HUP signal during reload.  This tells them to 
  re-read maps (otherwise they use a cached version.  Patch from the autofs
  maintainer.

* Mon Mar 22 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-4
- Fix init script to print out failures where appropriate.
- Build the automount daemon as a PIE.

* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-3
- Fix bug in get_best_mount, whereby if there is only one option, we 
  choose nothing.  This is primarily due to the fact that we pass 0 in to
  the get_best_mount function for the long timeout parameter.  So, we
  timeout trying to contact our first and only server, and never retry.

* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-2
- Prevent startup if a mountpoint is already mounted.

* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-1
- Update to 4.1.1, as it fixes problems with wildcards that people are 
  seeing quite a bit.

* Wed Mar 17 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-8
- Fix ldap init code to parse server name and options correctly.

* Tue Mar 16 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-7
- Moved the freeing of ap.path to cleanup_exit, as we would otherwise 
  reference an already-freed variable.

* Mon Mar 15 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-6
- add %config(noreplace) for auto.* config files.

* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-5
- make the init script only recognize redhat systems.  Nalin seems to remember
  some arcane build system error that can be caused if we don't do this.

* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-4
- comment out /net and /misc from the default auto.master.  /net is important
  since in a default shipping install, we can neatly co-exist with amd.

* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-3
- Ported forward Red Hat's patches from 3.1.7 that were not already present
  in 4.1.0.
- Moving autofs from version 3.1.7 to 4.1.0

* Mon Sep 29 2003 Ian Kent <raven@themaw.net>
- Added work around for O(1) patch oddity.

* Sat Aug 17 2003 Ian Kent <raven@themaw.net>
- Fixed tree mounts.
- Corrected transciption error in autofs4-2.4.18 kernel module

* Sun Aug 10 2003 Ian Kent <raven@themaw.net>
- Checked and merged most of the RedHat v3 patches
- Fixed kernel module handling wu-ftpd login problem (again)

* Thu Aug 7 2003 Ian Kent <raven@themaw.net>
- Removed ineffective lock stuff
- Added -n to bind mount to prevent mtab update error
- Added retry to autofs umount to clean matb after fail
- Redirected messages from above to debug log and added info message
- Fixed autofs4 module reentrancy, pwd and chroot handling

* Wed Jul 30 2003 Ian Kent <raven@themaw.net>
- Fixed autofs4 ghosting patch for 2.4.19 and above (again)
- Fixed autofs directory removal on failure of autofs mount
- Fixed lock file wait function overlapping calls to (u)mount

* Sun Jul 27 2003 Ian Kent <raven@themaw.net>
- Implemented LDAP direct map handling for nisMap and automountMap schema
- Fixed autofs4 ghosting patch for 2.4.19 and above (again)
- Added locking to fix overlapping internal calls to (u)mount 
- Added wait for mtab~ to improve tolerance of overlapping external calls to (u)mount
- Fixed ghosted directory removal after failed mount attempt

* Wed May 28 2003 Ian Kent <raven@themaw.net>
- Cleaned up an restructured my added code
- Corrected ghosting problem with 2.4.19 and above
- Added autofs4 ghosting patch for 2.4.19 and above
- Implemented HUP signal to force update of ghosted maps

* Mon Mar 23 2002 Ian Kent <ian.kent@pobox.com>
- Add patch to implement directory ghosting and direct mounts
- Add patch to for autofs4 module to support ghosting

* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
- use -fPIC instead of -fpic for modules and honor other RPM_OPT_FLAGS

* Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
- enable hesiod support over libbind

* Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com>
- add patch from rth to avoid an infinite loop