Patch Name: PHCO_19306 Patch Description: s700_800 11.04 (VVOS) tar(1) exit code for nonfatal errors Creation Date: 99/07/21 Post Date: 99/09/08 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_19306 Symptoms: PHCO_19306: Port HP-UX patch PHCO_13542 to VVOS. Based on HP-UX patch PHCO_13542: tar returns an exit code of 0 when it should return nonzero. This is for the case where a nonfatal error occurs, after which tar continues processing the remaining files. Defect Description: PHCO_19306: Port HP-UX patch PHCO_13542 to VVOS. Based on HP-UX patch PHCO_13542: If tar encounters a nonfatal error while processing a file, it prints an error message and continues processing the remaining files. If at least one such nonfatal error occurs, tar should return a nonzero exit code. SR: 5003396739 Patch Files: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /sbin/tar /usr/bin/tar what(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /sbin/tar: $Revision: 82.4.1.2 $ CUPROS_IC23B //1 /ux/core/libs/libc/archive_pa1/libc.a_ID Oct 21 1997 13:33:50 PATCH_11_00: tar.o 97/12/22 OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/tar: $Revision: 82.4.1.2 $ PATCH_11_00: tar.o 97/12/22 cksum(1) Output: OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 3294932969 290816 /sbin/tar OS-Core.UX-CORE,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 1541883082 49152 /usr/bin/tar Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_13542: s700: 11.00 s800: 11.00 Patch Package Size: 350 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_19306 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_19306.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_19306. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_19306.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_19306.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_19306.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_19306.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None