Patch Name: PHCO_10061 Patch Description: s700_800 10.00 LVM commands cumulative patch Creation Date: 97/02/12 Post Date: 97/02/18 Hardware Platforms - OS Releases: s700: 10.00 s800: 10.00 Products: N/A Filesets: LVM.LVM-RUN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_10061 Symptoms: PHCO_10061: A non-root process can gain access to a root shell. PHCO_5752: The command "vgchange -a r " fails with the message: Activation mode requested for the volume group conflicts with configured mode. PHCO_5596: Patch 5596 was originally made to solve the problem. However, the mirrored version of lvchange in sbin was not an archived version. This patch (5752) fixes that problem. PHCO_5752 is the correct patch. Defect Description: PHCO_10061: A check was added to the LVM main module to make sure each in-coming parameter have size within the maximum length allowed. PHCO_5752: The read only activation of the volume group fails whenever the Service guard cluster services are active in the system or when the volume group has been activated in exclusive mode in another system. There is no workaround for this defect. PHCO_5596: Patch 5596 did not have the correct mirrored executable for lvchange. This patch (5752) should. SR: 4701346494 4701293480 Patch Files: /usr/lib/nls/msg/C/lvm.cat /usr/newconfig/sbin/lvchange.mir /usr/newconfig/usr/sbin/lvchange.mir /sbin/lvchange /usr/sbin/lvchange what(1) Output: /usr/lib/nls/msg/C/lvm.cat: None /usr/newconfig/sbin/lvchange.mir: $Revision: 72.155.5.2 $ MIRROR PRODUCT /usr/lib/libc: $Revision: 72.775 $ PATCH_10_0: lvdisplay.o lvlnboot.o lvremove.o lvrmbo ot.o pvchange.o pvcreate.o pvdisplay.o pvmo ve.o sdstolvm.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgcreate.o vgdisplay.o vgexport .o vgextend.o vgimport.o vgreduce.o vgremov e.o vgscan.o lvchange_m.o lvcreate_m.o lvex tend_m.o lvmerge_m.o lvmmain_m.o lvreduce_m .o lvsplit_m.o lvsync_m.o nomwcsyncd_m.o vg sync_m.o hpux_rel_m.o 97/02/12 /usr/newconfig/usr/sbin/lvchange.mir: $Revision: 72.155.5.2 $ MIRROR PRODUCT PATCH_10_0: lvdisplay.o lvlnboot.o lvremove.o lvrmbo ot.o pvchange.o pvcreate.o pvdisplay.o pvmo ve.o sdstolvm.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgcreate.o vgdisplay.o vgexport .o vgextend.o vgimport.o vgreduce.o vgremov e.o vgscan.o lvchange_m.o lvcreate_m.o lvex tend_m.o lvmerge_m.o lvmmain_m.o lvreduce_m .o lvsplit_m.o lvsync_m.o nomwcsyncd_m.o vg sync_m.o hpux_rel_m.o 97/02/12 /sbin/lvchange: $Revision: 72.155.5.2 $ /usr/lib/libc: $Revision: 72.775 $ PATCH_10_0: lvdisplay.o lvlnboot.o lvremove.o lvrmbo ot.o pvchange.o pvcreate.o pvdisplay.o pvmo ve.o sdstolvm.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgcreate.o vgdisplay.o vgexport .o vgextend.o vgimport.o vgreduce.o vgremov e.o vgscan.o lvchange.o lvcreate.o lvextend .o lvmerge.o lvmmain.o lvreduce.o lvsplit.o lvsync.o nomwcsyncd.o vgsync.o hpux_rel.o 97/02/12 /usr/sbin/lvchange: $Revision: 72.155.5.2 $ PATCH_10_0: lvdisplay.o lvlnboot.o lvremove.o lvrmbo ot.o pvchange.o pvcreate.o pvdisplay.o pvmo ve.o sdstolvm.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgcreate.o vgdisplay.o vgexport .o vgextend.o vgimport.o vgreduce.o vgremov e.o vgscan.o lvchange.o lvcreate.o lvextend .o lvmerge.o lvmmain.o lvreduce.o lvsplit.o lvsync.o nomwcsyncd.o vgsync.o hpux_rel.o 97/02/12 cksum(1) Output: 1329619191 32116 /usr/lib/nls/msg/C/lvm.cat 4262071029 577536 /usr/newconfig/sbin/lvchange.mir 1368301529 364544 /usr/newconfig/usr/sbin/lvchange.mir 1763950835 557056 /sbin/lvchange 814145236 344064 /usr/sbin/lvchange Patch Conflicts: None Patch Dependencies: s700: 10.00: PHKL_5605 s800: 10.00: PHKL_5595 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_5596 PHCO_5752 Equivalent Patches: PHCO_10048: s700: 10.20 s800: 10.20 PHCO_10059: s700: 10.10 s800: 10.10 PHCO_10060: s700: 10.01 s800: 10.01 Patch Package Size: 1900 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_10061 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_10061.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_10061.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_10061. 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_10061.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_10061.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None