Patch Name: PHSS_30925 Patch Description: s700_800 11.04 (VVOS) bbtcreate(1M) cumulative patch Creation Date: 04/06/22 Post Date: 04/08/02 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: VirtualVaultOS.VVOS-AUX-BBT,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP VirtualVaultOS.VBBT-ENG-A-MAN,fr=B.11.04,fa=HP-UX_B.11.04_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/PHSS_30925 Symptoms: PHSS_30925: (SR: 8606372140 CR: JAGaf32558) When a system is restored from BBT, the file /etc/nsswitch.conf is missing. (SR: 8606306945 CR: JAGae69980) bbtcreate command does not work correctly when the "-d" option is used to specify the tape device, unless a standard rewind tape device is used (SR 8606286139 CR: JAGae50082) bbtcreate leaves .PID (where PID is the id of bbtcreate process) files under root(/) directory. (SR: 8606195469 CR: JAGad64673) bbtcreate returns error if not run in verbose mode. (SR: 8606363019 CR: JAGaf23682) Recovery of BBT, created at SYSTEM INSIDE sensitivity level fails. PHSS_26954: (SR 8606246603 CR: JAGae13048) When restoring from a system recovery tape created using bbtcreate(1M), certain system files are restored to the newconfig defaults, such as: /etc/hosts /etc/resolv.conf /etc/rc.config.d/namesvrs /etc/rc.config.d/netconf Defect Description: PHSS_30925: (SR: 8606372140 CR: JAGaf32558) When a system is restored from BBT, the file /etc/nsswitch.conf is missing. Resolution: Updated bbtcreate(1M) and bbtsaveconfig(1M) to restore the file /etc/nsswitch.conf. (SR: 8606306945 CR: JAGae69980) If a no-rewind tape device such as "/dev/rmt/0mn" or a soft link to a standard rewind/no-rewind tape device file is specified, bbtcreate fails to create a good Bootable Backup Tape (BBT). The BBT create may be incomplete or not written at all. And a large disk file will be created on the system, using the device name specified, with an 'n' appended to the name. Resolution: Updated bbtcreate(1M) to properly work with no-rewind tape device files and soft links to tape devices specified with -d option. (SR 8606286139 CR: JAGae50082) bbtcreate leaves .PID (where PID is the id of bbtcreate process) files under root(/) directory. Resolution: Corrected bbtcreate(1M) command to remove the temporarily created .PID file, after its use. (SR: 8606195469 CR: JAGad64673) If the bbtcreate command is called from other program without -v (verbose mode) option, it returns an error. Resolution: Modified bbtcreate command to function properly, even if is called without -v option. (SR: 8606363019 CR: JAGaf23682) If BBT created at SYSTEM INSIDE level, restoration of this BBT fails. Resolution: Modified bbtcreate(1M) so that it can be invoked only at SYSTEM sensitivity level. PHSS_26954: (SR 8606246603 CR: JAGae13048) bbtcreate(1M) allows the Ignite-UX restoration process to overlay certain system files with newconfig defaults. Resolution: Update bbtcreate(1M) and bbtsaveconfig(1M) to properly restore certain system files to archived states. The bbtcreate(1M) manpage is updated with additions to the the FILES section. Enhancement: No SR: 8606372140 8606306945 8606286139 8606195469 8606363019 8606246603 Patch Files: VirtualVaultOS.VVOS-AUX-BBT,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /opt/VVOSbbt/lbin/bbtparams /opt/VVOSbbt/bin/bbtcreate /opt/VVOSbbt/bin/bbtsaveconfig VirtualVaultOS.VBBT-ENG-A-MAN,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /opt/VVOSbbt/man/man1m.Z/bbtcreate.1m what(1) Output: VirtualVaultOS.VVOS-AUX-BBT,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /opt/VVOSbbt/lbin/bbtparams: $Revision: Hewlett-Packard ISSL 1.8.1.12 opt/VVOSbbt /lbin/bbtparams, cmdsbbt, vvos_rose, rose035 9 $ $Date: 04/06/29 08:03:51 $ /opt/VVOSbbt/bin/bbtcreate: $Revision: Hewlett-Packard ISSL 1.12.1.32 opt/VVOSbb t/bin/bbtcreate, cmdsbbt, vvos_rose, rose035 9 $ $Date: 04/07/20 07:38:33 $ $Source: opt/VVOSbbt/bin/bbtcreate, cmdsbbt, vvos_ro se, rose0359 $ $Date: 04/07/20 07:58:46 $ $R evision: 1.12.1.32 PATCH_11.04 (PHSS_30925) $ /opt/VVOSbbt/bin/bbtsaveconfig: $Revision: Hewlett-Packard ISSL 1.8.1.37 opt/VVOSbbt /bin/bbtsaveconfig, cmdsbbt, vvos_rose, rose 0355 $ $Date: 02/05/08 17:37:53 $ $Source: opt/VVOSbbt/bin/bbtsaveconfig, cmdsbbt, vvo s_rose, rose0355 $ $Date: 04/06/29 11:30:56 $ $Revision: 1.8.1.37 PATCH_11.04 (PHSS_2695 4) $ $Revision: Hewlett-Packard ISSL 1.8.1.35 opt/VVOSbbt /bin/bbtsaveconfig, cmdsbbt, vvos_dev, vvosl ev42r $ $Date: 99/10/26 08:05:50 $ VirtualVaultOS.VBBT-ENG-A-MAN,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /opt/VVOSbbt/man/man1m.Z/bbtcreate.1m: None cksum(1) Output: VirtualVaultOS.VVOS-AUX-BBT,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: 2906100113 10569 /opt/VVOSbbt/lbin/bbtparams 751868065 20596 /opt/VVOSbbt/bin/bbtcreate 18120864 16809 /opt/VVOSbbt/bin/bbtsaveconfig VirtualVaultOS.VBBT-ENG-A-MAN,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: 39766559 4637 /opt/VVOSbbt/man/man1m.Z/bbtcreate.1m Patch Conflicts: None Patch Dependencies: s700: 11.04: PHSS_25857 s800: 11.04: PHSS_25857 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_26954 Equivalent Patches: None Patch Package Size: 60 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 PHSS_30925 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_30925.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_30925. 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 PHSS_30925.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_30925.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_30925.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: For BBT to work with Ultra-160 SCSI card, please ensure that PHSS_31098, PHKL_30066 and PHKL_29929 are installed on the system.