Patch Name: PHCO_23042 Patch Description: s700_800 10.20 Software Distributor cumulative patch Creation Date: 01/01/22 Post Date: 01/03/08 Warning: 02/02/21 - This Non-Critical Warning has been issued by HP. - PHCO_23042 introduced behavior that causes processes that use UDP broadcasts to address 255.255.255.255 to issue error messages or to fail. - To date, this behavior has only been observed with MC/ServiceGuard cluster systems. - The "Move Package" functionality in the SAM GUI for Serviceguard fails with a message similar to the following logged in /var/adm/syslog/syslog.log: Oct 23 10:31:21 sysname SAM pk adm[27773] Cannot discover Service Guard nodes on the network. - The MC/ServiceGuard commands "cmquerycl" and "cmgetconf" succeed but show the following benign error messages in their output: - The "cmquerycl -v" command reports: Begin checking the nodes... Looking for ServiceGuard nodes... Error: Unable to send a datagram to the configuration daemon (cmclconfd) at 255.255.255.255: I/O error - The "cmgetconf -c" command reports: Error: Unable to send a datagram to the configuration daemon (cmclconfd) at 255.255.255.255: I/O error - Observe that this behavior does not affect the stability of the MC/ServiceGuard cluster as that uses the TCP protocol for its node and package management and that packages can still be moved using ServiceGuard commands. - This behavior is also exhibited with superseding patch PHCO_25316. - The following workaround can be used to address this problem. Set up a default gateway by adding the necessary ROUTE_* parameters to the /etc/rc.config.d/netconf system startup configuration file. If for some reason you can not, or do not want to configure a default gateway on your system, the problem also can be addressed by linking the /sbin/rc2.d/S008net.sd sequence file to /sbin/init.d/net as follows: rm /sbin/rc2.d/S008net.sd ln -s /sbin/init.d/net /sbin/rc2.d/S008net.sd - If the above outlined workaround is not acceptable, then to avoid this behavior HP recommends that PHCO_23042 and PHCO_25316 be removed from all ServiceGuard systems or systems that use UDP broadcasts to address 255.255.255.255. PHCO_23042 and PHCO_25316 should also be removed from software depots used to installed patches on these systems. - The previous patch, PHCO_20209, does not exhibit this same behavior. To ensure as many known issues as possible are addressed, HP recommends that PHCO_20209 be installed after PHCO_23042 and PHCO_25316 are removed. If PHCO_20209 was installed prior to PHCO_23042 and PHCO_25316, it will automatically be restored when PHCO_23042 and PHCO_25316 are removed and it will not need to be re-installed. - PHCO_23042 is included in the following Support Plus Patch Bundles: Sep 2001: XSW700GR1020,B.10.20.54.1 Sep 2001: XSW800GR1020,B.10.20.54.1 Dec 2001: XSW700GR1020,B.10.20.55.3 Dec 2001: XSW800GR1020,B.10.20.55.3 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: SW-DIST.RUPDATE SW-DIST.SD-CMDS SW-DIST.SD-ENG-A-MAN SW-DIST.SD-AGENT Automatic Reboot?: No Status: General Superseded With Warnings Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_23042 Symptoms: PHCO_23042: JAGad16217, JAGad31148 : Unexpected error message: ERROR: lan0 interface: ifconfig: no such interface appears in rc.log during system startup. JAGad32888: Startup scripts appear to hang after reboot following software installation on systems with certain networking configurations. PHCO_21126: JAGac40387: Unexpected permissions on depot while executing "swacl -F". PHCO_20209: JAGab71751: swagentd aborts after 7-12 days, on some systems with heavy continuous sw management activity. PHCO_15206: FSDdtdt22879: PHSS_11482 broke SD-UX commands for users with high UIDs. FSDdt22711: swverify ACL behavior did not match original product design. FSDdt22173, FSDdt22752: Buffer overwrites and data corruption could result from unexpected input, causing abnormal program termination. FSDdt22610: Files written to depots by swpackage could have invalid attributes. FSDdt21069, FSDdt22674, FSDdt22693: RPC data could sometimes become corrupted by swagentd. PHSS_11482: This SD patch fixes the following symptoms. These numbers correspond to Defect Description numbers: 1. Swinstall can hang when Glance is running. 2. Scheduled jobs can fail due to inability to save session files such as swinstall.last. 3. Swacl fails to see depot products that contain empty subproducts. 4. Disk space analysis can be wrong when installing patches. 5. The fpkg2swpkg program has incorrect ownership and permissions. 6. Swinstall can fail to make RPC connections when a hostname is longer than 8 characters. 7. Swjob fails to see any jobs on a system when hostname contains a dash character. Defect Description: PHCO_23042: JAGad16217, JAGad31148, JAGad32888: Original startup scripts required networking functionality that was not always available during early phases of the startup sequence. These scripts were rewritten to use only local loopback networking when it is necessary to start swagentd early in the boot sequence. swagentd is then restarted later, after networking is fully configured. PHCO_21126: JAGac40387: In certain conditions, swacl failed to read 'host' ACLs read from a file when using the '-F'command line option. PHCO_20209: JAGab71751: swagentd code contained an incorrect use of a local automatic variable, resulting in stack corruption in some circumstances, used a non-thread-safe function call, and referenced an uninitialized pointer. PHCO_15206: FSDdt22879: PHSS_11482 was incorrectly linked. FSDdt22711: Code determining swverify behavior permission behavior did not match original design documentation. FSDdt22173, FSDdt22752: Some malformed input data could be written into buffers which were to small, resulting in abnormal program termination. FSDdt22610: swpackage did not perform adequate checking of file attributes. FSDdt21069, FSDdt22674, FSDdt22693: RPC data was sometimes misinterpreted by swagentd. PHSS_11482: This shows details of problems fixed by this patch: 1. A swinstall target agent could hang when swinstall Interactive User Interface was used and TCP protocol was used. This was more likely when Glance was running at the same time swinstall GUI was being used. This patch fixes swagent to avoid the hang. 2. Swagentd did not reset certain environmental variables when starting jobs that were scheduled by non-superuser. This patch corrects the behavior. 3. Swacl could not operate on any product that contained an empty subproduct. This patch fixes swacl to see all products. 4. Scripts in HP-UX patch filesets reserved disk space using units different than used internally in SD. This patch modifies SD to correctly handle disk space numbers supplied by scripts in HP-UX patches. 5. This patch fixes ownership and permissions of the fpkg2swpkg program. 6. SD commands sometimes used the uname function to determine local hostname, truncating the SD copy of local hostname to 8 characters. This patch fixes SD commands to always use the gethostname function, so full length hostname is always used. 7. On a system with hostname containing a dash character, jobs were stored incorrectly. The swjob command can not see those stored jobs. This patch fixes SD commands to store jobs correctly when hostname contains a dash character. Swjob will see all jobs created after this patch. SR: 1653189134 1653186429 8606104326 8606107221 8606124995 8606163584 8606124995 8606146874 8606161832 8606163584 Patch Files: /usr/lbin/sw/control_utils /usr/lbin/swagent /usr/lib/nls/msg/C/swpackage.cat /usr/lib/nls/msg/C/swutil.cat /usr/lib/sw/sys.defaults /usr/lib/sw/ui/C/smc_jobopts.ui /usr/lib/sw/ui/C/smc_targets.ui /usr/sbin/fpkg2swpkg /usr/sbin/pushAgent /usr/sbin/sd /usr/sbin/swacl /usr/sbin/swagentd /usr/sbin/swcluster /usr/sbin/swconfig /usr/sbin/swcopy /usr/sbin/swdepot /usr/sbin/swinstall /usr/sbin/swjob /usr/sbin/swlist /usr/sbin/swmodify /usr/sbin/swpackage /usr/sbin/swreg /usr/sbin/swremove /usr/sbin/swverify /usr/share/man/man1m.Z/pushAgent.1m /sbin/init.d/swagentd /sbin/init.d/swconfig /sbin/init.d/net.init /sbin/rc2.d/S795swagentd /sbin/rc2.d/S008net.sd what(1) Output: /usr/lbin/sw/control_utils: $Revision: 5.15 $ /usr/lbin/swagent: $Revision: 5.1, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, AGENT, PHCO_23042, Optimized, Built Feb 1 4 2001 13:22:36$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/lib/nls/msg/C/swpackage.cat: none. /usr/lib/nls/msg/C/swutil.cat: none. /usr/lib/sw/sys.defaults: none. /usr/lib/sw/ui/C/smc_jobopts.ui: none. /usr/lib/sw/ui/C/smc_targets.ui: none. /usr/sbin/fpkg2swpkg: none. /usr/sbin/pushAgent: none. /usr/sbin/sd: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swacl: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swagentd: $Revision: 5.1, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, DAEMON, PHCO_23042, Optimized, Built Feb 14 2001 13:31:18$ /usr/sbin/swcluster: $Revision: 5.32 $ /usr/sbin/swconfig: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swcopy: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swdepot: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swinstall: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swjob: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swlist: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swmodify: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, PACKAGER, PHCO_23042, Optimized, Built Fe b 14 2001 13:33:20$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swpackage: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, PACKAGER, PHCO_23042, Optimized, Built Fe b 14 2001 13:33:20$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swreg: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swremove: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/sbin/swverify: $Revision: 5.2, SD-OV/A.01.02.17, SD-UX/B.10.20.00.1 7, CONTROLLER, PHCO_23042, Optimized, Built Feb 14 2001 13:29:22$ ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $ /usr/share/man/man1m.Z/pushAgent.1m: none. /sbin/init.d/swagentd: $Revision: 5.11 $ /sbin/init.d/swconfig: $Revision: 5.7 $ /sbin/init.d/net.init: $Revision: 1.4.116.2 $ $Date: 95/11/30 16:59:34 $ /sbin/rc2.d/S795swagentd: $Revision: 5.11 $ /sbin/rc2.d/S008net.sd: $Revision: 1.4.116.2 $ $Date: 95/11/30 16:59:34 $ cksum(1) Output: 1872983272 47164 /usr/lbin/sw/control_utils 3256398411 954368 /usr/lbin/swagent 521435351 27364 /usr/lib/nls/msg/C/swpackage.cat 3050554707 64944 /usr/lib/nls/msg/C/swutil.cat 1201548098 99079 /usr/lib/sw/sys.defaults 4160945067 73233 /usr/lib/sw/ui/C/smc_jobopts.ui 859042836 11655 /usr/lib/sw/ui/C/smc_targets.ui 2004123118 192672 /usr/sbin/fpkg2swpkg 2737907432 110869 /usr/sbin/pushAgent 2819416723 1609728 /usr/sbin/sd 2819416723 1609728 /usr/sbin/swacl 1183162764 446464 /usr/sbin/swagentd 2080000602 73606 /usr/sbin/swcluster 2819416723 1609728 /usr/sbin/swconfig 2819416723 1609728 /usr/sbin/swcopy 2819416723 1609728 /usr/sbin/swdepot 2819416723 1609728 /usr/sbin/swinstall 2819416723 1609728 /usr/sbin/swjob 2819416723 1609728 /usr/sbin/swlist 667476949 770048 /usr/sbin/swmodify 667476949 770048 /usr/sbin/swpackage 2819416723 1609728 /usr/sbin/swreg 2819416723 1609728 /usr/sbin/swremove 2819416723 1609728 /usr/sbin/swverify 2678624929 5026 /usr/share/man/man1m.Z/pushAgent.1m 865674922 2750 /sbin/init.d/swagentd 891545422 31181 /sbin/init.d/swconfig 1851385643 2021 /sbin/init.d/net.init 865674922 2750 /sbin/rc2.d/S795swagentd 1851385643 2021 /sbin/rc2.d/S008net.sd Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_21126 PHCO_20209 PHCO_15206 PHSS_11482 Equivalent Patches: None Patch Package Size: 4500 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_23042 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_23042.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_23042. 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_23042.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_23042.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch may be applied to both the standard Software Distributor (SD-UX) shipped with HP-UX 10.20 and the OpenView Software Distributor (SD-OV) revision A.01.02.