Patch Name: PHKL_30551 Patch Description: s700_800 11.00 readdir(3C) EINVAL error Creation Date: 04/03/06 Post Date: 04/04/26 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_30551: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30551 Symptoms: PHKL_30551: ( SR:8606235312 CR:JAGae04484 ) For an active directory on VxFS, readdir(3C) may prematurely return NULL and set errno to EINVAL. This problem can cause commands such as ls(1) to fail to find a file in a directory that does actually exist. Defect Description: PHKL_30551: ( SR:8606235312 CR:JAGae04484 ) Due to file removal or reorganization in a directory, the offset into a directory used by readdir(3C) might not point to the beginning of a valid directory entry. In this case, readdir(3C) returns NULL and sets errno to EINVAL. Resolution: Code changes were done so that readdir(3C) reads the next valid entry rather than returning EINVAL. Enhancement: No SR: 8606235312 Patch Files: JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs_base.a(vx_dirl.o) JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs_base.a(vx_dirl.o) what(1) Output: JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs_base.a(vx_dirl.o): vx_dirl.c $Date: 2004/03/04 07:41:13 $Revision: r11r os/1 PATCH_11.00 (PHKL_30551) JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs_base.a(vx_dirl.o): vx_dirl.c $Date: 2004/03/04 07:41:13 $Revision: r11r os/1 PATCH_11.00 (PHKL_30551) cksum(1) Output: JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 3642893315 12808 /usr/conf/lib/libvxfs_base.a(vx_dirl.o) JournalFS.VXFS-BASE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 3915161140 20432 /usr/conf/lib/libvxfs_base.a(vx_dirl.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 40 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 PHKL_30551 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30551.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30551. 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 PHKL_30551.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30551.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30551.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None