Patch Name: PHSS_25846 Patch Description: s700_800 10.X OV EMANATE14.2 SwapConfig & processUname Creation Date: 01/12/13 Post Date: 01/12/20 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: OpenView Emanate 14.2 Filesets: OVSNMPAgent.SUBAGT-HPUNIX,B.10.27.00 OVSNMPAgent.SUBAGT-HPUNIX,B.10.26.00 OVSNMPAgent.SUBAGT-HPUNIX,B.11.00.00 OVSNMPAgent.SUBAGT-HPUNIX,B.11.01.00 OVSNMPAgent.SUBAGT-HPUNIX,B.11.11.00 Automatic Reboot?: No Status: Special Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_25846 Symptoms: PHSS_25846: 1.hp_unixagt is not giving the process user names when queried on processUname with snmpwalk command. (HP-UX 11.X Only. Mib variable processUname problem). 2.hp_unixagt is returning wrong values for Enabled and Configured swap variables. (HP-UX 10.20 only). 3.hp_unixagt does not re-read the Configured swap value when requested. Defect Description: PHSS_25846: 1.There is an argument and parameter mismatch in length of the datatype when the function to get the process user name is called. This length mismatch is corrupting the next parameter. 2.There is a possibility in agent's code to return incorrect values of the swap size for Configured and Enabled if the values get larger than ~0x300000. 3.Currently the hp_unixagt calculates the Configured swap value when it starts up and stores this value in a static location. Any request for this information is then answered using this static value, and it does not re-calculate the swap value. To force to update the value, the sub agent needs to be restarted. Resolution: 1.Code is modified to match the length of the datatype correctly in the arguments and parameters. 2.Code is implemented to give the correct values for SwapConfig and EnabledSwap of the device swap memory. 3.Code implemented to re-read the swap value whenever the configured swap is requested. SR: 8606218812 8606226041 8606227957 Patch Files: /usr/sbin/hp_unixagt what(1) Output: /usr/sbin/hp_unixagt: SNMP HpUnix SubAgent PATCH PHSS_25846, 12142001 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 Copyright 1992-1997 SNMP Research, Incorporated SNMP Research Distribution version 14.2.1.7 cksum(1) Output: 792419269 222323 /usr/sbin/hp_unixagt Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_24944 s800: 10.20: PHSS_24944 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_25847: s700: 11.00 11.11 s800: 11.00 11.11 Patch Package Size: 280 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 PHSS_25846 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_25846.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_25846. 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 PHSS_25846.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/PHSS_25846.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: WARNING: This patch should not be loaded unless the last consolidated patch PHSS_24944 has been loaded. To check if this patch is on your system use the following command: swlist -l product -l fileset PHSS_24944 If swlist cannot find the patch, then you will need to obtain the PHSS_24944 patch and load it before loading this patch.