Patch Name: PHCO_12894 Patch Description: s700_800 10.20 lpspool subsystem cumulative patch Creation Date: 97/11/21 Post Date: 97/11/28 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_12894 Symptoms: PHCO_12894: 1. Jobs submitted to a LP remote printer that points to a "disabled" remote HPDPS printer are discarded. 2. When more than one jobs, whose job sequence numbers are the same, are simultaneously submitted from the same host to the same remote printer through RFC1179 protocol, rlpdaemon(1M) fails to spool the jobs on the remote system due to data/control file name collision. 3. All jobs from any HPDPS printers are spooled under the /usr/spool/lp/request/PDRequest by rlpdaemon(1M). This single PDRequest directory increases the chance of file name collision due to simultaneous job submission. PHCO_11462: 1. Cancelling a lp job with empty control file clears the whole queue. 2. Printer gets disabled on cancelling a printing job. PHCO_10891: 1. "lpstat -i -o" doesn't inhibit the reporting of the remote status if a HPDPS printer name is specified. This problem happens only when the HPDPS patch, PHCO_10608, is installed on the system. Because of this, CDE print manager doesn't work correctly for HPDPS printers. PHCO_10749: 1. LP-spool hang or qstatus corrupt when /var full log says:Bogus request 2. Parent lpsched hangs when lpalt is used to move a request. 3. Model scripts does not handle SIGTERM any more. 4. lpsched introduced 5 sec delay between prints at 10.20 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_12894: 1. If the remote HPDPS printer is disabled, rlpdaemon(1M) returns a negative acknowledgement to the rlp(1M) client. The local LP configured printer is then disabled. Therefore, jobs will remain in the local LP configured printer. 2. Enhancements are made in rlpdaemon(1M) to introduce lock file to ensure mutual exclusive access to the control and data files, avoiding file name collision. 3. Reduce the chance of file name collision by using a separate spooling directory underneath /usr/spool/lp/request/PDRequest for each HPDPS printer. For example: /usr/spool/lp/request/PDRequest/ PHCO_11462: 1. Cancelling a lp job with empty control file clears the whole queue. 2. Printer gets disabled on cancelling a printing job. PHCO_10891: 1. "lpstat -i -o" doesn't inhibit the reporting of the remote status if a HPDPS printer name is specified. This problem happens only when the HPDPS patch, PHCO_10608, is installed on the system. Because of this, CDE print manager doesn't work correctly for HPDPS printers. PHCO_10749: 1. LP-spool hang or qstatus corrupt when /var full log says:Bogus request 2. Parent lpsched hangs when lpalt is used to move a request. 3. Model scripts does not handle SIGTERM any more. 4. lpsched introduced 5 sec delay between prints at 10.20 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. SR: 5003347351 4701356097 4701350769 5003359760 1653198119 1653203109 1653208504 5003330688 1653172023 4701323964 5003318188 4701334128 Patch Files: /usr/lib/lp/model/PCL5 /usr/lib/lp/model/rmodel /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/lib/lp/model/PCL5: /usr/lib/lp/model/PCL5: $Header: PCL5,v 76.2.1.2 97/04/28 19:49:20 ssa Exp $ : /usr/lib/lp/model/rmodel: /usr/lib/lp/model/rmodel: $Header: rmodel,v 72.3.1.2 97/04/28 19:49:14 ssa Exp $: /usr/bin/cancel: /usr/bin/cancel: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o cancel.o 97/11/21: /usr/bin/disable: /usr/bin/disable: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o disable.o 97/11/21: /usr/bin/enable: /usr/bin/enable: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o enable.o 97/11/21: /usr/bin/lpstat: /usr/bin/lpstat: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o lpstat.o 97/11/21: /usr/bin/lp: /usr/bin/lp: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o lp.o 97/11/21: /usr/sbin/lpadmin: /usr/sbin/lpadmin: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o lpadmin.o 97/11/21: /usr/sbin/lpsched: /usr/sbin/lpsched: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o lpsched.o 97/11/21: /usr/sbin/rlpdaemon: /usr/sbin/rlpdaemon: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o rlpdaemon.o 97/11/21: /usr/sbin/rlp: /usr/sbin/rlp: $Revision: 78.29.1.26 $ PATCH_10_20: hpux_rel.o rlp.o 97/11/21: cksum(1) Output: 495776753 44571 /usr/lib/lp/model/PCL5 332041795 5287 /usr/lib/lp/model/rmodel 3828525985 40960 /usr/bin/cancel 1888903724 24576 /usr/bin/disable 2749195382 16384 /usr/bin/enable 642584644 49152 /usr/bin/lpstat 2132983738 45056 /usr/bin/lp 2104075196 40960 /usr/sbin/lpadmin 243537416 49152 /usr/sbin/lpsched 3478830573 69632 /usr/sbin/rlpdaemon 1471173422 24576 /usr/sbin/rlp Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_8488 PHCO_10749 PHCO_10891 PHCO_11462 Equivalent Patches: None Patch Package Size: 470 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_12894 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_12894.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_12894.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_12894. 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_12894.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_12894.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None