Patch Name: PHCO_26022 Patch Description: s700_800 10.20 ls(1) cumulative patch Creation Date: 02/02/22 Post Date: 02/02/26 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_26022 Symptoms: PHCO_26022: ls(1) is not showing the right timestamp after installation of PHCO_20441. PHCO_13544: Patch built with libraries incorporating UTF8 changes. PHCO_9626: Original problem was not fixed in PHCO_9584 due to the build with the inappropriate version of libc. PHCO_9584: /usr/bin/ls does not benefit from fixes to shared libc. The latest libc patch, PHCO_9577 fixes the following problem: When customer runs command: setprivgrp -g LOCKRDONLY, the NIS system hangs. Defect Description: PHCO_26022: SR: 8606225074 CR: JAGad94163 The time (Daylight Savings Time) displayed by ls(1) command is incorrect when compared with the time given by date(1) command. Example : $ export TZ=SAT3DST2,M10.2.0/00:00:00,M2.3.0/00:00:00 $ date; touch file; ls -l file Wed Oct 31 06:37:39 DST 2001 -rw-r--r-- 1 users ssgr 0 Oct 31 05:37 file Note the difference in time(DST) displayed by /usr/bin/ls and /usr/bin/date. This is because the date(1) is using the shared standard C library, which is the latest library having the fix for displaying the correct Daylight Savings Time. ls(1) is using archived standard C library (which is not having the fix for displaying the DST) and hence displaying incorrect time. Resolution: Patch built with the latest archived standard C library, which has the fix. PHCO_13544: Patch built with libraries incorporating UTF8 changes. PHCO_9626: Original problem was not fixed in PHCO_9584 due to the build with the inappropriate version of libc. PHCO_9584: /usr/bin/ls does not benefit from fixes to shared libc. The latest libc patch, PHCO_9577 fixes the following problem: When customer runs command: setprivgrp -g LOCKRDONLY, the NIS system hangs. SR: 8606225074 4701377283 5003333351 Patch Files: /usr/lib/nls/msg/C/ls.cat /sbin/ls /usr/bin/l /usr/bin/ll /usr/bin/ls /usr/bin/lsf /usr/bin/lsr /usr/bin/lsx what(1) Output: /usr/lib/nls/msg/C/ls.cat: None /sbin/ls: $Revision: 78.9.1.3 $ PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 PATCH_10_20: ls.o 02/02/22 /usr/bin/l: $Revision: 78.9.1.3 $ PATCH_10_20: ls.o 02/02/22 PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 /usr/bin/ll: $Revision: 78.9.1.3 $ PATCH_10_20: ls.o 02/02/22 PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 /usr/bin/ls: $Revision: 78.9.1.3 $ PATCH_10_20: ls.o 02/02/22 PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 /usr/bin/lsf: $Revision: 78.9.1.3 $ PATCH_10_20: ls.o 02/02/22 PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 /usr/bin/lsr: $Revision: 78.9.1.3 $ PATCH_10_20: ls.o 02/02/22 PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 /usr/bin/lsx: $Revision: 78.9.1.3 $ PATCH_10_20: ls.o 02/02/22 PATCH-PHCO_20441 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/9 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 10 1999 10:43:44 cksum(1) Output: 466829289 366 /usr/lib/nls/msg/C/ls.cat 4201065440 286720 /sbin/ls 4086668660 376832 /usr/bin/l 4086668660 376832 /usr/bin/ll 4086668660 376832 /usr/bin/ls 4086668660 376832 /usr/bin/lsf 4086668660 376832 /usr/bin/lsr 4086668660 376832 /usr/bin/lsx Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_9626 PHCO_9584 PHCO_13544 Equivalent Patches: None Patch Package Size: 710 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_26022 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_26022.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_26022. 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_26022.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_26022.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None