Patch Name: PHSS_13277 Patch Description: s700_800 10.X OpenSpool B.01.40 cumulative patch Creation Date: 96/12/03 Post Date: 97/12/10 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 10.20 10.30 s800: 10.00 10.01 10.10 10.20 10.30 Products: OPENSPOOL B.01.40 Filesets: OPENSPOOL.OSPOOL800_10 Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_13277 Symptoms: PHSS_13277: 1. Wrong permissions of the temporary file in the /tmp/ or /var/tmp/ directory when the file is piped to np. 2. The duplicate option is missing in the npmv command. 3. In the npui "UPDATE->SYSTEM->Action Menu->Add System" screen the message "Changing realm data" remains even after the task is performed. 4. npuix core dumps after the action "Change paper" is performed. 5. The "ChangePaper" action in npui or npuix could cause a PALLADIUM ERROR. 6. Errors in the npui "Change System" screen behavior. 7. Entries in the testprint.sh script are not optimized. 8. nplpdout core dumps with printer names longer than 36 characters. 9. npui cannot show more than 500 print requests. Defect Description: PHSS_13277: 1. Permissions of the temporary file, created by the np command, in the /tmp/ or /var/tmp/ directory were not correct. 2. The npmv command has an additional -D option. With the use of the new option you may copy a request from an original queue to another queue, or to the same queue without deleting the request from the original queue. The action "Copy Request" is also available in the npui "Request" screen. Below you will find the new usage of the npmv command: Usage: npmv [-h] -q queue|asc_name [-C yes|no] [-P form] [-F fonts] [-D] {-S selection_list [-r yes|no]}| | spoolfile_ids 3. When a system is added to a realm with the use of the npui sequence "UPDATE->SYSTEM->Action Menu->Add System" and the action "Perform Task" is performed the info bottom line says "Changing realm data.". As the action is performed the line changes to "Type values, and press Perform Task." If the "Comment on System" field in the "Update: Add Systems" dialog window was filled, the "Changing realm data." string stayed there even after the task was performed. 4. If with npuix the "Change paper" action was performed on one or more selected printers a core dump could occur. 5. When in npui or npuix in the "Devices" screen more than one device was selected when performing the action "Change Paper", and the chosen Form had a testprint file defined the following error message appeared: PALLADIUM ERROR: supervisor PdReportEvent is not in the attention state Cannot load/align form on device v2, because it is already in the load/align dialog. PALLADIUM ERROR: supervisor PdReportEvent is not in the attention state Cannot load/align form on device v2, because it is already in the load/align dialog. 6. If a system was deleted from a realm one of the remaining systems was shown twice in the npui "Change System" screen. If an non-existent system was added to the realm the action was not performed but the system remained in the list. 7. During the "Superupdate" phase, if new devices or queues were configured non optimized entries were generated in the testprint.sh script. 8. If a BSD printer name was longer than 36 characters you could get a core dump. 9. All forms in the npui "REQUESTS" screen could show only 500 print requests. SR: 5003387787 Patch Files: /opt/openspool/sw-master/vendor-sw/bin/np /opt/openspool/sw-master/vendor-sw/server/qserver /opt/openspool/sw-master/vendor-sw/bin/npui /opt/openspool/sw-master/vendor-sw/bin/npuix /opt/openspool/sw-master/vendor-sw/bin/bsdnp /opt/openspool/sw-master/vendor-sw/networkif/nplpdout /opt/openspool/sw-master/vendor-sw/config-script/superupdate /opt/openspool/sw-master/vendor-sw/config/shell_cmd.idx /opt/openspool/sw-master/vendor-sw/config/shell_cmd.dat /opt/openspool/sw-master/vendor-sw/config/super_cmd.idx /opt/openspool/sw-master/vendor-sw/config/super_cmd.dat /opt/openspool/sw-master/vendor-sw/config/valid_cmd.idx /opt/openspool/sw-master/vendor-sw/config/valid_cmd.dat /opt/openspool/sw-master/vendor-sw/bin/npadmin /opt/openspool/sw-master/vendor-sw/message/C/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/C/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/en/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/en/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/fr/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/fr/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/de/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/de/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/es/iso88591/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/es/roman8/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/ja/SJIS/ openspool.cat /opt/openspool/sw-master/vendor-sw/message/ja/eucJP/ openspool.cat /opt/openspool/sw-master/vendor-sw/screen/C/uidatadic /opt/openspool/sw-master/vendor-sw/screen/C/uiforms /opt/openspool/sw-master/vendor-sw/screen/de/iso88591/ uiforms /opt/openspool/sw-master/vendor-sw/screen/de/roman8/uiforms /opt/openspool/sw-master/vendor-sw/screen/de/iso88591/ uidatadic /opt/openspool/sw-master/vendor-sw/screen/de/roman8/ uidatadic /opt/openspool/sw-master/vendor-sw/screen/fr/iso88591/ uiforms /opt/openspool/sw-master/vendor-sw/screen/fr/roman8/uiforms /opt/openspool/sw-master/vendor-sw/screen/fr/iso88591/ uidatadic /opt/openspool/sw-master/vendor-sw/screen/fr/roman8/ uidatadic /opt/openspool/sw-master/vendor-sw/screen/es/iso88591/ uiforms /opt/openspool/sw-master/vendor-sw/screen/es/roman8/uiforms /opt/openspool/sw-master/vendor-sw/screen/es/iso88591/ uidatadic /opt/openspool/sw-master/vendor-sw/screen/es/roman8/ uidatadic /opt/openspool/sw-master/vendor-sw/man/man1.Z/npmv.1 what(1) Output: /opt/openspool/sw-master/vendor-sw/bin/np: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/server/qserver: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/bin/npui: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/bin/npuix: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/bin/bsdnp: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/networkif/nplpdout: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/config-script/ superupdate: HP OpenSpool B.01.41 11/27/97 superupdate 2.1.1.14 94/07/28 /opt/openspool/sw-master/vendor-sw/config/shell_cmd.idx: None /opt/openspool/sw-master/vendor-sw/config/shell_cmd.dat: None /opt/openspool/sw-master/vendor-sw/config/super_cmd.idx: None /opt/openspool/sw-master/vendor-sw/config/super_cmd.dat: None /opt/openspool/sw-master/vendor-sw/config/valid_cmd.idx: None /opt/openspool/sw-master/vendor-sw/config/valid_cmd.dat: None /opt/openspool/sw-master/vendor-sw/bin/npadmin: OpenSpool B.01.41 11/27/97 $ /opt/openspool/sw-master/vendor-sw/message/C/iso88591/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/C/roman8/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/en/iso88591/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/en/roman8/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/fr/iso88591/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/fr/roman8/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/de/iso88591/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/de/roman8/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/es/iso88591/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/es/roman8/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/ja/SJIS/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/message/ja/eucJP/ openspool.cat: None /opt/openspool/sw-master/vendor-sw/screen/C/uidatadic: None /opt/openspool/sw-master/vendor-sw/screen/C/uiforms: None /opt/openspool/sw-master/vendor-sw/screen/de/iso88591/ uiforms: None /opt/openspool/sw-master/vendor-sw/screen/de/roman8/uiforms: None /opt/openspool/sw-master/vendor-sw/screen/de/iso88591/ uidatadic: None /opt/openspool/sw-master/vendor-sw/screen/de/roman8/ uidatadic: None /opt/openspool/sw-master/vendor-sw/screen/fr/iso88591/ uiforms: None /opt/openspool/sw-master/vendor-sw/screen/fr/roman8/uiforms: None /opt/openspool/sw-master/vendor-sw/screen/fr/iso88591/ uidatadic: None /opt/openspool/sw-master/vendor-sw/screen/fr/roman8/ uidatadic: None /opt/openspool/sw-master/vendor-sw/screen/es/iso88591/ uiforms: None /opt/openspool/sw-master/vendor-sw/screen/es/roman8/uiforms: None /opt/openspool/sw-master/vendor-sw/screen/es/iso88591/ uidatadic: None /opt/openspool/sw-master/vendor-sw/screen/es/roman8/ uidatadic: None /opt/openspool/sw-master/vendor-sw/man/man1.Z/npmv.1: None cksum(1) Output: 91899180 760420 /opt/openspool/sw-master/vendor-sw/bin/np 1924227174 752722 /opt/openspool/sw-master/vendor-sw/server/ qserver 358903710 1736826 /opt/openspool/sw-master/vendor-sw/bin/ npui 2594372017 2820494 /opt/openspool/sw-master/vendor-sw/bin/ npuix 34780625 517897 /opt/openspool/sw-master/vendor-sw/bin/bsdnp 2790331866 209896 /opt/openspool/sw-master/vendor-sw/ networkif/nplpdout 3389913884 40441 /opt/openspool/sw-master/vendor-sw/ config-script/superupdate 2124449061 226 /opt/openspool/sw-master/vendor-sw/config/ shell_cmd.idx 4013294559 846 /opt/openspool/sw-master/vendor-sw/config/ shell_cmd.dat 3322441388 884 /opt/openspool/sw-master/vendor-sw/config/ super_cmd.idx 3849066573 8372 /opt/openspool/sw-master/vendor-sw/config/ super_cmd.dat 1004644450 884 /opt/openspool/sw-master/vendor-sw/config/ valid_cmd.idx 2480496032 104572 /opt/openspool/sw-master/vendor-sw/config/ valid_cmd.dat 1230095054 854986 /opt/openspool/sw-master/vendor-sw/bin/ npadmin 2631288278 160031 /opt/openspool/sw-master/vendor-sw/ message/C/iso88591/openspool.cat 3294418741 159961 /opt/openspool/sw-master/vendor-sw/ message/C/roman8/openspool.cat 3294418741 159961 /opt/openspool/sw-master/vendor-sw/ message/en/iso88591/openspool.cat 3294418741 159961 /opt/openspool/sw-master/vendor-sw/ message/en/roman8/openspool.cat 1979213967 182640 /opt/openspool/sw-master/vendor-sw/ message/fr/iso88591/openspool.cat 1227074654 182640 /opt/openspool/sw-master/vendor-sw/ message/fr/roman8/openspool.cat 1506834743 176654 /opt/openspool/sw-master/vendor-sw/ message/de/iso88591/openspool.cat 1631571269 176582 /opt/openspool/sw-master/vendor-sw/ message/de/roman8/openspool.cat 22762953 180340 /opt/openspool/sw-master/vendor-sw/message/ es/iso88591/openspool.cat 2777828729 180254 /opt/openspool/sw-master/vendor-sw/ message/es/roman8/openspool.cat 3266814558 169578 /opt/openspool/sw-master/vendor-sw/ message/ja/SJIS/openspool.cat 2356036352 169657 /opt/openspool/sw-master/vendor-sw/ message/ja/eucJP/openspool.cat 2891183592 28269 /opt/openspool/sw-master/vendor-sw/screen/ C/uidatadic 1612844414 438519 /opt/openspool/sw-master/vendor-sw/screen/ C/uiforms 3829081488 473229 /opt/openspool/sw-master/vendor-sw/screen/ de/iso88591/uiforms 480289764 473227 /opt/openspool/sw-master/vendor-sw/screen/ de/roman8/uiforms 899694961 28542 /opt/openspool/sw-master/vendor-sw/screen/ de/iso88591/uidatadic 899694961 28542 /opt/openspool/sw-master/vendor-sw/screen/ de/roman8/uidatadic 401330150 450863 /opt/openspool/sw-master/vendor-sw/screen/ fr/iso88591/uiforms 1468987105 450863 /opt/openspool/sw-master/vendor-sw/screen/ fr/roman8/uiforms 3879494853 28305 /opt/openspool/sw-master/vendor-sw/screen/ fr/iso88591/uidatadic 3879494853 28305 /opt/openspool/sw-master/vendor-sw/screen/ fr/roman8/uidatadic 1080258849 466663 /opt/openspool/sw-master/vendor-sw/screen/ es/iso88591/uiforms 1859694716 466442 /opt/openspool/sw-master/vendor-sw/screen/ es/roman8/uiforms 2258420166 28838 /opt/openspool/sw-master/vendor-sw/screen/ es/iso88591/uidatadic 2258420166 28838 /opt/openspool/sw-master/vendor-sw/screen/ es/roman8/uidatadic 2391353558 2146 /opt/openspool/sw-master/vendor-sw/man/ man1.Z/npmv.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_13276: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 Patch Package Size: 13090 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 PHSS_13277 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_13277.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/PHSS_13277.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/PHSS_13277. 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 PHSS_13277.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/PHSS_13277.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: 1. Before the installation of the patch perform the following steps as user spooladm: a) test whether all systems are up and running npact -t -v b) save the current configuration npcshow -E > /var/tmp/config chmod 700 /var/tmp/config c) save the current binding information npstat -E > /var/tmp/bindings chmod 700 /var/tmp/bindings d) Shutdown all queue and device servers in the realm npadmin -A -s Make certain that all queue and device server processes in the realm really have stopped. If required use the npadmin -A -i command to stop all of them. e) Also make sure that no npui/npuix processes are running in the realm f) Also make sure llbd database does not include any invalid entries (use lb_admin tool) 2) Install the patch on all binary masters and on the realm master by following the "Installation Instructions" above. 3) On each binary master and on the realm master as user root execute the following command to recreate the cpio packages: /opt/openspool/update/npinstall -t -v 4) Activate the changes in new release activation mode as user spooladm on the realm master: npact -n -v NOTE: This patch does not update binary master package file (s800_10_bm_pkg.tar.Z) which can be used for an alternative new binary master installation. If such an installation takes place the patch PHSS_13277 has to be installed again on the newly installed binary master.