Patch Name: PHCO_21631 Patch Description: s700_800 10.26 patch for shutdown(1M) Creation Date: 00/05/08 Post Date: 00/05/10 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_21631 Symptoms: PHCO_21631: Port of PHCO_21574 (PHCO_21574) shutdown(1M) script replaced with compiled program to correct basic functionality problem. Defect Description: PHCO_21631: Port of PHCO_21574 (PHCO_21574) Proper execution of the command is not assured when considering input variables. Resolution: Input variable is now properly initialized. SR: 8606126826 Patch Files: /sbin/shutdown /usr/sbin/shutdown what(1) Output: /sbin/shutdown: 00/05/05 lib/libc/core/gen/ctime.c, hpux, hpux_10.26 , ic5ey Revision 1.2 PATCH_10.26 (PHCO_17823 ) UNMODIFIED 00/01/05 lib/libc/net/net/innetgr.c, hpux, hpux_10.2 6, ic5ey Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 00/01/05 lib/libc/net/yp/yp_all.c, hpux, hpux_10.26, ic5ey Revision 1.2 PATCH_10.26 (PHCO_20782) 00/01/05 lib/libc/net/yp/yp_bind.c, hpux, hpux_10.26 , ic5ey Revision 1.2 PATCH_10.26 (PHCO_20782 ) 00/01/05 lib/libc/net/yp/yp_match.c, hpux, hpux_10.2 6, ic5ey Revision 1.2 PATCH_10.26 (PHCO_2078 2) 00/01/05 lib/libc/net/rpc/xdr_mem.c, hpux, hpux_10.2 6, ic5ey Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 2000/05/05 Hewlett-Packard HP-UX 10.26 TOS [ ic5ey - DAV17 ] 00/05/04 cmd/reboot/shutdown.c, hpux, hpux_10.26, ic 5ey Revision 1.5 PATCH_10.26 (PHCO_21631) 00/05/05 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5ey Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ 99/11/09 lib/libsecurity/map_ids.c, hpux, hpux_10.26 , ic5ey Revision 1.13 PATCH_10.26 (PHCO_2043 0) 99/05/21 lib/libsecurity/authcap.c, hpux, hpux_10.26 , ic5ey Revision 1.5 PATCH_10.26 (PHCO_18502 ) ic5ae_DAV17 lib/libc/archive_pa1/libc.a_01 May 5 2000 15:07:20 /usr/sbin/shutdown: 00/05/05 lib/libc/core/gen/ctime.c, hpux, hpux_10.26 , ic5ey Revision 1.2 PATCH_10.26 (PHCO_17823 ) UNMODIFIED 00/01/05 lib/libc/net/net/innetgr.c, hpux, hpux_10.2 6, ic5ey Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 00/01/05 lib/libc/net/yp/yp_all.c, hpux, hpux_10.26, ic5ey Revision 1.2 PATCH_10.26 (PHCO_20782) 00/01/05 lib/libc/net/yp/yp_bind.c, hpux, hpux_10.26 , ic5ey Revision 1.2 PATCH_10.26 (PHCO_20782 ) 00/01/05 lib/libc/net/yp/yp_match.c, hpux, hpux_10.2 6, ic5ey Revision 1.2 PATCH_10.26 (PHCO_2078 2) 00/01/05 lib/libc/net/rpc/xdr_mem.c, hpux, hpux_10.2 6, ic5ey Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 2000/05/05 Hewlett-Packard HP-UX 10.26 TOS [ ic5ey - DAV17 ] 00/05/04 cmd/reboot/shutdown.c, hpux, hpux_10.26, ic 5ey Revision 1.5 PATCH_10.26 (PHCO_21631) 00/05/05 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5ey Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ 99/11/09 lib/libsecurity/map_ids.c, hpux, hpux_10.26 , ic5ey Revision 1.13 PATCH_10.26 (PHCO_2043 0) 99/05/21 lib/libsecurity/authcap.c, hpux, hpux_10.26 , ic5ey Revision 1.5 PATCH_10.26 (PHCO_18502 ) ic5ae_DAV17 lib/libc/archive_pa1/libc.a_01 May 5 2000 15:07:20 cksum(1) Output: 2004035541 475136 /sbin/shutdown 2004035541 475136 /usr/sbin/shutdown Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_21574: s700: 10.20 s800: 10.20 Patch Package Size: 520 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_21631 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_21631.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_21631. 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_21631.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_21631.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None