Patch Name: PHCO_18422 Patch Description: s700_800 10.10 tsm(1) cumulative patch Creation Date: 99/04/26 Post Date: 99/04/30 Hardware Platforms - OS Releases: s700: 10.10 s800: 10.10 Products: N/A Filesets: TerminalMngr.TERM-MNGR-MIN Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_18422 Symptoms: PHCO_18422: 1. tsm(1) fails with "permission denied" message while opening ttys. 2. logname(1) fails on sessions spawned by tsm(1). PHCO_16351: Master terminal hangs in the event its slave fails to open. This results in a window that hangs. Defect Description: PHCO_18422: 1. tsm(1) fails with "permission denied" message while opening ttys. This is due to an incorrect verification method used for the master-slave tty pair. The previous fix used "/dev/ptym/clone" instead of master pty and the corresponding changes were not made in the verfication process. Resolution: During the verification process, check whether the clone device is used instead of the master pty. 2. logname(1) fails with "could not get login name" message on tsm sessions. This is due to incorrect utmp entries being written to the /etc/utmp file by tsm(1). Resolution: Write only the base name of the tty to the /etc/utmp file. PHCO_16351: Master terminal hangs in the event its slave fails to open. This results in a window that hangs. This is because of the searching technique used to locate a free master/slave pair. SR: 4701421222 5003451955 5003457382 5003326710 4701400168 Patch Files: /usr/bin/tsm /usr/bin/tsmstart /usr/tsm/sys/tsm.root /usr/tsm/sys/tsm.utmp what(1) Output: /usr/bin/tsm: $Revision: 70.1 $ Copyright (c) 1990 by SSSI PATCH_10_10: facetterm.o commonsend.o ftdecode.o ftw indow.o ftcommand.o ftmodes.o ftterm.o ftter mio.o ftoptions.o ftextra.o attribute.o char acter.o perwindow.o mode.o talksend.o ftkeys .o statusline.o lineattr.o pages.o func.o ta bs.o version.o pc_mode.o check.o output.o co ntrol8.o errors.o clear.o print.o margins.o paste.o graph.o scroll.o capture.o protect.o foreign.o text.o commonread.o fixassign.o i swindow.o wincommon.o set.o lines.o onstatus .o activecom.o rows.o hpattr.o keystroke.o v isible.o info.o tpnotify.o commonopt.o stora ge.o person.o keyboard.o meta.o answer.o com mandmap.o box.o fct_ioctl.o substitute.o gra phscr.o sideeffect.o string.o ibmcontrol.o m ysystem.o infoanswer.o scramble.o 99/04/26 /usr/bin/tsmstart: $Header: tsmstart,v 72.2 94/04/04 14:13:14 ssa Exp $ /usr/tsm/sys/tsm.root: $Revision: 70.1.1.1 $ Copyright (c) 1990 by SSSI PATCH_10_10: fct_root.o 99/04/26 /usr/tsm/sys/tsm.utmp: $Revision: 70.1.1.1 $ Copyright (c) 1990 by SSSI PATCH_10_10: fct_utmp.o 99/04/26 cksum(1) Output: 1361585346 360448 /usr/bin/tsm 3012846993 635 /usr/bin/tsmstart 773261655 12288 /usr/tsm/sys/tsm.root 2650316916 16384 /usr/tsm/sys/tsm.utmp Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_16351 Equivalent Patches: PHCO_18421: s700: 10.00 10.01 s800: 10.00 10.01 PHCO_18423: s700: 10.20 s800: 10.20 PHCO_18424: s700: 11.00 s800: 11.00 Patch Package Size: 440 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_18422 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_18422.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_18422.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_18422. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_18422.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_18422.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None