"patchadd -d" May Not Complete For Kernel Patches 118833-36 and 118855-36 |
|
| Category : | Availability |
| Release Phase : | Resolved |
| Product : | Solaris 10 Operating System
|
| Bug Id : | 6523175
|
| Date of Resolved Release : | 20-MAR-2007
|
Impact
Due to an issue in the postinstall script for the package "SUNWcslr", the installation of kernel patches 118833-36 and 118855-36 using the "patchadd -d" command may fail to complete. As a result, the system may be left in an inconsistent state with some, but not all the packages updated for the patches.
The degree of inconsistency will vary depending upon the previous revision of the patches installed.
Contributing Factors
This issue can occur in the following releases:
SPARC Platform
x86 Platform
Note 1: Solaris 8 and Solaris 9 are not impacted by this issue.
Note 2: This issue only occurs when installing kernel patches 118833-36 and 118855-36 using the "patchadd -d" command.
Symptoms
For SPARC platforms, attempts to install kernel patch 118833-36 using "patchadd -d" will result in the following errors:
/var/sadm/pkg/SUNWcslr/install/postinstall: /var/tmp/118833-36.SUNWcslr/pkginfo: cannot create
pkgadd: ERROR: postinstall script did not complete successfully
For x86 platforms, attempts to install kernel patch 118855-36 using "patchadd -d" will result in the following error:
/var/sadm/pkg/SUNWcslr/install/postinstall: /var/tmp/118855-36.SUNWcslr/pkginfo: cannot create
pkgadd: ERROR: postinstall script did not complete successfully
Workaround
To work around this issue, it is advised that the "patchadd -d" command is not used to install kernel patch 118833-36 or 118855-36 since this command does not allow the patch to be removed at a later date.
To avoid this issue while using the "patchadd -d" command, execute the following commands:
For kernel patch 118833-36 on SPARC platforms:
# mkdir /var/tmp/118833-36.SUNWcslr
# patchadd -d 118833-36
Note: If using "patchadd -R" or "luupgrade" to install the patch, append the path to the Alternate Boot Environment to the previous mkdir.
For kernel patch 118855-36 on x86 platforms:
# mkdir /var/tmp/118855-36.SUNWcslr
# patchadd -d 118855-36
Note: If using "patchadd -R" or "luupgrade" to install the patch, append the path to the Alternate Boot Environment to the previous mkdir.
For Example:
If running patchadd -d -R /5.10 118833-36, execute the following:
# mkdir /5.10/var/tmp/118833-36.SUNWcslr
# patchadd -d -R /5.10 118833-36
Note 1: If using "luupgrade" to apply the patch, first use "lumount" to mount the Alternate Boot Environment, and then append the path to the Alternate Boot Environment to the mkdir command.
Note 2: If "patchadd -d" has already been used without the above workaround resulting in the patch being only half installed, then the patch installation can be completed by executing the commands above and running "patchadd -d" a second time.
Resolution
Please see the Relief/Workaround section above for the final resolution to this issue.
Note: Kernel patches 118833-36 and 118855-36 have been rejuvenated. As such, there will not be a rev -37 of these patches. For more info on rejuvenation see: http://sunsolve.sun.com/pub-cgi/show.pl?target=patchrej
AttachmentsThis solution has no attachment