<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I determine if  installation of a depot requires a reboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189611#M164471</link>
    <description>Thanks for all the answers. Sorry it took so long to assign points.</description>
    <pubDate>Sat, 28 Feb 2004 12:44:59 GMT</pubDate>
    <dc:creator>Peter Kain</dc:creator>
    <dc:date>2004-02-28T12:44:59Z</dc:date>
    <item>
      <title>How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189602#M164462</link>
      <description>I want to install the bundle ShadowPassword. &lt;BR /&gt;The bundle contains 20 patches as well as the &lt;BR /&gt;product. &lt;BR /&gt;&lt;BR /&gt;I now know that only 1 of the 20 patches &lt;BR /&gt;require a reboot but lets assume you don't &lt;BR /&gt;know this. &lt;BR /&gt;&lt;BR /&gt;From the command line I want to determine if &lt;BR /&gt;the package requires a reboot (I know that I &lt;BR /&gt;can get this information via interactive &lt;BR /&gt;swlist or swinstall under product desc) &lt;BR /&gt;&lt;BR /&gt;I also want to know which patch requires the &lt;BR /&gt;reboot since may already have it installed. &lt;BR /&gt;&lt;BR /&gt;What I came up seems overly complex, anyone&lt;BR /&gt;have a better way?  &lt;BR /&gt;&lt;BR /&gt;swlist -v -l fileset  -s /tmp/ShadowPassword_B.01.00.00_HP-UX_B.11.11_32+64.depot  | grep -e  "# PH" -e is_reboot | uniq&lt;BR /&gt;... &lt;BR /&gt;# PHCO_28194&lt;BR /&gt;is_reboot              false&lt;BR /&gt;# PHNE_23502&lt;BR /&gt;is_reboot              true&lt;BR /&gt;# PHSS_26492&lt;BR /&gt;is_reboot              false&lt;BR /&gt;# PHSS_26493&lt;BR /&gt;is_reboot              false&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 16:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189602#M164462</guid>
      <dc:creator>Peter Kain</dc:creator>
      <dc:date>2004-02-11T16:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189603#M164463</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How about &lt;BR /&gt;&lt;BR /&gt;swlist -l fileset -v @ hostname:/path/to/depot | grep reboot | grep true&lt;BR /&gt;&lt;BR /&gt;If you get *anything* back then it's a reboot bundle/product/patch&lt;BR /&gt;Doesn't matter if you get one OR many - it's *still* a reboot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 11 Feb 2004 17:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189603#M164463</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-11T17:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189604#M164464</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;If you install PHKL patches , reboot is required .&lt;BR /&gt;Patches like PHNE &amp;amp; PHSS usualy dont need reboot .&lt;BR /&gt;&lt;BR /&gt;Bye ,&lt;BR /&gt;Eran.</description>
      <pubDate>Wed, 11 Feb 2004 17:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189604#M164464</guid>
      <dc:creator>Chapaya</dc:creator>
      <dc:date>2004-02-11T17:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189605#M164465</link>
      <description>i have a simple method.&lt;BR /&gt;&lt;BR /&gt;swinstall -s /full_path_of_depot \*&lt;BR /&gt;fail=$?&lt;BR /&gt;&lt;BR /&gt;if [ $fail -ne 1 ]&lt;BR /&gt;then&lt;BR /&gt;   echo "Install failed restart may be needed"&lt;BR /&gt;else&lt;BR /&gt;    echo "Install successful."&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The install will fail kicking a specific error code. You can trap that and take appropriate action.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 11 Feb 2004 17:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189605#M164465</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-11T17:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189606#M164466</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Perhaps the easiest way. When you extract the downloaded patch file you get two files, one .depot and one .text. In the .test file you can find information about the patch, also if reboot is needed.</description>
      <pubDate>Wed, 11 Feb 2004 17:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189606#M164466</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2004-02-11T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189607#M164467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My way of doing is not much different than yours. Except I check for the attribute is_reboot.&lt;BR /&gt;&lt;BR /&gt;For ex.,&lt;BR /&gt;swlist -l fileset -a is_reboot -s /mydepot/krng&lt;BR /&gt;&lt;BR /&gt;# PHKL_27750&lt;BR /&gt;  PHKL_27750.CORE2-KRN          true&lt;BR /&gt;  PHKL_27750.CORE2-KRN          true&lt;BR /&gt;# PHKL_27766&lt;BR /&gt;  PHKL_27766.CORE2-KRN          true&lt;BR /&gt;  PHKL_27766.CORE2-KRN          true&lt;BR /&gt;# RandomNumGen&lt;BR /&gt;  RandomNumGen.RNG-DKRN         false&lt;BR /&gt;  RandomNumGen.RNG-DKRN         false&lt;BR /&gt;  RandomNumGen.RNG-KRN          true&lt;BR /&gt;  RandomNumGen.RNG-KRN          true&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 17:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189607#M164467</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-11T17:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189608#M164468</link>
      <description>I use SAM for all these. It gives which patch needs reboot.&lt;BR /&gt;&lt;BR /&gt;I think the way you did is the best. It is almost the same way which I tried. Hats off&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;sam</description>
      <pubDate>Thu, 12 Feb 2004 04:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189608#M164468</guid>
      <dc:creator>sam_111</dc:creator>
      <dc:date>2004-02-12T04:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189609#M164469</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Patch basics:&lt;BR /&gt;&lt;BR /&gt;Kernel Patches&lt;BR /&gt;PHKL_12345&lt;BR /&gt;installation usually causes reboots&lt;BR /&gt;Network Patches&lt;BR /&gt;PHNE_23456&lt;BR /&gt;installation may cause reboot&lt;BR /&gt;Commands Patches&lt;BR /&gt;PHCO_34567&lt;BR /&gt;no reboot&lt;BR /&gt;Subsystem Patches&lt;BR /&gt;PHSS_45678&lt;BR /&gt;usually no reboot&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2004 04:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189609#M164469</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2004-02-12T04:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189610#M164470</link>
      <description>You can use the -a option to look at just one attribute.  You still need to use -l fileset because the is_reboot attribute is at the fileset level rather than the product level.&lt;BR /&gt;&lt;BR /&gt;swlist -l fileset -a is_reboot -s \&lt;BR /&gt;/tmp/ShadowPassword_B.01.00.00_HP-UX_B.11.11_32+64.depot &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2004 17:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189610#M164470</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-02-12T17:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if  installation of a depot requires a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189611#M164471</link>
      <description>Thanks for all the answers. Sorry it took so long to assign points.</description>
      <pubDate>Sat, 28 Feb 2004 12:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-determine-if-installation-of-a-depot-requires-a-reboot/m-p/3189611#M164471</guid>
      <dc:creator>Peter Kain</dc:creator>
      <dc:date>2004-02-28T12:44:59Z</dc:date>
    </item>
  </channel>
</rss>

