Patch Name: PHCO_6861 Patch Description: s700 9.X cumulative cron(1M), at(1) and crontab(1) patch Creation Date: 96/03/14 Post Date: 96/03/21 Hardware Platforms - OS Releases: s700: 9.01 9.03 9.05 9.07 Products: N/A Filesets: CMDS-MIN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700/9.X/PHCO_6861 Symptoms: PHCO_6861: 1. Cron dumps core intermittently. 2. Cron has a hard-coded limit of MAXRUN (40) child processes which can be running simultaneously. Now the limit has been increased to 100. PHCO_6589: This patch fixes the unauthorized access to temporary input and output files. PHCO_6287: Cron is going into a loop using all available cpu several times a day. This happens intermittently when the system is heavily loaded. PHCO_6047: This patch fixes the core dump that used to occur when cron(1M) is heavily loaded. PHCO_5591: When there are a large number of users in an NIS (YP) environment in a single domain, the performance of the password and group look-ups and associated utilities (e.g. cron, login) may be slow. PHCO_5178: Fixes batch file access PHCO_4460: cron goes in a loop if job is submitted in an illegal queue using at(1) PHCO_4116: cron "core dumps" on echo "ls > /tmp/xx" | at now PHCO_3872: 1. cron bug hits MAXRUN procs with simul jobs 2. when its queues are full, loop and never empty the queues 3. cron does unnecessary initialization when already running behind PHCO_3123: 1. Fixes cron incorrect handling of queues and job scheduling. 2. Fixes "at" error in message send, and unable to recognize "at 1200 30-oct" format. 3. Fixes unneccessary "command complete" acknowledgements. 4. Fixes "delay in executing at jobs". 5. Fixes crontab file permissions 6. at jobs are scheduled 1 hr late. Defect Description: PHCO_6861: 1. Cron dumps core intermittently. 2. Cron has a hard-coded limit of MAXRUN (40) child processes which can be running simultaneously. Now the limit has been increased to 100. PHCO_6589: This patch fixes the unauthorized access to temporary input and output files. PHCO_6287: Cron is going into a loop using all available cpu several times a day. This happens intermittently when the system is heavily loaded. PHCO_6047: This patch fixes the core dump that used to occur when cron(1M) is heavily loaded. PHCO_5591: When there are a large number of users in an NIS (YP) environment in a single domain, the performance of the password and group look-ups and associated utilities (e.g. cron, login) may be slow. PHCO_5178: Fixes batch file access PHCO_4460: cron goes in a loop if job is submitted in an illegal queue using at(1) PHCO_4116: cron "core dumps" on echo "ls > /tmp/xx" | at now PHCO_3872: 1. cron bug hits MAXRUN procs with simul jobs 2. when its queues are full, loop and never empty the queues 3. cron does unnecessary initialization when already running behind PHCO_3123: 1. Fixes cron incorrect handling of queues and job scheduling. 2. Fixes "at" error in message send, and unable to recognize "at 1200 30-oct" format. 3. Fixes unneccessary "command complete" acknowledgements. 4. Fixes "delay in executing at jobs". 5. Fixes crontab file permissions 6. at jobs are scheduled 1 hr late. SR: 5003010652 5000657585 5003051433 5003036632 5003060111 1653032359 5003107078 5000693325 5003141119 5000696500 4701276576 5003229302 5003239277 4701303453 1653160630 Patch Files: /usr/lib/nls/C/at.cat /usr/lib/nls/C/cron.cat /usr/lib/nls/C/crontab.cat /etc/cron /usr/bin/at /usr/bin/crontab what(1) Output: /usr/lib/nls/C/at.cat: None. /usr/lib/nls/C/cron.cat: None. /usr/lib/nls/C/crontab.cat: None. /etc/cron: $Revision: 70.19 $ PATCH/9_0 PHCO_6861 $Revision: 70.8.1.3.1.10 $ PATCH_9_05: hpux_rel.o cron.o funcs.o 96/03/14 /usr/bin/at: $Revision: 70.19 $ PATCH/9_04 PHCO_6861 $Revision: 70.13.2.4 $ PATCH_9_05: hpux_rel.o at.o pdt.o ptime.o pdate.o fu ncs.o permit.o 96/03/14 /usr/bin/crontab: $Revision: 70.19 $ PATCH_9_05: hpux_rel.o crontab.o permit.o funcs.o 96 /03/14 sum(1) Output: 57570 4 /usr/lib/nls/C/at.cat 45874 5 /usr/lib/nls/C/cron.cat 61581 2 /usr/lib/nls/C/crontab.cat 56195 80 /etc/cron 10555 80 /usr/bin/at 39668 40 /usr/bin/crontab Patch Conflicts: None Patch Dependencies: s700: 9.01 9.03 9.05: PHCO_5530 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_3123 PHCO_3872 PHCO_4116 PHCO_4460 PHCO_5178 PHCO_5591 PHCO_6047 PHCO_6287 PHCO_6589 Equivalent Patches: PHCO_7030: s800: 9.00 9.04 PHCO_6862: s700: 10.00 10.01 s800: 10.00 10.01 PHCO_7031: s700: 10.10 s800: 10.10 Patch Package Size: 170 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHCO_6861 . sh PHCO_6861 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_6861.updt PHCO_6861 Update moves the original software to /system/PHCO_6861/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_6861 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_6861.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None