Patch-ID# 110911-10

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/2008


Install Requirements: Reboot after installing this patch to activate the changes delivered.  An alternative may be specified in the 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 4775289 4836779 4845221 4857410 4872089 4890510 5086715 6175186 6208131 6312941 6312946 6312949 6312954 6352196 6365138 6367777 6367948 6431006 6450540 6471377 6477410 6540805 6577707

Changes incorporated in this version: 6577707

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: 

/sbin/rcS
/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:

6577707 ufsdump should not care about st_blocks value of tape device/file that it is dumping to
 
(from 110911-09)
 
4775289 fsck reports wrong state in superblock if there once existed a largefile
6352196 fsck cannot open disk images
6365138 fsck is overzealous when checking mounted read/write filesystem with -n
6431006 new fsck_ufs(1M) should be more helpful when encountering bad CG with bad CG_MAGIC
6540805 fsck regression following 5.8 filesystem touched by 5.9
 
(from 110911-08)
 
6477410 fsck complains about BAD/CORRUPT ACL inode
 
(from 110911-07)
 
6367777 *fsck* svc:/system/filesystem/usr fails to start from milestone 'none'
6367948 new fsck_ufs(1M) has nits when dealing with already mounted file systems
 
(from 110911-06)
 
6471377 fsck doesn't convert disk blocks to frags when calculating the ufs log 
 
(from 110911-05)
 
6450540 patches 110910 (110911) hard dependency on 123478 (123479)
 
(from 110911-04)
 
1260290 RFE: fsck error: UNKNOWN FILE TYPE describes multiple error conditions
4836779 fsck requires multiple runs to clear up DUP or BAD blocks
4845221 ufs/fsck can't handle filesystem name argument
4857410 ufs_sync_indir() walks off end of i_ib array
4872089 fsck almost always reports FREE BLK COUNT(S) WRONG IN SUPERBLK
4890510 fsck can't properly recover filesystem
5086715 ufs fsck has memory leaks
6175186 fsck should not need to be run multiple times
6208131 fsck needs to be able to recover filesystem problems (nbfree,ndir,nifree,nffree suspect)
6312941 UFS fsck rerun messaging: PSARC 2005/044
6312946 UFS fsck verbose option: PSARC 2005/045
6312949 UFS fsck automated search for 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 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 "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 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 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:
-----------------------------
 
NOTE 1:  Reboot the system after patch installation.
 
NOTE 2:  To get UFS Snapshot support, please also 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 3:  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:  Wednesday, January 30, 2008

