Solaris 10 のパッチ運用 (smpatch)

  1. 設定の確認

    # smpatch get
    patchpro.backout.directory - ""
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source - https://getupdates.sun.com/solaris/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""

  2. 最新のアップデートをチェックする

    # smpatch analyze
    121309-03 SunOS 5.10_x86: Solaris Management Console Patch
    119255-19 SunOS 5.10_x86: Install and Patch Utilities Patch
    118344-07 SunOS 5.10_x86: Fault Manager Patch
    118844-30 SunOS 5.10_x86: kernel Patch
    119964-06 SunOS 5.10_x86: Shared library patch for C++_x86
    120781-02 SunOS 5.10_x86: ixgb patch
    122082-01 SunOS 5.10_x86: perl format string patch
    121208-03 SunOS 5.10_x86: ld & libc.so.1 Patch
    120252-05 SunOS 5.10_x86: mt patch
    119375-13 SunOS 5.10_x86: sd and ssd patch
    113000-07 SunOS 5.10_x86: SUNWgrub patch
    119558-04 SunOS 5.10_x86: tavor Patch
    121297-01 SunOS 5.10_x86: fgrep patch
    122232-01 SunOS 5.10_x86 Sun Connection agents, transport certificate update
    118997-04 SunOS 5.10_x86: format patch
    121082-04 SunOS 5.10_x86: Connected Customer Agents 1.1.0
    118919-12 SunOS 5.10_x86: Solaris Crypto Framework patch
    118813-03 SunOS 5.10_x86: hsfs patch
    122035-01 SunOS 5.10_x86: nawk patch
    119131-16 SunOS 5.10_x86: Sun Fibre Channel Device Drivers
    120468-04 SunOS 5.10_x86: LP patch
    122086-01 SunOS 5.10_x86: nispasswd patch
    120330-02 SunOS 5.10_x86: rexec patch
    122857-02 SunOS 5.10_x86: sendmail patch
    118966-18 X11 6.8.0_x86: Xorg patch
    120536-10 SunOS 5.10_x86: Updated video drivers and fixes
    118778-04 SunOS 5.10_x86: Sun GigaSwift Ethernet 1.0 driver patch
    121564-02 SunOS 5.10_x86, Sun Update Connection Registration, version 1.0.3
    121119-06 SunOS 5.10_x86, Sun Update Connection Client, System Edition 1.0.4
    119060-10 X11 6.6.2_x86: Xsun patch
    122670-01 Evolution 1.4.6_x86: Cryptographic Library patch
    119118-16 Evolution 1.4.6_x86 patch
    119549-04 GNOME 2.6.0_x86: Gnome Multi-protocol instant messaging client Patch
    119901-02 GNOME 2.6.0_x86: Gnome libtiff - library for reading and writing TIFF Patch
    119116-17 Mozilla 1.7_x86 patch

  3. アップデートする

    # smpatch update
    com.sun.patchpro.util.Percentage@1c5af2e
    121309-03 has been validated.
    com.sun.patchpro.util.Percentage@16b6c55
    119255-19 has been validated.
    com.sun.patchpro.util.Percentage@198e8b4
    118344-07 has been validated.
    com.sun.patchpro.util.Percentage@ef4504
    118844-30 has been validated.
    com.sun.patchpro.util.Percentage@7f8062
    119964-06 has been validated.
    com.sun.patchpro.util.Percentage@1adb7b8
    120781-02 has been validated.
    com.sun.patchpro.util.Percentage@1f8d077
    122082-01 has been validated.
    com.sun.patchpro.util.Percentage@3e5a91
    121208-03 has been validated.
    com.sun.patchpro.util.Percentage@ee6ad6
    120252-05 has been validated.
    com.sun.patchpro.util.Percentage@a826da
    119375-13 has been validated.
    com.sun.patchpro.util.Percentage@18ed77a
    113000-07 has been validated.
    com.sun.patchpro.util.Percentage@e496ab
    119558-04 has been validated.
    com.sun.patchpro.util.Percentage@15fc672
    121297-01 has been validated.
    com.sun.patchpro.util.Percentage@dd8e0d
    122232-01 has been validated.
    com.sun.patchpro.util.Percentage@1991de1
    118997-04 has been validated.
    com.sun.patchpro.util.Percentage@178aae1
    121082-04 has been validated.
    com.sun.patchpro.util.Percentage@16d3536
    118919-12 has been validated.
    com.sun.patchpro.util.Percentage@c08593
    118813-03 has been validated.
    com.sun.patchpro.util.Percentage@181b3d4
    122035-01 has been validated.
    com.sun.patchpro.util.Percentage@45378f
    119131-16 has been validated.
    com.sun.patchpro.util.Percentage@42a818
    120468-04 has been validated.
    com.sun.patchpro.util.Percentage@29d65b
    122086-01 has been validated.
    com.sun.patchpro.util.Percentage@b8176d
    120330-02 has been validated.
    com.sun.patchpro.util.Percentage@a1d7b
    122857-02 has been validated.
    com.sun.patchpro.util.Percentage@158291
    118966-18 has been validated.
    com.sun.patchpro.util.Percentage@2f1e75
    120536-10 has been validated.
    com.sun.patchpro.util.Percentage@178b64b
    118778-04 has been validated.
    com.sun.patchpro.util.Percentage@83020
    121564-02 has been validated.
    com.sun.patchpro.util.Percentage@18f9b75
    121119-06 has been validated.
    com.sun.patchpro.util.Percentage@127461b
    119060-10 has been validated.
    com.sun.patchpro.util.Percentage@16b9e62
    122670-01 has been validated.
    com.sun.patchpro.util.Percentage@6b62d1
    119118-16 has been validated.
    com.sun.patchpro.util.Percentage@24c414
    119549-04 has been validated.
    com.sun.patchpro.util.Percentage@1c4ff2c
    119901-02 has been validated.
    com.sun.patchpro.util.Percentage@4ca6b6
    119116-17 has been validated.
    Installing patches from /var/sadm/spool...
    121309-03 has been applied.
    119255-19 has been applied.
    118344-07 has been applied.
    NOTICE: Patch 118844-30 cannot be installed until the next system shutdown.
    119964-06 has been applied.
    NOTICE: Patch 120781-02 cannot be installed until the next system shutdown.
    122082-01 has been applied.
    120252-05 has been applied.
    NOTICE: Patch 119375-13 cannot be installed until the next system shutdown.
    NOTICE: Patch 113000-07 cannot be installed until the next system shutdown.
    119558-04 has been applied.
    121297-01 has been applied.
    122232-01 has been applied.
    118997-04 has been applied.
    121082-04 has been applied.
    NOTICE: Patch 118919-12 cannot be installed until the next system shutdown.
    122035-01 has been applied.
    119131-16 has been applied.
    120468-04 has been applied.
    122086-01 has been applied.
    120330-02 has been applied.
    120536-10 has been applied.
    118778-04 has been applied.
    121564-02 has been applied.
    121119-06 has been applied.
    119060-10 has been applied.
    122670-01 has been applied.
    119118-16 has been applied.
    119549-04 has been applied.
    119901-02 has been applied.
    119116-17 has been applied.
    /var/sadm/spool/patchpro_dnld_2006.04.29@06:56:02:JST.txt has been moved to
    /var/sadm/spool/patchproSequester/patchpro_dnld_2006.04.29@06:56:02:JST.txt

    ID's of the updates that are disallowed by installation policy have been
    written to file
    /var/sadm/spool/disallowed_patch_list

    One or more updates that you installed requires a system shutdown to activate it.
    To initiate the system shutdown, you must use one of the following commands:
    o Power down the system - init 0 or shutdown -i 0
    o Drop to the firmware prompt - init 5 or shutdown -i 5
    o Restart the system - init 6 or shutdown -i 6

  4. 再起動する
    このとき、上記で適用できていない、runlevel 1 じゃないと当てられないパッチが適用される。

    # init 6

参考文書

>> Solaris 10 のパッチ運用 (smpatch) パート2 — Sun Studio 11 を入れていると,,,

タイトルとURLをコピーしました