Commit Graph

456 Commits

Author SHA1 Message Date
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
cvsdist
ee03eaec37 auto-import changelog data from autofs-4.1.2-2.src.rpm
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.
2004-09-09 03:23:27 +00:00
cvsdist
c2d75c2025 auto-import changelog data from autofs-4.1.1-3.src.rpm
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.
2004-09-09 03:23:15 +00:00
cvsdist
66a7370b9a auto-import changelog data from autofs-3.1.7-42.src.rpm
Mon Sep 08 2003 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-42
- rebuild
Mon Sep 08 2003 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-41
- add dependency on autoconf
- modify init script to look in %{_libdir}/autofs for the ldap auto.master
    helper instead of /usr/lib/autofs, which isn't always right (#103220)
Wed Jul 09 2003 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-40
- rebuild
Wed Jul 09 2003 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-39
- stop requiring /etc/redhat-release for the sake of the init script by
    hard-wiring that we're on RHL
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 03:21:44 +00:00
cvsdist
a0d6dd9c87 auto-import changelog data from autofs-3.1.7-37.src.rpm
Fri Apr 25 2003 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-37
- sync with current linux/auto_fs.h from the current kernel tree (#88562)
2004-09-09 03:21:20 +00:00
cvsdist
c9b1110f15 auto-import changelog data from autofs-3.1.7-36.src.rpm
Wed Jan 22 2003 Tim Powers <timp@redhat.com> 3.1.7-36
- rebuilt
Tue Jan 07 2003 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-35
- don't add the ldap library and include paths to the compiler flags
Wed Oct 30 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-34
- link the ldap helper directly with libresolv
2004-09-09 03:21:09 +00:00
cvsdist
554fe7e8cc auto-import changelog data from autofs-3.1.7-33.src.rpm
Tue Aug 27 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-33
- rebuild
2004-09-09 03:21:03 +00:00
cvsdist
a12e533b35 auto-import changelog data from autofs-3.1.7-32.src.rpm
Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2004-09-09 03:21:01 +00:00
cvsdist
4798498e13 auto-import changelog data from autofs-3.1.7-31.src.rpm
Tue Jun 11 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-31
- try LDAPv3 when connecting to LDAP servers
Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
Thu May 16 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-29
- rebuild in new environment
2004-09-09 03:20:56 +00:00
cvsdist
98deaa37ab auto-import changelog data from autofs-3.1.7-28.src.rpm
Tue Apr 02 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-28
- try to properly handle nisplus maps (patch from Steve Foster via the
    autofs mailing list)
- override the STRIP makefile variable to not strip binaries (that's the
    build root policy's job)
2004-09-09 03:20:50 +00:00
cvsdist
df58b69130 auto-import changelog data from autofs-3.1.7-27.src.rpm
Mon Apr 01 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-27
- tweak the init script shutdown yet again, this time to prevent needless
    spewage at shutdown-time (#62147)
- only look at the nis auto.master when nsswitch lists "nis", not also when
    it lists "nisplus"
Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-26
- rebuild in new environment
Wed Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-25
- rebuild in new environment
Wed Jan 09 2002 Tim Powers <timp@redhat.com> 3.1.7-24
- automated rebuild
Fri Oct 26 2001 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-23
- bump release and rebuild to get libhesiod dependency right
Fri Oct 12 2001 Nalin Dahyabhai <nalin@redhat.com> 3.1.7-22
- enable hesiod lookup module
2004-09-09 03:20:44 +00:00