Patch Name: PHCO_27010 Patch Description: s700_800 11.11 swapon(1M) patch Creation Date: 04/05/13 Post Date: 04/06/15 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: 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: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27010 Symptoms: PHCO_27010: ( SR:8606187406 CR:JAGad56613 ) Duplicate ( SR:8606336994 CR:JAGae98031 ) swapon(1M) does not activate the local filesystem swap if the "device special file" field of swapfs entry in /etc/fstab does not start with '/'. Defect Description: PHCO_27010: ( SR:8606187406 CR:JAGad56613 ) Duplicate ( SR:8606336994 CR:JAGae98031 ) swapon(1M) always expects "device special file" field for the local filesystem swap entries in /etc/fstab to start with '/'. The problem can be reproduced as follows: 1. Update the /etc/fstab file with the following entry: default /rick_dumps swapfs pri=1 0 0 2. Execute the command # swapon -a 3. swapon(1m) issues the error "swapon: unable to find the mount point for /rick_dumps." Resolution: The code is corrected to activate the swapfs entries in /etc/fstab as filesystem swap even when it does not start with '/'. Enhancement: No SR: 8606187406 8606336994 Patch Files: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/sbin/swapon what(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/sbin/swapon: swapon.c $Date: 2004/05/05 22:16:08 $Revision: r11.1 1/4 PATCH_11.11 (PHCO_27010) $Revision: @(#) swapon R11.11_BL2004_0513_2 PATCH_11 .11 PHCO_27010 Thu May 13 01:01:56 PDT 2004 $ cksum(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 3887179521 28672 /usr/sbin/swapon Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 30 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_27010 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27010.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27010. 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_27010.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27010.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27010.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None