Commit Graph

409 Commits

Author SHA1 Message Date
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
Ian Kent
0ab9b7b14b - update patch to prevent failure on empty master map.
- if there's no "automount" entry in nsswitch.conf use "files" source.
- add LDAP schema discovery if no schema is configured.
2007-08-28 05:45:31 +00:00
Ian Kent
d206fdab95 - fix "nosymlink" option handling and add desription to man page. 2007-08-22 08:34:12 +00:00
Ian Kent
3df55b8557 - change random multiple server selection option name to be consistent with
upstream naming.
2007-08-21 04:20:57 +00:00
Ian Kent
e676fc4cda - don't fail on empty master map.
- add support for the "%" hack for case insensitive attribute schemas.
2007-08-21 03:37:01 +00:00
Ian Kent
a2032c8fe2 - mark map instances stale so they aren't "cleaned" during updates.
- fix large file compile time option.
2007-07-30 09:10:19 +00:00
Ian Kent
8e33339caa - fix version passed to get_supported_ver_and_cost (bz 249574). 2007-07-27 08:12:52 +00:00
Ian Kent
a76cb5c9b1 - fix parse confusion between attribute and attribute value. 2007-07-24 14:47:41 +00:00
Ian Kent
f7ea4d066a - fix handling of quoted slash alone (bz 248943). 2007-07-20 15:38:21 +00:00
Ian Kent
a0eb49c1a0 - fix wait time resolution in alarm and state queue handlers (bz 247711). 2007-07-18 09:29:49 +00:00
Ian Kent
28f861124d - fix mount point directory creation for bind mounts.
- add quoting for exports gathered by hosts map.
2007-07-16 06:27:30 +00:00
Ian Kent
116833a296 - update multi map nsswitch patch. 2007-06-25 09:25:14 +00:00
Ian Kent
d18ed0ef94 - update multi map nsswitch patch to add man info for multi map syntax. 2007-06-25 09:22:50 +00:00
Ian Kent
64001bdc26 - add missing "multi" map support.
- add multi map nsswitch lookup.
2007-06-25 09:09:51 +00:00
Ian Kent
20ded2bb32 - include krb5.h in lookup_ldap.h (some openssl doesn't implicitly include
it).
- correct initialization of local var in parse_server_string.
2007-06-20 04:06:30 +00:00
Ian Kent
88265cbe1e - Update to upstream release 5.0.2. 2007-06-18 12:28:59 +00:00
Ian Kent
05033492fb - actually add the patch from the previous commit! 2007-06-12 12:45:58 +00:00