Patch Name: PHNE_5413 Patch Description: s700_800 10.00 fixes telnet(1) CPU consumption problem Creation Date: 95/04/07 Post Date: 95/04/18 Repost: 95/12/29 The patch was modified to allow installation on HP-UX 10.01. Repost: 96/01/15 The patch was modified to disallow installation on HP-UX 10.01. The patch is only intended for HP-UX 10.00. Hardware Platforms - OS Releases: s700: 10.00 s800: 10.00 Products: N/A Filesets: InternetSrvcs.INETSVCS-RUN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_5413 Symptoms: PHNE_5413: The following symptoms correspond to the descriptions in the defect descriptions field for PHNE_5413: 1. The telnet(1) command consumes a large percentage of the CPU when: a. Running in the background (using the Bourne shell) b. Having its input redirected from a file (such as /dev/null) c. Having its input supplied via a pipe. Defect Description: PHNE_5413: The following defect descriptions are for PHNE_5413: 1. The problem is that the telnet(1) command continues to poll its input even if it has reached the end-of-file and is not a tty. This incessant polling causes the CPU consumption. SR: 5003222901 Patch Files: /usr/bin/telnet what(1) Output: /usr/bin/telnet: Copyright (c) 1988 Regents of the University of Cali fornia. main.c 1.10 (Berkeley) 11/18/88 Revision 1.1.110.2 PHNE_5413 Wed Apr 5 18:05:01 GMT 1995 commands.c 1.15 (Berkeley) 2/6/89 network.c 1.13 (Berkeley) 6/29/88 ring.c 1.10 (Berkeley) 6/29/88 sys_bsd.c 1.16 (Berkeley) 11/29/88 telnet.c 5.38 (Berkeley) 2/6/89 terminal.c 1.13 (Berkeley) 6/29/88 tn3270.c 1.16 (Berkeley) 11/30/88 utilities.c 1.11 (Berkeley) 2/6/89 cksum(1) Output: 86116281 53248 /usr/bin/telnet Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHNE_5399: s700: 9.01 9.03 9.05 s800: 9.00 9.04 Patch Package Size: 100 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 PHNE_5413 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true -s /tmp/PHNE_5413.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_5413. 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 PHNE_5413.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: swpackage -s /tmp/PHNE_5413.depot -x target_type=tape -d /dev/rmt/0m PHNE_5413 Special Installation Instructions: None