Patch-ID# 100249-14 Keywords: automount symbolic link timeout Synopsis: SunOS 4.1.3: automounter patch Date: Jun/10/96 Solaris release: 1.1 SunOS release: 4.1.3 Note: The automount fixes for SunOS 4.1.2 found in 100249-13 have been moved to patch 103470-01. This patch is available for 4.1.3_U1 as 102684 and for 4.1.4 as 103467. BugId's fixed with this patch: 1241794 1038308 1048875 1044048 1083225 1106249 1055565 1078206 1044136 1129660 Changes incorporated in this version: 1241794 Relevant Architectures: sun4 sun4c sun4m Patches which conflict with this patch: Patches accumulated and obsoleted by this patch: 100797-01 Obsoleted by: Files included with this patch: README automount Problem description: 100249-14 --------- Bug 1241794 Automount cannot use replicated filesystems from the same server. 100249-13 --------- Added error message to report that a loopback mount was rejected because it is a hierarchal mount. Hierarchal mounts can cause automount deadlocks. This was first fixed in 100249-08. An error message was needed to inform the user that an automount map contains an invalid entry. 100249-12 --------- Introduced locking of /etc/mtab in auto_mount.c, in order to resolve problems with rpc.rexd. 100249-11 --------- Updated source directory per customer's request, no code change. Bug-ID 1044136 -------------- The maximum size of UDP RPC messages is 8K under ONC RPC 4.0, therefore callrpc() will be blocked due to this limit. Bug-ID 1078206 -------------- Problem with recursive mounts 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 : 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. Installation Instructions: 1) As root, save a copy of the original automount file: mv /usr/etc/automount /usr/etc/automount.fcs 2) Install the new version of automount: cp `arch -k`/automount /usr/etc/automount chown root /usr/etc/automount chgrp staff /usr/etc/automount chmod 755 /usr/etc/automount 3) Reboot the system.