Solaris 9 8/03にRecommended Patchを当てたら
「Return code 35.」と、今まで見たことがないreturn codeが出た。
今まで 2 と 8 しか見たことが無かったので、/var/sadm/install_data/Solaris_9_Recommended_log を見たり、ググったり。
Installing 1113492-01... Checking installed patches... A later version of 113492 has already been installed.
とな。そーかそーか、より新しいのが既に当たってたのね。
ちなみにググった時に気になったもののメモ
- Instructions for Installing Solaris Recommended and Security Patches
これは普通の当て方。 - Solaris Recommended Patch Installation
scriptコマンドを使って、/var/sadm/install_data/のlog以外に標準出力のログを取るのね。ふんふん。 - Unix Support - Sun - Keeping up to date
return codeの一覧が載っている。が、35は無かった...。 - SunManagers: 9_Recommended error codes (specifically return code 5)
「Return code 5.」と言われて焦る人在り。 - Hardening Solaris with Jass
パッチ当ての前に「showrev -p > patches.before」とし、パッチ当て後に「showrev -p > patches.after」してdiffを取って比べる、と。ふんふん。 return code 25の解説もある。