Patch 1129450-46 on Solaris 9 breaks smpatch & updatemanager - SUN

This is a discussion on Patch 1129450-46 on Solaris 9 breaks smpatch & updatemanager - SUN ; On three different SPARC Solaris 9 systems I've observed the following after 112945-46 was installed and then backed out: The tail of the tape does not lie: # smpatch analyze java.lang.UnsupportedClassVersionError: com/sun/patchpro/plugins/sunos/ firmware/SunOSBaseDataExtension (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Patch 1129450-46 on Solaris 9 breaks smpatch & updatemanager

  1. Patch 1129450-46 on Solaris 9 breaks smpatch & updatemanager

    On three different SPARC Solaris 9 systems I've observed the following
    after 112945-46 was installed and then backed out: The tail of the
    tape does not lie:

    # smpatch analyze
    java.lang.UnsupportedClassVersionError: com/sun/patchpro/plugins/sunos/
    firmware/SunOSBaseDataExtension (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :509)
    at
    java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:
    123)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:
    246)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:
    265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 62)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:
    322)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:130)
    at
    com.sun.patchpro.analysis.SunOSBaseData.getDetecto rFromName(SunOSBaseData.java:
    387)
    at
    com.sun.patchpro.analysis.SunOSBaseData.run(SunOSB aseData.java:105)
    at java.lang.Thread.run(Thread.java:536)

    ^C# pwd
    /root
    # showrev -p |grep 112807-22
    # patchrm 112945-46

    Checking installed patches...

    /var/sadm/pkg
    Executing prebackout script...
    /var/sadm/pkg
    Backing out patch 112945-46...

    /var/sadm/pkg
    /var/sadm/pkg
    Executing postbackout script...
    Patch 112945-46 has been backed out.

    # smpatch analyze
    113434-35 SunOS 5.9: /usr/snadm/lib Library and Differential Flash
    Patch
    112945-46 SunOS 5.9: wbem Patch
    112837-14 SunOS 5.9: patch /usr/lib/inet/in.dhcpd
    117471-04 SunOS 5.9: connld, fifofs, fifonode patch
    116669-30 SunOS 5.9: md Patch
    113575-10 SunOS 5.9: sendmail Patch
    118666-14 JavaSE 5.0: update 13 patch (equivalent to JDK 5.0u13)
    118667-14 JavaSE 5.0: update 13 patch (equivalent to JDK 5.0u13),
    64bit
    112540-27 SunOS 5.9: Expert3D IFB Graphics Patch
    112807-22 CDE 1.5: dtlogin patch


  2. Re: Patch 1129450-46 on Solaris 9 breaks smpatch & updatemanager

    MikeH wrote:
    > On three different SPARC Solaris 9 systems I've observed the following
    > after 112945-46 was installed and then backed out: The tail of the
    > tape does not lie:




    Yeah, I got the same results.

    --
    Jim Pennino

    Remove .spam.sux to reply.

  3. Re: Patch 1129450-46 on Solaris 9 breaks smpatch & updatemanager

    Yes, if you upgraded patch-framework from version "Solaris Patch
    Manager 2.0" to "Sun Connection's Update Manager" as described in
    http://www.sun.com/service/sunconnec...ingstarted.jsp in my
    opinion it is best to _first install_ patch 112945-46 and then update
    patch-framework.

    In detail: smpatch breaks, because old patch properties and mechanisms
    are restored when installing 112945-46 over the new patch framework
    (this is done by 'new' smpatch itself, if 112945-46 was not installed
    previously). One affected file is f.e. /usr/lib/patch/com/sun/patchpro/
    conf/Config.properties, which holds some properties for smpatch.

    This file belongs to two Packages: SUNWpmgr (old patch framework,
    patched with 112945-46) and SUNWpprou (part of new framework)

    Check this also out with "smpatch get" f.e. for property
    "patchpro.patch.source":
    112945-46: patchpro.patch.source -
    https://updateserver.sun.com/solaris/
    new framework: patchpro.patch.source - https://getupdates1.sun.com/



    Workaround: I feel it is best to reinstall package SUNWpprou again (as
    part of installer for "Sun Connection's Update Manager"), then smpatch
    worked again on my Solaris 9 system.

    At Sunsolve i did not see, that SUN is aware of this misbehaviour with
    new smpatch and 112945-46.

+ Reply to Thread