Patch Name: PHCO_29348 Patch Description: s700_800 11.00 fuser(1M) cumulative patch Creation Date: 03/08/24 Post Date: 03/09/15 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_29348 Symptoms: PHCO_29348: fuser(1M) is not enabled for non-root execution. When executed by a non-root user, it exits with the following message. sh: /usr/sbin/fuser: Execute permission denied. PHCO_21901: fuser(1m) with -c option does not list the process IDs of processes that have automount points of autofs file system open. PHCO_21573: When a file is opened via "fattach", in some cases fuser erroneously fails with the error "could not obtain file system ID for file /". PHCO_19208: The command fuser takes a long time because it calls pstat_getprocvm(), where a lot of cycles are spent calculating/gathering the variable-sized pages statistics. Defect Description: PHCO_29348: Extend fuser usage permissions to non-root users. Resolution: Appropriate modifications to the install tables were made to make fuser permissions to 555. PHCO_21901: An autofs mount appears in the mount table with a filesystem type of "autofs" and a map file. That causes fuser(1m) to list the process IDs of processes that have this map file open, in stead of a real file system under the automount point. Resolution: Let fuser(1m) to skip the autofs map entry in the mount table and locate the real filesystem under the automount point. PHCO_21573: This problem is caused by "special" entries in the kernel's vfs list. This list is traversed by getmount_entry(2) on behalf of fuser(1M). The "special" entries are created by the STREAMS function fattach(3), and getmount_entry() for these indices fails with EINVAL. Resolution: The fuser command has been modified, so that, as we are going through the list of kernel mount table entries, if getmount_entry() fails with EINVAL, then we have an irrelevant file system type. The entry is skipped and we continue with the next one. PHCO_19208: The defect itself can be described as a performance problem when running command fuser on a system with a very large shared memory segment and many MMAP files to be checked. Resolution: There is a kernel patch, PHKL_19186, that provides a option to the application that does not need these variable-sized statistics if pstat_getprocvm() is called. The command fuser(1M) skips the process of gathering these variable-sized statistics by calling the above call with the right 'size' argument. Enhancement: Yes PHCO_29348: This product update modifies fuser permissions to 555. SR: 8606297028 8606140829 8606131423 1653305326 Patch Files: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1m.Z/fuser.1m OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/fuser what(1) Output: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1m.Z/fuser.1m: None OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/fuser: $Revision: 80.1.1.5 $ PATCH_11_00: fuser.o 03/08/24 cksum(1) Output: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 2425090417 2341 /usr/share/man/man1m.Z/fuser.1m OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 941434142 24576 /usr/sbin/fuser Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_19186 s800: 11.00: PHKL_19186 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_19208 PHCO_21573 PHCO_21901 Equivalent Patches: PHCO_29349: s700: 11.11 s800: 11.11 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_29348 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_29348.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_29348. 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_29348.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_29348.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_29348.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None