Patch Name: PHCO_8488 Patch Description: s700_800 10.20 lpspool subsystem patch Creation Date: 96/10/23 Post Date: 96/10/25 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: PrinterMgmt.LP-SPOOL Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_8488 Symptoms: PHCO_8488: 1. lpsched hangs under FIFO full condition 2. Printers go idle even when requests are present in the queue 3. Jobs not printed when remote host(IBM) immediately snaps connection. 4. If a BSD system spooler sends a '\001' to rlp(1) after the control file has been sent, rlp(1) simply ignores the '\001' and removes the entry. 5. lp, cancel, and lpstat hang when forwarding jobs or requests to HPDPS. 6. Implicit requirement that a rlpdeamon client's remote printer name must be the same as its local pseudo name. Defect Description: PHCO_8488: 1. lpsched hangs under FIFO full condition 2. Printers go idle even when requests are present in the queue 3. Jobs not printed when remote host(IBM) immediately snaps connection. 4. If a BSD system spooler sends a '\001' to rlp(1) after the control file has been sent, rlp(1) simply ignores the '\001' and removes the entry. 5. wait call does not properly return when child process (HPDPS gateway) exits. 6. Name of printer is extracted from control file. SR: 5003330688 1653172023 4701323964 5003318188 4701334128 Patch Files: /usr/bin/cancel /usr/bin/disable /usr/bin/enable /usr/bin/lpstat /usr/bin/lp /usr/sbin/lpadmin /usr/sbin/lpsched /usr/sbin/rlpdaemon /usr/sbin/rlp what(1) Output: /usr/bin/cancel: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o ca ncel.o 96/10/23 /usr/bin/disable: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o di sable.o 96/10/23 /usr/bin/enable: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o en able.o 96/10/23 /usr/bin/lpstat: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o lp stat.o 96/10/23 /usr/bin/lp: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o lp .o 96/10/23 /usr/sbin/lpadmin: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o lp admin.o 96/10/23 /usr/sbin/lpsched: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o lp sched.o 96/10/23 /usr/sbin/rlpdaemon: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o rl pdaemon.o 96/10/23 /usr/sbin/rlp: $Revision: 78.29.1.7 $ PATCH_10_DV: /opt/langtools/lib/crt0.o hpux_rel.o rl p.o 96/10/23 cksum(1) Output: 3314432651 40960 /usr/bin/cancel 4012207922 24576 /usr/bin/disable 652114784 16384 /usr/bin/enable 2422921280 45056 /usr/bin/lpstat 545896997 40960 /usr/bin/lp 1153094076 40960 /usr/sbin/lpadmin 884927889 45056 /usr/sbin/lpsched 288768196 65536 /usr/sbin/rlpdaemon 3537304542 24576 /usr/sbin/rlp Patch Conflicts: None Patch Dependencies: s700: 10.20: PHCO_8821 s800: 10.20: PHCO_8821 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_8486: s700: 10.00 10.01 s800: 10.00 10.01 PHCO_8487: s700: 10.10 s800: 10.10 Patch Package Size: 390 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_8488 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_8488.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_8488.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_8488. 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_8488.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_8488.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None