Commit Graph

336 Commits

Author SHA1 Message Date
Ian Kent
18373e6e09 - fix file map lookup when reading included or nsswitch sources.
- a regression introduced by file map lookup optimisation in rev 9.
2009-03-17 02:51:24 +00:00
Ian Kent
06c6ae6974 - add LSB init script parameter block. 2009-03-13 03:07:24 +00:00
Ian Kent
923ea051de - another easy alloca replacements fix. 2009-03-13 01:10:58 +00:00
Ian Kent
4816d7da62 - fix return start status on fail.
- fix double free in expire_proc().
2009-03-12 03:16:04 +00:00
Ian Kent
07e6995bc9 - fix bad token declaration in master map parser. 2009-02-25 03:45:10 +00:00
Ian Kent
04a8b6d8f9 - correct mkdir command in %%install section, bz481132. 2009-02-25 02:34:12 +00:00
Ian Kent
16a3693853 - fix array out of bounds accesses and cleanup couple of other alloca()
calls.
- Undo mistake in copy order for submount path introduced by rev 11 patch.
- add check for alternate libxml2 library for libxml2 tsd workaround.
- add check for alternate libtirpc library for libtirpc tsd workaround.
- cleanup configure defines for libtirpc.
- add WITH_LIBTIRPC to -V status report.
- add libtirpc-devel to BuildRequires.
- add nfs mount protocol default configuration option.
2009-02-24 04:16:36 +00:00
Jesse Keating
fac65808ae - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 03:22:16 +00:00
Ian Kent
d858d36499 - fix mntent.h not included before use of setmntent_r(). 2009-02-19 00:15:32 +00:00
Ian Kent
c5187b0dbf - fix hosts map use after free.
- fix uri list locking (again).
- check for stale SASL credentials upon connect fail.
- add "forcestart" and "forcerestart" init script options to allow use of
    5.0.3 strartup behavior if required.
- always read entire file map into cache to speed lookups.
- make MAX_ERR_BUF and PARSE_MAX_BUF use easier to audit.
- make some easy alloca replacements.
- update to configure libtirpc if present.
- update to provide ipv6 name and address support.
- update to provide ipv6 address parsing.
2009-02-16 04:01:39 +00:00
Ian Kent
ad62197f9f - rename program map parsing bug fix patch.
- use CLOEXEC flag functionality for setmntent also, if present.
2009-02-05 07:00:17 +00:00
Ian Kent
9a5a39f9f2 - rename program map parsing bug fix patch.
- use CLOEXEC flag functionality for setmntent also, if present.
2009-02-05 06:42:21 +00:00
Jeffrey E. Moyer
1d2ef99973 - fix a bug in the program map parsing routine
- Resolves: bz#481008
2009-01-21 21:51:36 +00:00
Ian Kent
3dce4e3339 - fix typo in CLOEXEC patch again? 2009-01-15 04:31:39 +00:00
Ian Kent
b04561f205 - fix negative caching of non-existent keys.
- fix ldap library detection in configure.
- use CLOEXEC flag functionality if present.
- fix select(2) fd limit.
- make hash table scale to thousands of entries.
2009-01-15 03:47:47 +00:00
Ian Kent
c267c68a0b - fix nested submount expire deadlock. 2008-12-03 05:15:25 +00:00
Ian Kent
97a6e5e618 - fix libxml2 version check for deciding whether to use workaround. 2008-11-19 07:45:02 +00:00
Ian Kent
2d8cc4046b - also remove references to patches included in release 5.0.4 from spec
file.
2008-11-11 08:13:12 +00:00
Ian Kent
46acb50978 - Fix tag confusion. 2008-11-11 08:07:55 +00:00
Ian Kent
226cfba247 Remove patches included in the 5.0.4 release. 2008-11-11 08:04:36 +00:00
Ian Kent
0ccc5b5da0 - Upstream source version 5.0.4. 2008-11-11 07:58:04 +00:00
Ian Kent
1f9dcbd0f0 - correct buffer length setting in
autofs-5.0.3-fix-ifc-buff-size-fix.patch.
2008-11-11 05:56:09 +00:00
Ian Kent
c3cbcaeb45 - fix two latest patches not applying. 2008-11-02 03:13:46 +00:00
Ian Kent
ea444dc7d4 - fix segv during library re-open.
- fix incorrect pthreads condition handling for expire requests.
- fix master map lexer eval order.
- fix bad alloca usage.
2008-11-02 02:27:21 +00:00
Ian Kent
d55e640fa8 - don't close file handle for rootless direct mounti-mount at mount.
- wait submount expire thread completion when expire successful.
- add inadvertantly ommitted server list locking in LDAP module.
2008-10-23 03:24:17 +00:00
Ian Kent
c79aa41303 - add map-type-in-map-name fix patch to sync with upstream and RHEL.
- don't readmap on HUP for new mount.
- add NIS_PARTIAL to map entry not found check and fix use after free bug.
2008-10-10 08:55:18 +00:00
Ian Kent
883768c8fc - fix fd leak at multi-mount non-fatal mount fail.
- fix incorrect multi-mount mountpoint calcualtion.
2008-09-26 06:07:00 +00:00
Ian Kent
50a4d88ce0 - add upstream bug fixes
- bug fix for mtab check.
- bug fix for zero length nis key.
- update for ifc buffer handling.
- bug fix for kernel automount handling.
- warning: I found a bunch of patches that were present but not being
    applied.
2008-09-19 09:00:03 +00:00
Ian Kent
3685ec8873 - add upstream bug fix patches
- add command line option to override is running check.
- don't use proc fs for is running check.
- fix fail on included browse map not found.
- fix incorrect multi source messages.
- clear stale flag on map read.
- fix proximity other rpc ping timeout.
- refactor mount request vars code.
- make handle_mounts startup condition distinct.
- fix submount shutdown handling.
- try not to block on expire.
- add configuration paramter UMOUNT_WAIT.
- fix multi mount race.
- fix nfs4 colon escape handling.
- check replicated list after probe.
- add replicated server selection debug logging.
- update replicated server selection documentation.
- use /dev/urandom instead of /dev/random.
- check for mtab pointing to /proc/mounts.
- fix interface config buffer size.
- fix percent hack heap corruption.
2008-08-25 04:47:37 +00:00
Tom Callaway
4fa4332422 fix license tag 2008-07-14 19:11:58 +00:00
Ian Kent
e9a49465fc Take net-tools out of BuildRequires. 2008-06-30 10:30:21 +00:00
Ian Kent
2740dec539 Update BuildRequires with net-tools 2008-06-30 10:24:42 +00:00
Ian Kent
239613e306 - don't abuse the ap->ghost field on NFS mount.
- multi-map doesn't pickup NIS updates automatically.
- eliminate redundant DNS name lookups.
- mount thread create condition handling fix.
- allow directory create on NFS root.
- check direct mount path length.
- fix incorrect in check in get user info.
- fix a couple of memory leaks.
2008-06-30 06:15:25 +00:00
Ian Kent
2f766d9e4c - fix revision number. 2008-05-14 06:03:26 +00:00
Ian Kent
6a06040828 - update patches, documentation and comments only change.
- rename patch and add to CVS.
2008-05-14 06:02:09 +00:00
Ian Kent
d5fc0dc376 - update patches, documentation and comments only change. 2008-05-14 05:54:39 +00:00
Ian Kent
c3a32a3333 - check for nohide mounts (bz 442618).
- ignore nsswitch sources that aren't supported (bz 445880).
2008-05-12 06:13:46 +00:00
Ian Kent
cc758546cf - fix typo in patch for incorrect pthreads condition handling patch. 2008-04-17 06:57:10 +00:00
Ian Kent
7342f18e41 - fix incorrect pthreads condifion handling for mount requests. 2008-04-14 05:53:44 +00:00
Ian Kent
5a9bd97979 - and another try at fixing lexer matching map type in map name. 2008-04-01 03:57:45 +00:00
Ian Kent
510e885d21 - another try a fixing lexer matching map type in map name. 2008-03-30 03:58:30 +00:00
Ian Kent
4244e9bb1d - fix lexer ambiguity in match when map type name is included in map name. 2008-03-26 03:43:46 +00:00
Ian Kent
1d72a09cf5 - revert miscellaneous device node related patches.
- add missing check for zero length NIS key.
- fix incorrect match of map type name when included in map name.
- update rev 7 sasl callbacks patch.
2008-03-24 05:17:20 +00:00
Ian Kent
beeac84550 - add patch to initialize sasl callbacks unconditionally on autofs LDAP
lookup library load.
2008-03-20 02:44:49 +00:00
Ian Kent
e6cf324f87 - fix expire calling kernel more often than needed.
- fix unlink of mount tree incorrectly causing autofs mount fail.
- add miscellaneous device node interface library.
- use miscellaneous device node, if available, for active restart.
- device node and active restart fixes.
- update is_mounted to use device node ioctl, if available.
2008-02-25 00:40:55 +00:00
Ian Kent
eb1a40f905 - another fix for don't fail on empty master map. 2008-02-01 07:12:55 +00:00
Ian Kent
5a1604c521 - correction to the correction for handling of LDAP base dns with spaces.
- avoid using UDP for probing NFSv4 mount requests.
- use libldap instead of libldap_r.
2008-01-25 05:41:00 +00:00
Ian Kent
4fa32e7ca3 - catch "-xfn" map type and issue "no supported" message.
- another correction for handling of LDAP base dns with spaces.
2008-01-21 03:32:04 +00:00
Ian Kent
cf2ca1e8e0 - correct configure test for ldap page control functions. 2008-01-14 14:12:53 +00:00
Ian Kent
4e3326018a - update source to version 5.0.3. 2008-01-14 05:48:52 +00:00