- 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.
(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.
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.
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.
- 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
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.
4.1.3-16
- Version 3 of Ian's map expiry changes.
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.
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.
4.1.3-13
- Only read one auto.master map (instead of concatenating all found
sources).
- Uncomment Ian's experimental mount expiry patch.
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).
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
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.
4.1.3-9
- Bump revison for inclusion in RHEL 3.
Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
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 CFLAGS="${CFLAGS:--O2 -g -pipe}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:--O2 -g -pipe}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:--O2 -g -pipe}" ; export FFLAGS ; for i in $(find .
-name config.guess -o -name config.sub) ; do [ -f
/usr/lib/rpm/redhat/$(basename $i) ] && /bin/rm -f $i && /bin/cp -fv
/usr/lib/rpm/redhat/$(basename $i) $i ; done ; ./configure
--host=x86_64-redhat-linux --build=x86_64-redhat-linux \
--target=x86_64-redhat-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info.
- 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
4.1.3-3
- add a preun script to remove autofs
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).
4.1.3-1
- Update to upstream 4.1.3.
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.
4.1.2-5
- Ian has a new fix for replicated server and multi-mounts. Updated the
patch for testing. Still beta. (Ian Kent)
4.1.2-4
- Fix broken multi-mounts. test patch. (Ian Kent)
4.1.2-3
- Fix a call to spawnl which forgot to specify a lock file. (nphilipp)
4.1.2-2
- Pass --libdir= to ./configure so we get this right on 64 bit platforms
that support backwards compat.
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.
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.
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.
4.1.1-4
- Fix init script to print out failures where appropriate.
- Build the automount daemon as a PIE.
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.
4.1.1-2
- Prevent startup if a mountpoint is already mounted.
4.1.1-1
- Update to 4.1.1, as it fixes problems with wildcards that people are
seeing quite a bit.
4.1.0-8
- Fix ldap init code to parse server name and options correctly.
4.1.0-7
- Moved the freeing of ap.path to cleanup_exit, as we would otherwise
reference an already-freed variable.
4.1.0-6
- add %config(noreplace) for auto.* config files.
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.
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.
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.