Commit Graph

347 Commits

Author SHA1 Message Date
ikent
cf8ef9ad9d - 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).
2006-06-05 03:57:23 +00:00
ikent
0d2d5de452 - update to beta4.
- should address at least bzs 193798, 193770, 193831 and possibly 193832.
2006-06-02 08:36:01 +00:00
ikent
65da2bf2c6 - 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.
2006-05-29 09:09:09 +00:00
ikent
82a7482a31 - fix handling of autofs filesystem mount fail on init. 2006-05-29 06:27:07 +00:00
ikent
e3a311b434 - updated hesiod patch. 2006-05-27 09:23:21 +00:00
ikent
1ddca1fa01 - update hesiod module (Jeff Moyer).
- add mutex to protect against overlapping mount requests.
- update return from mount request to give more sensible NSS_* values.
2006-05-27 07:59:47 +00:00
Jeffrey E. Moyer
f5ccff5144 - Fix the install permissions for auto.master and auto.misc. 2006-05-26 19:37:10 +00:00
ikent
5e20a61587 - fix make install in spec file for new files. 2006-05-25 15:51:06 +00:00
ikent
3fa6517fcf - another mistake "rpcgen" is part of glibc - remove from BuildRequires. 2006-05-25 14:25:27 +00:00
ikent
b118053a13 - commit new source file. 2006-05-25 14:12:57 +00:00
ikent
35dd03f67b -correction in spec file .. oops. 2006-05-25 14:08:51 +00:00
ikent
48435908e8 - put back the hesiod bind patch (to be on the safe side). 2006-05-25 14:06:51 +00:00
ikent
4138982032 - add patch to fix e2fsck error code check (Jeff Moyer). 2006-05-25 14:01:47 +00:00
ikent
6b55212ef4 - forget to update spec file. 2006-05-25 13:45:33 +00:00
ikent
7c747320be - add patch to add sanity checks on rmdir_path and unlink (Jeff Moyer). 2006-05-25 13:33:37 +00:00
ikent
996d2e92d1 - add patch to prevent striping of debug info macro patch (Jeff Moyer). 2006-05-25 09:49:50 +00:00
ikent
748d67c1ed - 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.
2006-05-25 09:23:44 +00:00
ikent
fceac077f4 - add patch to ignore the "bg" and "fg" mount options as they aren't
relevant for autofs mounts (bz #184386).
2006-05-16 09:47:30 +00:00
ikent
f755321cfb - add patch to use "cifs" instead of smbfs and escape speces in share names
(bz #163999, #187732).
2006-05-02 08:58:16 +00:00
ikent
b598ff7746 - 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).
2006-04-11 13:46:25 +00:00
Jesse Keating
1f720d81ef bump for bug in double-long on ppc(64) 2006-02-11 02:01:31 +00:00
Jesse Keating
cea2f4248a bump for new gcc/glibc 2006-02-07 11:04:43 +00:00
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