Commit Graph

475 Commits

Author SHA1 Message Date
ikent
948a1c8ca5 - Add more general patch to translate "_" to "." in map names. (bz #147765) 2006-02-01 12:07:20 +00:00
ikent
2de6095f38 - Add patch to use LDAP_DEPRICATED compile option. (bz #173833) 2006-01-25 05:43:21 +00:00
ikent
d12fa8db30 - 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.
2006-01-19 12:39:22 +00:00
Jesse Keating
69756b448c gcc update bump 2005-12-09 22:39:43 +00:00
Jeffrey E. Moyer
920c716573 - 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.
2005-11-17 13:46:18 +00:00
Jeffrey E. Moyer
97c87223a3 - Fixed the sort option to use -k 1. 2005-11-07 13:08:41 +00:00
Jeffrey E. Moyer
5a594f8d33 - The sort command no longer accepts options of the form "+0". This broke
auto.net, so the option was removed. Fixes bz #172111.
2005-11-04 00:17:58 +00:00
Jeffrey E. Moyer
7805dcb079 - Check the return code of is_local_addr in get_best_mount. (bz #169523) 2005-10-26 22:44:34 +00:00
Jeffrey E. Moyer
5dc2273ed9 - 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.
2005-10-26 19:50:31 +00:00
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