Patch-ID# 100249-07
Keywords: automount symbolic link timeout, jumbo
Synopsis: SunOS 4.1;4.1.1;4.1.2,4.1.3: automounter jumbo patch
Date: Mar/03/93

SunOS release: 4.1, 4.1.1, 4.1.2, 4.1.3

Bug ID's fixed with this patch: 1038308 1048875 1044048 1083225 1106249 1055565

Changes incorporated in this version: 1055565

  Note: Combines patch 100797-01 (Bug 1055565) into this jumbo patch.

Patches which conflict with this patch:

Architectures for which this patch is available: sun3, sun4, sun4c, sun4m

Patches which may conflict with this patch:

Obsoleted by:

Problem description:

Bug-ID 1055565
--------------

Automounter sometimes fails to do a mount.  Get the messages

        nfscast: select: Invalid argument
        trymany: servers not responding: RPC: Unable to receive

The invalid argument to select is due to a negative timeout being
supplied to select().


Bug 1038308:
------------
	In 4.1, the automounter sets up a different symbolic link
        5 min. after the first access. This happens if there are
        multiple locations for the same mount in the auto mount
        map entry, and those locations don't share the same subdir.

Bug 1048875
-----------

	The automounter forks due to rpc.rexd.  This problem
	is usually seen when using the on command.  The automounter
	will complain it cannot find /etc/mtab.

Bug 1044048
-----------

	Automounter consumes a steady, increasing percentage of memory.
	Coinciding with this is the consumption of swap space as well.

Bug 1083225:
------------

        If an entry is removed from /etc/mtab while the automounter
        daemon is reading it, it is possible for the automounter to
        get into a state where it will loop forever, printing
        "WARNING: /etc/mtab: line <number>: bad entry" on the console
        and hang the server.

Bug 1106249:
------------
        Automount behaves strangely after inserts a 28th
	server to one mount point in /etc/auto.direct.
	The reason for this is automount only support up to 20 servers 
	for 1 mount point on 4.x.    This patch changes this limitation from 
	20 to 128.   In Solaris 2.0, there will be no limitation on this.

INSTALL:
 As root:
 mv /usr/etc/automount /usr/etc/automount.fcs

 Install the new version of automount:
 cp `arch -k`/{OS Release}/automount /usr/etc/automount
 chown root /usr/etc/automount
 chgrp staff /usr/etc/automount
 chmod 755 /usr/etc/automount
