Patch-ID# 108969-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 volmgt pcfs scsi pcfs udfs nosuid vold removable media
Synopsis: SunOS 5.8_x86: vol/vold/rmmount patch
Date: Dec/02/2008


Install Requirements: After installing this patch on an active boot environment, the system will be in a potentially inconsistent state until a reboot is performed. Unless
otherwise specified in the Special Install Instructions below, it is normally safe to apply further patches prior to initiating the reboot due to the relatively small footprint of the patch utilities. Normal operations must not be resumed until after the reboot is performed.
Use Single User Mode (run level S) when installing this patch on an active boot environment. 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 108968

Topic: SunOS 5.8_x86: vol/vold/rmmount patch
	NOTE:   Refer to Special Install Instructions section for
                IMPORTANT specific information on this patch.


Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
120600014895611
410829714954079
414552914963637
420543714979469
421161214981058
425481614993735
425504914993823
428087015002691
428537415004360
428644615004765
429240815006996
429256315007061
429645215008398
429845115009144
429846515009149
429856315009194
429856715009197
430343015011256
430428315011627
430428915011631
430506715011952
430642515012517
430749515012922
430750015012925
430762015012987
430763415012992
431277815015253
431309115015422
431477815016197
434987115030525
435564315032754
436541215036352
439224115045614
463725015096806
470522615112512
481781715146159
485737215158343
489579815169455
490352115171821
490581215172451
490690215172765
490708515172820
494096415181946
496128815187439
500630115199078
507310515218414
507310915218416
507315815218418
507317215218420
671235215486129


Changes incorporated in this version: 6712352

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 108978-01 (or greater)

Obsoleted by:

Files included with this patch:

/etc/rmmount.conf
/etc/vold.conf
/usr/bin/volrmmount
/usr/include/sys/vol.h
/usr/kernel/drv/vol
/usr/lib/fs/pcfs/ident_pcfs.so.1
/usr/lib/rmmount/action_dvdvideo.so.1
/usr/lib/rmmount/action_filemgr.so.1
/usr/lib/rmmount/action_workman.so.1
/usr/lib/vold/db_mem.so.1
/usr/lib/vold/db_nis.so.1
/usr/lib/vold/dev_cdrom.so.1
/usr/lib/vold/dev_cdtest.so.1
/usr/lib/vold/dev_floppy.so.1
/usr/lib/vold/dev_pcmem.so.1
/usr/lib/vold/dev_rmdisk.so.1
/usr/lib/vold/dev_test.so.1
/usr/lib/vold/label_cdrom.so.1
/usr/lib/vold/label_dos.so.1
/usr/lib/vold/label_sun.so.1
/usr/lib/vold/label_test.so.1
/usr/lib/vold/volmissing
/usr/sbin/rmmount
/usr/sbin/vold

Problem Description:

6712352 duplicate partitions are not correctly counted by vold
 
(from 108969-11)
 
4349871 assertion failure seen when eject jaz drive
4906902 vol driver ST_STACKOPEN code should be removed
4907085 volprop_op returns inappropriate values
4940964 system panics in race condition of volioctl()
5073105 vol ioctls return inappropriate value when copyin/copyout failed
5073109 volopen should check open flag exclusively
5073158 closing /dev/volctl may cause panic if vol ioctl is in progress
5073172 volstrategy leaks buf and eventually hangs if floppy was manually ejected
4857372 volctl ioctl problems
5006301 vol ioctls must NUL terminate their input/output string buffers
 
(from 108969-10)
 
4961288 vold does not set noquota in /etc/mnttab
 
(from 108969-09)
 
4895798 Sunfire 480/880 with Solaris 8 - vol.log messages
4903521 warning: either couldn't find a driver for floppy  or it's it's already managed
4905812 vold dumped core shortly after system is booted up
4817817 vold accesses non-existent devices multiple times
 
(from 108969-08)
 
4705226 Solaris 9 translates all DVD built in UDF Format to lower case
 
(from 108969-07)
 
4637250 vold contains a buffer overflow
 
(from 108969-06)
 
4280870 pcmcia is writing a root owned and group'd directory and file
 
(from 108969-05)
 
4392241 vold fails to mount osscv5.1 CD
 
(from 108969-04)
 
4365412 Patch 108968-02 breaks vold for some CDs
 
(from 108969-03)
 
4314778 rmmount cores in strcmp from incomplete audio_cd check
4355643 volume manager can't cope with some formats of CDROM
 
(from 108969-02)
 
4313091 rmmount dumps core when run as ordinary user
 
(from 108969-01)
 
4108297 volmgt should handle PCFS removable SCSI media
4211612 vold doesn't update /tmp/.removable/floppy0 file correctly.
1206000 volmgt doesn't handle re-labeled diskettes correctly
4145529 the name 'rmscsi' should be changed to incorporate ATA/IDE removable
4254816 mount -F pcfs fails on media with multiple fdisk tables.
4255049 ident_pcfs fails for a single PCFS partition defined in a single fdisk
4285374 volume manager mounts backup partition
4286446 error messages on console when zip medium is write protected
4298465 vol driver does not set D_64BIT in cb_ops structure...
4296452 x86: rmformat -F quick long fails on disk with pcfs
4298567 warning: "/etc/rmmount.conf" line 18: filesystem type "udfs" not
4298563 action_filemgr.so can sometimes remove pipes created by other processes.
4292408 fatal error on console after attempting to open jaz drive
4298451 rmmount fails with SIGSEGV when mounting more than 3 partitions on one
4292563 volmgt: console messages with audio-cd in cd-rom drive
4205437 security problem with Solaris volmgt
4304283 memory allocation error in conf_mount() procedure
4304289 need to add "udfs" to "mount * ufs hsfs -o nosuid"
4303430 "Killing pid" message from vold on reboot
4305067 volmgt doesn't handle unlabeled CD's with top level UFS partition correctly
4306425 vol: /usr/kernel/drv/vol binary is not updated in Solaris 8 Release Update
4307495 vold can fail with SIGSEGV if a device doesn't support the SCSI commands
4307500 vold uses a common number sequence to name zip and jaz drives
4307620 vold dies when it attempts to handle removable media ejection.
4307634 vold dies if load_vendor_data returns NULL pointer
4312778 volcheck doesn't check CD or removable media hard disk drives


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:
-----------------------------
 
Perform patch installation in single user mode.
Reboot the system after patch installation.
 
NOTE 1: If you're using CDE 1.4, you MUST also install the following
        patches:
 
        109166-01 (or newer)    CDE 1.4: dtfile patch
        109168-01 (or newer)    CDE 1.4: Desktop Help Update Patch
        108922-02 (or newer)    CDE 1.4: dtwm Patch
 
	If you're using OpenWindows 3.8, you MUST also install patch
        109464-01 (or newer).
 
NOTE 2: To get the complete Removable Media functionality, one also
	needs to install the following patches:
 
	108971-01 (or newer)	/usr/lib/fs/pcfs/fsck and /usr/lib/fs/pcfs/mkfs patch
	108973-01 (or newer)	/sbin/fdisk patch
	108976-01 (or newer)    /usr/bin/rmformat and /usr/sbin/format patch


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