Patch Name: PHCO_25205 Patch Description: s700_800 11.04 (VVOS) alarmd patch Creation Date: 01/09/10 Post Date: 01/09/18 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: VirtualVaultOS.VVOS-AUX-AUDIT,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_25205 Symptoms: PHCO_25205: When an alarm is created in VirtualVault and an email notification is configured for this alarm, intermittently the email sent may have trailing spurious characters. PHCO_20632: When an alarm is created in VirtualVault for the "Set policy label" event and a notification action command is configured for this alarm, intermittently the alarm record passed to the command may contain a line with garbage rather than the proper output. PHCO_19001: Alarmd might not work correctly under certain conditions. Defect Description: PHCO_25205: The buffer in which the email message is held pending transmission is not properly terminated. Resolution: Terminate the buffer after the email message is loaded. PHCO_20632: 1. Calls to the message library routines are nested in such a way as to cause garbled output during the formating of certain error messages. 2. Fixed the formatting of the network records. They were not printing a seperator between records. 3. Fixed a problem when reduce was printing a syscall as "unused". 4. Locked all files when writing to them so we don't have multiple threads writing to a file at the same time causing messages to be jumbled up. 5. Changed a strtok to strtok_r to be thread safe. 6. Changed the signal handler to use sigaction(2) so that we can catch signals at the individual threads. Also made the main thread be the only thread to re-read the alarm data base. 7. Moved the creation of the alarm record file into the main thread. Resolution: 1. Make sure that you are using a copy of the message from the message library routines when printing them. 2. Add printing of seperator record. 3. Made sure that we had a valid syscall. 4. Lock the file when writing to it. 5. Changed strtok to strtok_r. 6. Changed signal(2) to sigaction(2). 7. Moved the creation of the alarm record into the main thread. PHCO_19001: Alarmd was not compiled with the reentrant flag turned on. Resolution: Recompile with the _REENTRANT flag turned on. SR: 8606218992 0000000000 8606102669 Patch Files: VirtualVaultOS.VVOS-AUX-AUDIT,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /usr/sbin/alarmd /usr/bin/reduce /tcb/bin/reduce what(1) Output: VirtualVaultOS.VVOS-AUX-AUDIT,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /usr/sbin/alarmd: $Revision: Hewlett-Packard ISSL Level vvos_rose42 $ $Header: Hewlett-Packard ISSL Release vvos_r ose $ $Date: Tue Sep 11 01:13:44 EDT 2001 $ $Source: seccmd/reduce.c, cmdsaudit, vvos_rose, rose 0155 $ $Date: 99/12/13 11:14:12 $ $Revision: 1.65.1.35 PATCH_11.04 (PHCO_20632) $ /usr/bin/reduce: $Revision: Hewlett-Packard ISSL Level vvos_rose42 $ $Header: Hewlett-Packard ISSL Release vvos_r ose $ $Date: Tue Sep 11 01:13:44 EDT 2001 $ $Source: seccmd/reduce.c, cmdsaudit, vvos_rose, rose 0155 $ $Date: 99/12/13 11:14:12 $ $Revision: 1.65.1.35 PATCH_11.04 (PHCO_20632) $ /tcb/bin/reduce: $Revision: Hewlett-Packard ISSL Level vvos_rose42 $ $Header: Hewlett-Packard ISSL Release vvos_r ose $ $Date: Tue Sep 11 01:13:44 EDT 2001 $ $Source: seccmd/reduce.c, cmdsaudit, vvos_rose, rose 0155 $ $Date: 99/12/13 11:14:12 $ $Revision: 1.65.1.35 PATCH_11.04 (PHCO_20632) $ $Source: lib/libsecalarm/alarmlib.c, libsecalarm, vv os_rose, rose0155 $ $Date: 01/03/14 14:47:46 $ $Revision: 1.6.3.5 PATCH_11.04 (PHCO_2361 5) $ $Source: lib/libsecurity/auditlib.c, libsecurity_aud it, vvos_rose, rose0227 $ $Date: 01/08/23 16 :33:13 $ $Revision: 1.27.2.2 PATCH_11.04 (PH CO_24852) $ $Source: lib/libsecurity/auditdb.c, libsecurity_audi t, vvos_rose, rose0227 $ $Date: 01/08/23 16: 33:10 $ $Revision: 1.14.2.2 PATCH_11.04 (PHC O_24852) $ $ PATCH/11.00:PHCO_24148 May 25 2001 08:04:43 $ cksum(1) Output: VirtualVaultOS.VVOS-AUX-AUDIT,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: 3277278184 131072 /usr/sbin/alarmd 1353110777 118784 /usr/bin/reduce 510918255 446464 /tcb/bin/reduce Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_19001 PHCO_20632 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_25205 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_25205.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_25205. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_25205.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_25205.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_25205.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_25205.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None