smpatch doesn't analyze properly for the "recommended" patchset?
I have a "patchsvr" set up under sol10 1/06 with patch 121118-08 applied. It has all the default settings except for a different Cache Location. I have a fresh sol10 6/06 install with zero patches applied, with default settings except for being pointed at my "patchsvr" proxy.
If I try to use the "recommended" patchset, I'm not getting any patches returned:
# smpatch unset patchpro.patchset
# smpatch analyze | wc
1388746296
# smpatch analyze | egrep '(121118-08|123304-02|119059-18)'
123304-02 SunOS 5.10: kssl patch
121118-08 SunOS 5.10: Sun Update Connection System Client 1.0.8
119059-18 X11 6.6.2: Xsun patch
# smpatch set patchpro.patchset=recommended
# smpatch analyze
No patches required.
This can't be right, can it?
# 1
Hi.Could you post the output from:# patchsvr setup -lon the patch server, and:# smpatch geton the client.Please remove any passwords / usernames from the output before posting.
# 2
> Could you post the output from:
>
># patchsvr setup -l
> the patch server, and:
# patchsvr setup -l
Patch source URL: https://getupdates.sun.com/solaris/
Cache Location: /opt/patchsvr
Web proxy host name:
Web proxy port number: 8080
Web proxy user:
># smpatch get
> the client.
# smpatch get
patchpro.backout.directory-""
patchpro.baseline.directory-/var/sadm/spool
patchpro.download.directory-/var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.sourcehttp:/<install_host>:3816/solaris/https://getupdates1.sun.com/
patchpro.patchsetrecommendedcurrent
patchpro.proxy.host -""
patchpro.proxy.passwd********
patchpro.proxy.port -8080
patchpro.proxy.user -""
# 3
Hi again.That all looks normal.Could you post the output from:# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=trueand we'll hopefully see where it's failing.
# 4
> Could you post the output from:
>
> # smpatch analyze -C patchpro.log.level=3 -C
> patchpro.debug=true
I fear that it didn't print out any useful information:
# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
... Submitting download request against a Non-GUUS server
Key 1 : Content-Type = application/octet-stream
Key 2 : Date = Thu, 05 Oct 2006 15:26:02 GMT
Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
Key 4 : Transfer-Encoding = chunked
Key 5 : PatchProServletCompletionCode = 0
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
... Submitting download request against a Non-GUUS server
Key 1 : Content-Type = application/octet-stream
Key 2 : Date = Thu, 05 Oct 2006 15:27:00 GMT
Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
Key 4 : Transfer-Encoding = chunked
Key 5 : PatchProServletCompletionCode = 0
No patches required.
I tried a couple higher numbers for the debug level (not knowing if it mattered) and got
identical results.
# 5
Steven,
There is no "recommended" patchset for Solaris 10 avaliable using the SunUC toolset which is why you are getting the no patches required message and why there are no errors logged.
The recommended patchset only contains data for Sol8/9 hosts. Please change the patchset back to "current" and you should see smpatch analyze return with an apporpriate list of patches for you.
# 6
> The recommended patchset only contains data for
> Sol8/9 hosts. Please change the patchset back to
> "current" and you should see smpatch analyze return
> with an apporpriate list of patches for you.
The "current" patchset currently wants me to install over 80 patches that aren't listed as recommended. Sun has always encouraged a "only install non-recommended patches if you need to" policy. Are you saying this is no longer the case, that we should install all patches returned by "smpatch analyze"?
As well, I hesitate to argue with the expert, but it's just not the case that the Solaris 10 patches are missing from the "recommended" patchset:
# cd /tmp
# unzip -q /opt/patchsvr/Database/https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Frecommended.zip
# egrep "<!>sparc<!>SunOS<!>5.10<!>" patchlist.delimited | cut -c1-6 | sort > rec1
# head -4 10_Recommended.README
# CLUSTER_README
NAME: Solaris 10 Recommended Patch Cluster
DATE: Oct/04/06
# egrep '^[0-9][0-9][0-9][0-9][0-9][0-9]' 10_Recommended.README | cut -c1-6 | sort > rec2
# ls -l rec?
-rw-r--r--1 rootroot 357 Oct 6 09:54 rec1
-rw-r--r--1 rootroot 357 Oct 6 09:54 rec2
# diff rec1 rec2
35a36
> 121002
45d45
< 121333
# 7
Regardless of the contents of the patchlist.delimited file, the 'recommended' patchset is not supported on Solaris 10 smpatch/UpdateManager.The 5.10 data is likely just a product of the way in which the clusters are built.