Patch Name: PHCO_24440 Patch Description: s700_800 11.11 cumulative cpio(1) patch Creation Date: 01/07/11 Post Date: 01/08/07 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_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_24440 Symptoms: PHCO_24440: ( SR:8606204271 CR:JAGad73450 ) The source file is removed when cpio attempts to "pass file to self" as root. Defect Description: PHCO_24440: ( SR:8606204271 CR:JAGad73450 ) When attempting to "pass file to self" as root, cpio does not protect the source file. Resolution: The test that determines if the target file is the source file in passthrough mode was moved to just after the lstat so that the file is checked to ensure that it is not being restored before it gets unlinked. SR: 8606204271 Patch Files: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/cpio /usr/lib/nls/msg/C/cpio.cat what(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/cpio: cpio.c $Date: 2001/07/06 13:36:25 $Revision: r11.11/ 1 PATCH_11.11 (PHCO_24440) /usr/lib/nls/msg/C/cpio.cat: None cksum(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 1294062151 53248 /usr/bin/cpio 3392433514 5176 /usr/lib/nls/msg/C/cpio.cat Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_24168: s700: 11.00 s800: 11.00 Patch Package Size: 80 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_24440 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_24440.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_24440. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_24440.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_24440.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_24440.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None