Patch Name: PHCO_30005 Patch Description: s700_800 11.04 (VVOS) bdf(1M) cumulative patch; large file Creation Date: 03/12/01 Post Date: 03/12/09 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: OS-Core.CMDS-AUX,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/PHCO_30005 Symptoms: PHCO_30005: Repackaged HP-UX patch PHCO_28630 for VVOS Based on HP-UX patch PHCO_28630: ( SR: 8606231523 CR: JAGae00761 ) bdf(1M) returns an error: "Could not find mount point /xxx". ( SR: 8606265211 CR: JAGae29539 ) bdf(1M) returns an error: "Value too large to be stored in data type". Based on HP-UX patch PHCO_23117: ( SR: 8606171833 CR: JAGad41097 ) The bdf(1M) returns error messages when it reports on the indirect autofs file system that is specified in its command line. Users will see the following error message: # bdf /indirect bdf: could not find the mount point for /indirect PHCO_22326: Repackaged HP-UX patch PHCO_22274 for VVOS Based on HP-UX patch PHCO_22274: ( SR: 8606152601 CR: JAGad21931 ) Program abort. Based on HP-UX patch PHCO_19945: ( SR: 8606102805 CR: JAGab68801 ) The bdf(1M) should not report on autofs file systems. The patch PHCO_14625 does not skip autofs file systems when those autofs file systems are given as the bdf command-line arguments. Users will see "/etc/auto.direct" instead of the mount points. Based on HP-UX patch PHCO_14625: ( SR: 0000000000 CR: JAGaa26131 ) Since autofs file systems are now supported, the bdf command must explicitly skip file systems of that type. The bdf command should not report on autofs file systems. Defect Description: PHCO_30005: Repackaged HP-UX patch PHCO_28630 for VVOS Based on HP-UX patch PHCO_28630: ( SR: 8606231523 CR: JAGae00761 ) bdf(1M) is unable to read a consistent copy of /etc/mnttab file when some other process is writing to that file concurrently. Resolution: Changes were made to enable bdf(1M) to obtain a read-lock on /etc/mnttab file, allowing it to read a consistent copy of that file. ( SR: 8606265211 CR: JAGae29539 ) When a file larger than 2GB is passed to bdf(1M) as a command-line argument, open() on this file fails (EOVERFLOW), causing bdf(1M) to return an error, "Value too large to be stored in data type". Resolution: The 2GB limit is overcome by compiling bdf(1M) with _FILE_OFFSET_BITS=64. This enables bdf(1M) to use 64-bit offsets and APIs. Based on HP-UX patch PHCO_23117: ( SR: 8606171833 CR: JAGad41097 ) The bdf(1m) had been modified to skip all autofs type of file systems before. However, bdf(1m) should indicate autofs filesystem information to users if an autofs mount point is given as an argument in the command line. Resolution: Modify bdf(1m) to report autofs mount point information if an autofs mount directory is the argument of bdf(1m). PHCO_22326: Repackaged HP-UX patch PHCO_22274 for VVOS Based on HP-UX patch PHCO_22274: ( SR: 8606152601 CR: JAGad21931 ) Buffer overflow. Resolution: Modify bdf(1m) to check the length of the buffer. Based on HP-UX patch PHCO_19945: ( SR: 8606102805 CR: JAGab68801 ) Since autofs file systems are now supported, the bdf command must explicitly skip file systems of that type. Based on HP-UX patch PHCO_14625: ( SR: 0000000000 CR: JAGaa26131 ) Since autofs file systems are now supported, the bdf command must explicitly skip file systems of that type. The bdf command should not report on autofs file systems. Enhancement: No SR: 8606265211 8606231523 8606171833 8606152601 8606102805 Patch Files: OS-Core.CMDS-AUX,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/bdf what(1) Output: OS-Core.CMDS-AUX,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: /usr/bin/bdf: $Revision: 76.1.1.8 $ PATCH_11_00: bdf.o 03/03/20 cksum(1) Output: OS-Core.CMDS-AUX,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP: 3959482401 28672 /usr/bin/bdf Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_22326 Equivalent Patches: PHCO_28630: s700: 11.00 s800: 11.00 Patch Package Size: 40 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_30005 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_30005.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_30005. 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_30005.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_30005.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_30005.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None