Patch-ID# 110910-12


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: security fsck fsck_ufs detect holes mkfs newfs mkfs_ufs ufsdump mmap
Synopsis: SunOS 5.8: /usr/lib/fs/ufs utilities patch
Date: Nov/11/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

SunOS Release: 5.8

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 110911

Topic: SunOS 5.8: /usr/lib/fs/ufs utilities patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
126029014919738
413236514960768
422501814984671
429677015008485
429746015008738
433351615023667
433933015026164
433936615026183
434422115028245
435383215032078
435866615033964
437418115039424
438013215041458
442500315056233
447401415069629
447699515070665
463275015095658
472112415116429
476722115129786
477528915132396
483677915152112
484522115154709
485741015158360
487208915162365
489051015167709
508671515222859
617518615230856
620813115240992
631294115282555
631294615282556
631294915282558
631295415282560
635219615298682
636513815303679
636777715304725
636794815304784
643100615332688
645054015340926
647137715350841
647741015353598
654080515387540
657770715408242
664334315446748
666030115456439


Changes incorporated in this version: 6660301

Patches accumulated and obsoleted by this patch: 110235-01 110283-06 110332-01 110387-05

Patches which conflict with this patch:

Patches required with this patch: 123478-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:

6660301 fsck does not fix file system corruption related to information of rotational position
 
(from 110910-11)
 
6643343 fsck emits unnecessary warnings with -n
 
(from 110910-10)
 
6577707 ufsdump should not care about st_blocks value of tape device/file that it is dumping to
 
(from 110910-09)
 
4775289 fsck reports wrong state in superblock if there once existed a largefile
6352196 fsck cannot open disk images
6365138 fsck 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 110910-08)
 
6477410 fsck complains about BAD/CORRUPT ACL inode
 
(from 110910-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 110910-06)
 
6471377 fsck doesn't convert disk blocks to frags when calculating ufs log (S8 patch 110910-04 onwards)
 
(from 110910-05)
 
6450540 patches 110910 (110911) hard dependency on 123478 (123479)
 
(from 110910-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 filesystem
4857410 ufs_sync_indir() walks off end of 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 backup superblocks: PSARC 2005/051
6312954 UFS newfs/mkfs superblock calculation options: PSARC 2005/043
 
(from 110910-03)
 
4353832 fsck gives up too easily
 
(from 110910-02)
 
4632750 fsck_ufs fails to detect directories with holes
 
(from 110910-01)
 
4225018 fsck -n on mounted filesystem shouldn't ask for user confirmation
 
(from 110283-06)
 
4721124 mkfs coredumps when fragsize is 8192 on large filesystems
 
(from 110283-05)
 
4425003 expanding logging-enabled UFS with mkfs returns "permission denied" error
4476995 rlmount() does not include largefiles flag
 
(from 110283-04)
 
	This revision includes fixes for 4374181 and 4380132 which were
	missing from the previous revision.
 
(from 110283-03)
 
4380132 mkfs_ufs core dumps on some sets of parameters
4374181 mkfs can fail in low-memory environments
 
(from 110283-02)
 
        This revision accumulates feature point patch 110332-01.
 
(from 110283-01)
 
4297460 should mkfs -m solaris 8 work?
4339330 mkfs -m doesn't redirect output to stdout
 
(from 110332-01)
 
4344221 RFE: mkfs is unnecessarily slow
4333516 newfs nbpi calculation wrong for near-terabyte filesystems
 
(from 110387-05)
 
4767221 incremental ufsdump of fs snapshot can omit files
 
(from 110387-04)
 
4474014 ufsdump fails to dump file larger than 2G on Solaris 8
 
(from 110387-03)
 
4358666 mmap(2) use in ufsdump makes for incomplete dumps
 
(from 110387-02)
 
4339366 security vulnerability in ufsrestore allows root compromise
4132365 security vulnerability on ufsdump and restore in 2.6 and 2.6 x86
 
(from 110387-01)
 
        This revision accumulates feature point patch 110235-01.
 
(from 110235-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:
 
         108528-05 (or greater)  kernel update patch
         110380-01 (or greater)  /usr/lib/libadm.so.1 patch
         110381-01 (or greater)  /usr/sbin/clri and
                                 /usr/sbin/fssnap patch
         110382-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:
 
         116950-04 (or greater)  ufs patch


README -- Last modified date: Friday, November 9, 2012