Patch Name: PHCO_16250 Patch Description: s700_800 10.01 SCCS(1) Year 2000 cumulative patch Creation Date: 98/08/24 Post Date: 98/09/25 Hardware Platforms - OS Releases: s700: 10.01 s800: 10.01 Products: N/A Filesets: SourceControl.SRC-CNTL Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_16250 Symptoms: PHCO_16250: Patch PHCO_15172 for sccs is not Y2K safe. Archive files created before the year 2000 are not usable in year 2000 using sccs val. After setting the system clock to a date beyond 1999, if val is used on a file created before year 2000 then, sccs val displays the following error message - "s.abc: corrupted SCCS file delta creation date out of sequence or in the future (val2) " PHCO_15191: Year displayed in two digits PHCO_14495: Fix for DSDe441276 was not complete and prs command was failing for options other than "-d". PHCO_13767: sccs and prs fails for year 1999. prs fails for year 98 when the following command is executed. prs -d ':Dy:' s.xxx . PHCO_6816: SCCS file gets corrupted when clock differs on two NFS mounted systems Defect Description: PHCO_16250: Patch PHCO_15172 for sccs is not Y2K safe. Archive files created before the year 2000 are not usable in year 2000 using sccs val. After setting the system clock to a date beyond 1999, if val is used on a file created before year 2000 then, sccs val displays the following error message - "s.abc: corrupted SCCS file delta creation date out of sequence or in the future (val2) " sccs val does not seem to realize that the year "00" is later than "98". The above mentioned problem was because the function being used to compare two date strings was incorrect. This has been rectified now. After the patch has been applied sccs val should not issue any error messages. PHCO_15191: Year displayed in two digits PHCO_14495: prs command fails for options other than '-d' PHCO_13767: sccs and prs fails for year 1999. In 10.01 the arguments passed to do_file function in prs.c when XPG4_CMDS is not defined is wrong. Due to this also the prs was failing for year 98 also. PHCO_6816: delta corrupts data if run twice during time lag between two system clocks. This patch fixes the problem with the delta command which used to corrupt the sccs file when the clock differs on two NFS mounted machines. SR: 1653267963 1653244764 5003299495 Patch Files: /usr/bin/admin /usr/bin/cdc /usr/bin/comb /usr/bin/delta /usr/bin/get /usr/bin/prs /usr/bin/rmchg /usr/bin/rmdel /usr/bin/sact /usr/bin/sccs /usr/bin/sccsdiff /usr/bin/unget /usr/bin/val /usr/bin/vc what(1) Output: /usr/bin/admin: $Revision: 74.1 $ PATCH_10_01: admin.o 98/08/24 /usr/bin/cdc: $Revision: 74.1 $ PATCH_10_01: rmchg.o 98/08/24 /usr/bin/comb: $Revision: 72.1 $ PATCH_10_01: comb.o 98/08/24 /usr/bin/delta: $Revision: 72.4.1.1 $ PATCH_10_01: delta.o 98/08/24 /usr/bin/get: $Revision: 72.3 $ PATCH_10_01: get.o 98/08/24 /usr/bin/prs: $Revision: 74.1.1.3 $ PATCH_10_01: prs.o 98/08/24 /usr/bin/rmchg: $Revision: 74.1 $ PATCH_10_01: rmchg.o 98/08/24 /usr/bin/rmdel: $Revision: 74.1 $ PATCH_10_01: rmchg.o 98/08/24 /usr/bin/sact: $Revision: 74.1 $ PATCH_10_01: unget.o 98/08/24 /usr/bin/sccs: $Revision: 74.1 $ PATCH_10_01: sccs.o 98/08/24 /usr/bin/sccsdiff: $Revision: 72.1 $ /usr/bin/unget: $Revision: 74.1 $ PATCH_10_01: unget.o 98/08/24 /usr/bin/val: $Revision: 74.1.1.1 $ PATCH_10_01: val.o 98/08/24 /usr/bin/vc: $Revision: 72.1 $ PATCH_10_01: vc.o 98/08/24 cksum(1) Output: 1983855604 49362 /usr/bin/admin 1783291903 49363 /usr/bin/cdc 2810361601 32925 /usr/bin/comb 3995291164 57610 /usr/bin/delta 332054620 53479 /usr/bin/get 1619932369 37041 /usr/bin/prs 1783291903 49363 /usr/bin/rmchg 1783291903 49363 /usr/bin/rmdel 2002493070 28816 /usr/bin/sact 1509032462 24674 /usr/bin/sccs 3909501840 1236 /usr/bin/sccsdiff 2002493070 28816 /usr/bin/unget 4154445554 20582 /usr/bin/val 2219173558 24678 /usr/bin/vc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_6816 PHCO_13767 PHCO_14495 PHCO_15191 Equivalent Patches: PHCO_16251: s700: 10.10 s800: 10.10 PHCO_16252: s700: 10.20 s800: 10.20 PHCO_16253: s700: 11.00 s800: 11.00 Patch Package Size: 440 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_16250 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_16250.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_16250.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_16250. 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_16250.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_16250.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None