"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

  • Solaris 10

x86 Platform

  • Solaris 10

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






Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 200622
Article Type : Sun Alert
Last reviewed : 2007-03-20
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1