Commit Graph

475 Commits

Author SHA1 Message Date
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
Ian Kent
41a12c29f1 - Bug 426401: CVE-2007-6285 autofs default doesn't set nodev in /net
[rawhide]
- use mount option "nodev" for "-hosts" map unless "dev" is explicily
    specified.
2007-12-21 10:58:55 +00:00
Ian Kent
8a14e5403a - Bug 397591 SELinux is preventing /sbin/rpc.statd (rpcd_t) "search" to
<Unknown> (sysctl_fs_t).
- prevent fork between fd open and setting of FD_CLOEXEC.
2007-12-18 03:14:11 +00:00
Ian Kent
6dfd3f57d1 - Bug 421371: CVE-2007-5964 autofs defaults don't restrict suid in /net
[rawhide]
- use mount option "nosuid" for "-hosts" map unless "suid" is explicily
    specified.
2007-12-13 09:54:50 +00:00
Jeremy Katz
17f2399905 - rebuild for new ldap 2007-12-06 14:58:48 +00:00
Ian Kent
36ee8299b4 - fix schema selection in LDAP schema discovery.
- check for "*" when looking up wildcard in LDAP.
- fix couple of edge case parse fails of timeout option.
- add SEARCH_BASE configuration option.
- add random selection as a master map entry option.
- re-read config on HUP signal.
- add LDAP_URI, LDAP_TIMEOUT and LDAP_NETWORK_TIMEOUT configuration
    options.
- fix deadlock in submount mount module.
- fix lack of ferror() checking when reading files.
- fix typo in autofs(5) man page.
- fix map entry expansion when undefined macro is present.
- remove unused export validation code.
- add dynamic logging (adapted from v4 patch from Jeff Moyer).
- fix recursive loopback mounts (Matthias Koenig).
- add map re-load to verbose logging.
- fix handling of LDAP base dns with spaces.
- handle MTAB_NOTUPDATED status return from mount.
- when default master map, auto.master, is used also check for auto_master.
- update negative mount timeout handling.
- fix large group handling (Ryan Thomas).
- fix for dynamic logging breaking non-sasl build (Guillaume Rousse).
- eliminate NULL proc ping for singleton host or local mounts.
2007-11-20 07:34:21 +00:00
Bill Nottingham
df1d9bff61 makefile update to properly grab makefile.common 2007-10-15 18:37:51 +00:00
Ian Kent
a3ae010dc4 - add descriptive comments to config about LDAP schema discovery.
- work around segfault at exit caused by libxml2.
- fix foreground logging (also fixes shutdown needing extra signal bug).
2007-09-24 06:58:44 +00:00
Ian Kent
2c0907556a - fix LDAP schema discovery. 2007-09-05 05:11:13 +00:00
Ian Kent
14c99defc6 - add "BuildRequires" e2fsprogs. 2007-08-28 06:14:02 +00:00
Ian Kent
e587061068 - add "BuildRequires" module-init-tools, util-linux and nfs-utils. 2007-08-28 06:12:03 +00:00
Ian Kent
a4dd6fca98 - add "Requires" module-init-tools 2007-08-28 05:54:27 +00:00