Patch Name: PHCO_17758 Patch Description: s700_800 10.16 Year 2000 cumulative cron/at/crontab patch Creation Date: 99/06/02 Post Date: 99/06/04 Hardware Platforms - OS Releases: s700: 10.16 s800: 10.16 Products: N/A Filesets: OS-Core.CMDS-MIN OS-Core.CMIN-ENG-A-MAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_17758 Symptoms: PHCO_17758: Ported HP-UX patch PHCO_17550 to TOS. (PHCO_17550) at(1) does not accept input of "00" or "0" for year for all locales. (PHCO_16953) 1. On trusted systems, cron(1) has slower performance due to calling getspwent() when getspwnam() should have been used. 2. at(1) schedules jobs incorrectly relative to 28 February of non-leap years. 3. at(1) does not recognize year 00 (2000). When year is input as 00, at(1) exits with the error message - "bad date specification" (PHCO_15228) Year diplayed in two digits PHCO_15420: Ported HP-UX patch PHCO_14058 to TOS. (PHCO_14058) at is not able to correctly schedule jobs for Feb 29 2000 PHCO_11844: the cron-at program does not handle dates after 1999. Defect Description: PHCO_17758: Ported HP-UX patch PHCO_17550 to TOS. (PHCO_17550) at(1) treats year input of 00 or 0 as incorrect when locale is set to one which defines D_T_FMT (date-time) string to have year in fields other than the third. Resolution: at(1) assumed that the year field can be only in the third field of the date string. This assumption has been removed. Also, the function which returned error if the date string had 0 or 00 in the first or second fields has been changed not to check and return error for such a condition. Now, at(1) accepts input of 0 or 00 for year in any field of the date string, as specified by D_T_FMT string for the locale. PHCO_15420: Ported HP-UX patch PHCO_14058 to TOS. (PHCO_14058) at is not able to correctly schedule jobs for Feb 29 2000 PHCO_11844: The program was not designed with the year 2000 in mind. SR: 0000000000 0000000000 Patch Files: /usr/sbin/cron /usr/bin/at /usr/bin/crontab /usr/share/man/man1.Z/at.1 /usr/share/man/man1.Z/batch.1 what(1) Output: /usr/sbin/cron: $Revision: Hewlett-Packard GTL Level mlpmp10.16-50 $ $Header: Hewlett-Packard GTL Release hpux_m lpmp $ $Date: Fri May 21 09:14:02 PDT 1999 $ $Revision: 74.5.3.15 $ PATCH/10_01 PHCO_7997 $Revision: 74.2.1.6 $ 99/05/17 cmd/cron/cron.c, hpux, hpux_mlpmp, 10.16-50 Revision 1.4 PATCH_10.16 (PHCO_17758) /usr/bin/at: $Revision: Hewlett-Packard GTL Level mlpmp10.16-50 $ $Header: Hewlett-Packard GTL Release hpux_m lpmp $ $Date: Fri May 21 09:14:02 PDT 1999 $ $Revision: 74.5.3.15 $ $Revision: 74.2.1.3 $ 99/04/19 cmd/cron/at.c, hpux, hpux_mlpmp, 10.16-50 R evision 1.3 PATCH_10.16 (PHCO_17758) 99/04/19 cmd/cron/ptime.c, hpux, hpux_mlpmp, 10.16-5 0 Revision 1.2 PATCH_10.16 (PHCO_17758) UNMO DIFIED $Revision: 74.2.1.7 $ 99/04/19 cmd/cron/pdate.c, hpux, hpux_mlpmp, 10.16-5 0 Revision 1.3 PATCH_10.16 (PHCO_17758) UNMO DIFIED /usr/bin/crontab: $Revision: Hewlett-Packard GTL Level mlpmp10.16-50 $ $Header: Hewlett-Packard GTL Release hpux_m lpmp $ $Date: Fri May 21 09:14:02 PDT 1999 $ $Revision: 74.5.3.15 $ /usr/share/man/man1.Z/at.1: None /usr/share/man/man1.Z/batch.1: None cksum(1) Output: 544731522 53248 /usr/sbin/cron 4016298834 45056 /usr/bin/at 1732238758 20480 /usr/bin/crontab 1132152765 11088 /usr/share/man/man1.Z/at.1 1132152765 11088 /usr/share/man/man1.Z/batch.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_11844 PHCO_15420 Equivalent Patches: PHCO_17550: s700: 10.01 s800: 10.01 Patch Package Size: 190 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_17758 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_17758.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_17758.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_17758. 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_17758.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_17758.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None