Patch Name: PHCO_17075 Patch Description: s700_800 10.20 Year 2000 cumulative SCCS(1) patch Creation Date: 98/12/17 Post Date: 99/03/12 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: SourceControl.SRC-CNTL Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_17075 Symptoms: PHCO_17075: sccs val is not completely Y2K safe. Due to a memory corruption, sccs val used to issue an error message if reused on the same input file. PHCO_16252: 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_15215: Year Displayed in two digits PHCO_14220: sccs prs -c breaks for year 99. PHCO_13666: - sccs get incorrectly handles "-lp" option. - sccs get -c breaks for year 99. PHCO_13335: 1. sccs(1) problems with comments, date, time and version numbers. PHCO_10623: sccs was wrongly parsing options when "sccs create" is executed. Defect Description: PHCO_17075: sccs val is not completely Y2K safe. Due to a memory corruption sccs val used to issue an error message if reused on the same input file. After setting the system clock to a date beyond 1999, if val is used on a file created before year 2000 then, sccs val executes correctly the first time, but if sccs val is used a second time with the same input file for example "s.abc" then it displays the following error message - "s.abc: corrupted SCCS file delta creation date out of sequence or in the future (val2) ". Resolution: This was due to a memory corruption problem. This has been rectified by introducing a "memset()" call. After the patch has been applied sccs val should not issue any error messages. PHCO_16252: 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_15215: Year displayed in two digits PHCO_14220: sccs prs -c breaks for year 99. If year 99 is specified as an argument to the -c option of prs then the command exits stating that it is an invalid argument. PHCO_13666: - sccs get incorrectly handles "-lp" option. - sccs get -c breaks for year 99. PHCO_13335: 1. sccs(1) problems with comments, date, time and version numbers. PHCO_10623: sccs was wrongly parsing options when "sccs create" SR: 1653279885 1653267963 4701383208 5003335828 1653220319 1653196071 1653229922 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: 78.1.1.1 $ PATCH_10_20: admin.o 98/12/16 /usr/bin/cdc: $Revision: 76.1 $ PATCH_10_20: rmchg.o 98/12/16 /usr/bin/comb: $Revision: 76.2 $ PATCH_10_20: comb.o 98/12/16 /usr/bin/delta: $Revision: 78.2.1.1 $ PATCH_10_20: delta.o 98/12/16 /usr/bin/get: $Revision: 76.3.1.1 $ PATCH_10_20: get.o 98/12/16 /usr/bin/prs: $Revision: 76.1.1.1 $ PATCH_10_20: prs.o 98/12/16 /usr/bin/rmchg: $Revision: 76.1 $ PATCH_10_20: rmchg.o 98/12/16 /usr/bin/rmdel: $Revision: 76.1 $ PATCH_10_20: rmchg.o 98/12/16 /usr/bin/sact: $Revision: 76.1 $ PATCH_10_20: unget.o 98/12/16 /usr/bin/sccs: $Revision: 76.1.1.1 $ PATCH_10_20: sccs.o 98/12/16 /usr/bin/sccsdiff: $Revision: 72.1 $ /usr/bin/unget: $Revision: 76.1 $ PATCH_10_20: unget.o 98/12/16 /usr/bin/val: $Revision: 74.1.1.2 $ PATCH_10_20: val.o 98/12/16 /usr/bin/vc: $Revision: 72.1 $ PATCH_10_20: vc.o 98/12/16 cksum(1) Output: 1304102019 53248 /usr/bin/admin 3330466236 49152 /usr/bin/cdc 4140254180 32768 /usr/bin/comb 476845352 61440 /usr/bin/delta 464485099 57344 /usr/bin/get 3137049838 36864 /usr/bin/prs 3330466236 49152 /usr/bin/rmchg 3330466236 49152 /usr/bin/rmdel 425257450 28672 /usr/bin/sact 2754905168 28672 /usr/bin/sccs 3909501840 1236 /usr/bin/sccsdiff 425257450 28672 /usr/bin/unget 1556895169 24576 /usr/bin/val 1190140279 24576 /usr/bin/vc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_10623 PHCO_13335 PHCO_13666 PHCO_14220 PHCO_15215 PHCO_16252 Equivalent Patches: PHCO_17073: s700: 10.01 s800: 10.01 PHCO_17074: s700: 10.10 s800: 10.10 PHCO_17076: s700: 11.00 s800: 11.00 Patch Package Size: 460 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_17075 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_17075.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_17075.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_17075. 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_17075.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_17075.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None