Patch Name: PHCO_12140 Patch Description: s700_800 10.X patch cleanup utility Creation Date: 97/09/29 Post Date: 97/10/30 Repost: 00/01/05 A problem has been discovered with superseding patch PHCO_19549. PHCO_12140 is being re-released until a replacement patch is available. Hardware Platforms - OS Releases: s700: 10.00 10.01 10.09 10.10 10.16 10.20 10.24 10.30 s800: 10.00 10.01 10.09 10.10 10.16 10.20 10.24 10.30 Products: N/A Filesets: SW-DIST.SD-CMDS Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_12140 Symptoms: PHCO_12140: - Patches applicable to previous software releases still show up in swlist(1M) output after software is updated. - Patches can be installed in the incorrect order if both superseded patches and their replacements are available from the source depot. Also, both the superseded and replacement patches will be displayed in the output of the swlist(1M) command after the installation completes. PHCO_5400: Old patches take up disk space unnecessarily. Defect Description: PHCO_12140: - The software product installation process does not have any knowledge of which patches should be removed from the SD-UX Installed Product Database (IPD) when a product is updated. The cleanup utility now has an option to update the patch information in the IPD. This cleanup function should be executed whenever software is installed, reloaded, or updated on a system. - If superseded patches and their replacements are installed from a common source during the same swinstall(1M) session all the patches will be installed. The control functions implemented in the control script embedded in the patch depot can not function correctly if the patches are installed concurrently. The cleanup utility now has an option to remove superseded patches from a software depot if the replacement patches are also available in the same depot. PHCO_5400: The cleanup tool is being provided to cleanup patches on customer systems as well as truncate SD log files. SR: 0000000000 Patch Files: /usr/sbin/cleanup /usr/share/man/man1m.Z/cleanup.1m what(1) Output: /usr/sbin/cleanup: $Revision: 2.0 $ /usr/share/man/man1m.Z/cleanup.1m: None cksum(1) Output: 1468579261 29458 /usr/sbin/cleanup 2982922829 2093 /usr/share/man/man1m.Z/cleanup.1m Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_5400 Equivalent Patches: None Patch Package Size: 90 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_12140 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_12140.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_12140.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_12140. 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_12140.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_12140.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch is intended for standalone systems only. The cleanup script included in this patch has not been modified to work correctly on NFS diskless cluster servers.