Patch Name: PHCO_26682 Patch Description: s700_800 11.11 shutdown(1m) patch Creation Date: 02/04/17 Post Date: 02/04/18 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_26682 Symptoms: PHCO_26682: ( SR:8606251580 CR:JAGae17645 ) On a virtual partition system, shutdown(1m) should give informative message to the system administrators about shutting down of virtual partitions and rebooting of virtual partition monitor. Defect Description: PHCO_26682: ( SR:8606251580 CR:JAGae17645 ) On a virtual partition system, shutdown(1m) should give a message saying that all the virtual partitions must be shut down and the virtual partition monitor should be rebooted. Resolution: shutdown(1m) internally calls reboot(1m) whose code is modified to display the required message. The man page of shutdown(1m) is modified. Eg: On a virtual partition system, # shutdown -R now SHUTDOWN PROGRAM 03/31/02 11:34:39 IST Broadcast Message from vts (pts/0) Sun Mar 31 11:34:39... SYSTEM BEING BROUGHT DOWN NOW ! ! ! /sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log) hpterm System shutdown in progress ___________________________ Stop CDE login server ........................ OK Stop X print server(s) ....................... N/A ... ... Transition to run-level 0 is complete. Executing "/sbin/reboot -R ". Note: If this is a partitionable system, the requested reconfiguration will not take place until all the virtual partitions on this hard partition are shut down and the virtual partition monitor is rebooted. Shutdown at 11:36 (in 0 minutes) *** FINAL System shutdown message from vts@gizmo *** System going down IMMEDIATELY System shutdown time has arrived reboot: redirecting error messages to /dev/console SR: 8606251580 Patch Files: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1m.Z/shutdown.1m OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/shutdown what(1) Output: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1m.Z/shutdown.1m: None OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/shutdown: shutdown.c $Date: 2002/04/06 23:28:58 $Revision: r11 .11/1 PATCH_11.11 (PHCO_26682) $Revision: @(#) shutdown.arch CUP11.11_BL2002_0417_2 PATCH_11.11 PHCO_26682 Wed Apr 17 00:33:04 PDT 2002 $ $ Version_11.11 Apr 12 2002 08:31:48 $ cksum(1) Output: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: 616463413 4676 /usr/share/man/man1m.Z/shutdown.1m OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 3765784742 270336 /sbin/shutdown Patch Conflicts: None Patch Dependencies: s700: 11.11: PHCO_26681 s800: 11.11: PHCO_26681 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 300 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_26682 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_26682.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_26682. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_26682.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_26682.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_26682.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None