Commit Graph

366 Commits

Author SHA1 Message Date
Jeffrey E. Moyer
b4ef9a0b44 bump 2005-06-17 14:51:21 +00:00
Jeffrey E. Moyer
81485c5e95 - Add in the deferred syslog patch. This fixes a hung automounter issue
related to unsafe calls to syslog in signal handler context.
2005-05-04 19:31:39 +00:00
Jeffrey E. Moyer
8e372a2914 - I reversed the checking for multimount entries, breaking those configs!
This update puts the code back the way it was before I broke it.
2005-05-03 19:50:27 +00:00
Jeffrey E. Moyer
b933e4f7c2 - 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).
2005-04-27 00:58:27 +00:00
Chris Feist
f9c9998242 - Fixed regression with -browse not taking effect. 2005-04-15 18:37:11 +00:00
Jeffrey E. Moyer
b790330e60 - Finish up with the merge breakage.
- Temporary fix for the multimount detection code. It seems half-baked.
2005-04-14 02:30:56 +00:00
Jeffrey E. Moyer
ad018d5c71 - Fix up the one-auto-master patch. My "improvements" had side-effects. 2005-04-14 00:23:30 +00:00
Jeffrey E. Moyer
7469c35bcf - Import 4.1.4 and merge. 2005-04-13 23:34:44 +00:00
Jeffrey E. Moyer
af24566659 - 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.
2005-04-04 22:27:48 +00:00
Jeffrey E. Moyer
5a8c05dbed - 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.
2005-03-31 21:47:23 +00:00
Chris Feist
29f15439c1 - 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)
2005-03-23 19:40:01 +00:00
Chris Feist
1dd1df3826 - 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)
2005-03-17 21:42:00 +00:00
Chris Feist
5d12bbd366 Bumped Revision. 2005-03-01 19:21:40 +00:00
Chris Feist
a135ded29c Removed patch backup which caused an extra doc file to be included. 2005-03-01 16:56:51 +00:00
Chris Feist
683cc3eb09 - 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.
2005-02-28 19:35:11 +00:00
Jeffrey E. Moyer
0dd38da544 Change Copyright to License in spec file so it will build. 2005-02-14 16:49:17 +00:00
Jeffrey E. Moyer
4753e978b4 - 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.
2005-02-11 22:52:06 +00:00
Chris Feist
729c34ac8d - Stop automount from pinging hosts if there is only one host (#146887) 2005-02-02 19:25:45 +00:00
Jeffrey E. Moyer
8dfdcb346f - 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.
2005-02-02 14:55:43 +00:00
Chris Feist
4a7d30a925 Bumped revisions. 2005-01-24 21:42:51 +00:00
Chris Feist
08d4cd291a - Fixed documentation so users know that any local mounts override any
other weighted mount.
2005-01-24 21:42:20 +00:00
Chris Feist
7110bd48c2 Fixed bz #134399 so directories aren't removed if they were not created. 2005-01-24 17:41:15 +00:00
Jeffrey E. Moyer
5b101711f5 - Fix the large program map patch. 2005-01-11 16:36:21 +00:00
Jeffrey E. Moyer
a36abfc99a - Fix some merging breakages that caused the package not to build.
VS: ----------------------------------------------------------------------
2005-01-11 16:21:25 +00:00
Jeffrey E. Moyer
d2248d6a81 - 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
2005-01-07 22:01:00 +00:00
Jeffrey E. Moyer
686ab11d07 - 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.
2004-11-19 20:04:16 +00:00
Jeffrey E. Moyer
de7fb19349 Somehow the -browse patch either didn't get committed or got reverted.
Fixed
2004-11-17 13:31:39 +00:00
Jeffrey E. Moyer
3f51af042f bump to 55 to make the pre-tag hooks happy. 2004-11-17 01:01:59 +00:00
Jeffrey E. Moyer
a1c855e738 - 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.
2004-11-17 00:55:52 +00:00
Jeffrey E. Moyer
e651f6ba80 - Make autofs understand -[no]browse. Addresses fz #113494. 2004-11-15 19:28:42 +00:00
Jeffrey E. Moyer
f3b186891d - Fix the umount loop device function in the init script. 2004-11-11 18:47:14 +00:00
Chris Feist
77e52bcfa3 Added ldap-search-limit patch 2004-10-28 15:24:00 +00:00
Chris Feist
3bdbdef500 - 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)
2004-10-28 15:23:05 +00:00
Chris Feist
5b8672d4c8 - 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.)
2004-10-21 23:06:06 +00:00
Chris Feist
5570c49aa0 - Fixed the duplicate map detection code to detect if maps try to mount on
top of existing maps.
2004-10-21 21:18:08 +00:00
Chris Feist
7882f1c222 - Fixed a problem with backwards compatability. Specifying local maps
without '/etc/' prepended to them now works. (bz #136038)
2004-10-20 17:02:51 +00:00
Chris Feist
1ddc9b2bff - Fixed a bug which caused directories to never be unmounted. 2004-10-16 00:10:49 +00:00
Chris Feist
59f6ad266e - Fixed an error in the init script which caused duplicate entries to be
displayed when asking for autofs status.
2004-10-14 19:55:25 +00:00
Jeffrey E. Moyer
caa5a60de0 - Comment out map expiry (and related) patch for an FC3 build. 2004-10-01 14:13:52 +00:00
Jeffrey E. Moyer
8d613be4ca - Make local options apply to all maps in a multi-map entry. Addresses bz
#127154
2004-09-23 21:40:16 +00:00
Jeffrey E. Moyer
1f55834c04 - Revert the only one auto.master patch until we implement the +auto_master
syntax. Temporarily addresses bz #133055.
2004-09-21 15:18:07 +00:00
Jeffrey E. Moyer
2f5c56845f - Merged my and Ian's socket leak fixes into one, smaller patch.
- Fix some more echo lines for internationalization.
2004-09-21 15:13:46 +00:00
Jeffrey E. Moyer
581c892967 - 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
2004-09-10 17:51:10 +00:00
cvsdist
ead9ef3191 auto-import changelog data from autofs-4.1.3-17.src.rpm
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).
2004-09-09 03:27:00 +00:00
cvsdist
8271332433 auto-import changelog data from autofs-4.1.3-11.src.rpm
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
2004-09-09 03:26:01 +00:00
cvsdist
d9acc2b327 auto-import changelog data from autofs-4.1.3-10.src.rpm
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.
2004-09-09 03:25:58 +00:00
cvsdist
f136c30441 auto-import autofs-4.1.3-8 from autofs-4.1.3-8.src.rpm 2004-09-09 03:25:45 +00:00
cvsdist
b01a5c94b6 auto-import autofs-4.1.3-7 from autofs-4.1.3-7.src.rpm 2004-09-09 03:25:35 +00:00
cvsdist
733a362ce2 auto-import changelog data from autofs-4.1.3-6.src.rpm
Mon Jun 21 2004 Alan Cox <alan@redhat.com>
- Fixed i18n bug #107461
2004-09-09 03:25:31 +00:00
cvsdist
2ab1649275 auto-import changelog data from autofs-4.1.3-5.src.rpm
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)
2004-09-09 03:25:25 +00:00