Patch-ID# 110911-06 NOTE: *********************************************************************** READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE. *********************************************************************** Keywords: security fsck fsck_ufs detect holes mkfs mkfs_ufs ufsdump mmap Synopsis: SunOS 5.8_x86: /usr/lib/fs/ufs utilities patch Date: Jan/30/2007 Install Requirements: Reboot after installation, an alternative may be in Special Install Instructions Solaris Release: 8_x86 SunOS Release: 5.8_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 110910 Topic: SunOS 5.8_x86: /usr/lib/fs/ufs utilities patch Relevant Architectures: i386 BugId's fixed with this patch: 1260290 4132365 4225018 4296770 4297460 4333516 4339330 4339366 4344221 4353832 4358666 4374181 4380132 4425003 4474014 4476995 4632750 4721124 4767221 4836779 4845221 4857410 4872089 4890510 5086715 6175186 6208131 6312941 6312946 6312949 6312954 6450540 6471377 Changes incorporated in this version: 6471377 Patches accumulated and obsoleted by this patch: 110236-01 110284-06 110333-01 110402-05 Patches which conflict with this patch: Patches required with this patch: 123479-01 (or greater) Obsoleted by: Files included with this patch: /usr/lib/fs/ufs/clri /usr/lib/fs/ufs/dcopy /usr/lib/fs/ufs/ff /usr/lib/fs/ufs/fsck /usr/lib/fs/ufs/mkfs /usr/lib/fs/ufs/ncheck /usr/lib/fs/ufs/newfs /usr/lib/fs/ufs/ufsdump /usr/sbin/fsck Problem Description: 6471377 fsck doesn't convert disk blocks to frags when calculating the ufs log (S8 patch 110910-04 onwards) (from 110911-05) 6450540 patches 110910 (110911) hard dependency on 123478 (123479) (from 110911-04) 4836779 fsck requires multiple runs to clear up DUP or BAD blocks 6175186 fsck should not need to be run multiple times 4890510 fsck can't properly recover the filesystem 4857410 ufs_sync_indir() walks off the end of the i_ib array 5086715 ufs fsck has memory leaks 4845221 ufs/fsck can't handle filesystem name argument 6208131 fsck needs to be able to recover filesystem problems (nbfree,ndir,nifree,nffree suspect) 1260290 RFE: fsck error: UNKNOWN FILE TYPE describes multiple error conditions 4872089 fsck almost always reports FREE BLK COUNT(S) WRONG IN SUPERBLK 6312941 UFS fsck rerun messaging : PSARC 2005/044 6312946 UFS fsck verbose option : PSARC 2005/045 6312949 UFS fsck automated search for a backup superblocks : PSARC 2005/051 6312954 UFS newfs/mkfs superblock calculation options : PSARC 2005/043 (from 110911-03) 4353832 fsck gives up too easily (from 110911-02) 4632750 fsck_ufs fails to detect directories with holes (from 110911-01) 4225018 fsck -n on a mounted filesystem shouldn't ask for user confirmation (from 110284-06) 4721124 mkfs coredumps when fragsize is 8192 on large filesystems (from 110284-05) 4425003 expanding logging-enabled ufs with mkfs returns a "permission denied" error 4476995 rlmount() does not include largefiles flag (from 110284-04) This revision includes the fixes for 4374181 and 4380132 which were missing from the previous revision. (from 110284-03) 4374181 mkfs can fail in low-memory environments 4380132 mkfs_ufs core dumps on some sets of parameters (from 110284-02) This revision accumulates feature point patch 110333-01. (from 110284-01) 4297460 should mkfs -m solaris 8 work? 4339330 mkfs -m doesn't redirect output to stdout (from 110333-01) 4344221 RFE: mkfs is unnecessarily slow 4333516 newfs nbpi calculation wrong for near-terabyte filesystems (from 110402-05) 4767221 incremental ufsdump of fs snapshot can omit files (from 110402-04) 4474014 ufsdump fails to dump a file larger than 2G on Solaris 8 (from 110402-03) 4358666 mmap(2) use in ufsdump makes for incomplete dumps (from 110402-02) 4339366 security vulnerability in ufsrestore allows root compromise 4132365 security vulnerability on ufsdump and restore in 2.6 and 2.6 x86 (from 110402-01) This revision accumulates feature point patch 110236-01. (from 110236-01) 4296770 file systems should support snapshots for online backups Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-10 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- Reboot the system after patch installation. NOTE 1: To get UFS Snapshot support, one needs to install the following patches: 108529-05 (or greater) kernel update patch 110403-01 (or greater) /usr/lib/libadm.so.1 patch 110404-01 (or greater) /usr/sbin/clri and /usr/sbin/fssnap patch 110405-01 (or greater) /usr/kernel/drv/fssnap patch NOTE 2: To get the complete fix for bug 4353832 (fsck gives up too easily), please also install the following patch: 116951-04 (or greater) ufs patch README -- Last modified date: Tuesday, January 30, 2007