<?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: Packaging Patch Software in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124894#M151802</link>
    <description>swacl -l root/host/depot and check permissions for any_other.</description>
    <pubDate>Fri, 21 Nov 2003 15:31:21 GMT</pubDate>
    <dc:creator>Kevin Wright</dc:creator>
    <dc:date>2003-11-21T15:31:21Z</dc:date>
    <item>
      <title>Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124884#M151792</link>
      <description>Hi Gurus&lt;BR /&gt;&lt;BR /&gt;when i am trying to create a depot file using&lt;BR /&gt;swpackage as normal user i am getting this error&lt;BR /&gt;&lt;BR /&gt;ERROR:   Cannot create the target depot&lt;BR /&gt;         "/home/sixto/sixtowork/seem.depot": permission denied.  You&lt;BR /&gt;         are not authorized to create a new target depot on the local&lt;BR /&gt;         host.  (An authorized user must grant you authorization by&lt;BR /&gt;         using the swacl command.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Dsilva&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2003 09:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124884#M151792</guid>
      <dc:creator>sixto</dc:creator>
      <dc:date>2003-11-20T09:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124885#M151793</link>
      <description>Try /usr/sbin/swagentd -r to restart the swagent daemon&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2003 09:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124885#M151793</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-11-20T09:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124886#M151794</link>
      <description>Dsilva,&lt;BR /&gt;&lt;BR /&gt;When you say you're packaging patch software, do you mean that you're trying to accumulate several HP patches together?  If so, the command you want is swcopy not swpackage.  If not, disregard.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Nov 2003 09:56:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124886#M151794</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-11-20T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124887#M151795</link>
      <description>attaching a good depot creation script.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 20 Nov 2003 10:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124887#M151795</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-20T10:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124888#M151796</link>
      <description>Hi Pete&lt;BR /&gt;Thanks for mail.&lt;BR /&gt;&lt;BR /&gt;I am trying to create a depot file using swpackage.&lt;BR /&gt;but the problem is when i login as root it will create the depot, but as a normal user it will give the above error &lt;BR /&gt;&lt;BR /&gt;Yes i want also to know a packaging of patch software is done in hp-ux using swpackage&lt;BR /&gt;if known put let me know the detail explaination or any example where i can get idea.&lt;BR /&gt;&lt;BR /&gt;I have gone through manual also&lt;BR /&gt;&lt;BR /&gt;cheers &lt;BR /&gt;dsilva</description>
      <pubDate>Thu, 20 Nov 2003 10:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124888#M151796</guid>
      <dc:creator>sixto</dc:creator>
      <dc:date>2003-11-20T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124889#M151797</link>
      <description>HI STeve&lt;BR /&gt;&lt;BR /&gt; can be more specific &lt;BR /&gt;&lt;BR /&gt;for i in PH*&lt;BR /&gt;do&lt;BR /&gt;  sh $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;for i in PH*.depot&lt;BR /&gt;do&lt;BR /&gt;   swcopy -s ${PWD}/$i \* @ ${1}&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I could not follow the above script&lt;BR /&gt;I am very new to this packaging area&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;dsilva&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2003 10:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124889#M151797</guid>
      <dc:creator>sixto</dc:creator>
      <dc:date>2003-11-20T10:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124890#M151798</link>
      <description>Hi uday&lt;BR /&gt;&lt;BR /&gt;I tried to restart the daemon, but the same problem exists&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Nov 2003 10:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124890#M151798</guid>
      <dc:creator>sixto</dc:creator>
      <dc:date>2003-11-20T10:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124891#M151799</link>
      <description>Hi Dsilva,&lt;BR /&gt;&lt;BR /&gt;Below are the step by step procedure to create a depot patch and/or using swpackage, i've been usign thsi method all along&lt;BR /&gt;&lt;BR /&gt;1) First you need to un-shar the patch, for thsi exmaple I put my patch under "/lv_cut_patch/jacko" directory:&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;# cd /lv_cut_patch/jacko&lt;BR /&gt;# sh PHCO_28346 &lt;BR /&gt;# sh PHCO_29043 &lt;BR /&gt;&lt;BR /&gt;the above will produce two sets of:&lt;BR /&gt;PHXX_#####.depot and &lt;BR /&gt;PHXX_#####.text&lt;BR /&gt;&lt;BR /&gt;2) Next would be to swcopy them, for the above two patches i need to run these swcopy twice, you could use the script above for this mentioned above, but this is just an outline of the steps required:&lt;BR /&gt;&lt;BR /&gt;swcopy -x distribution_target_directory=/lv_cut_patch/jacko/depot -x enforce_dependencies=false -s /lv_cut_patch/jacko/PHCO_28346.depot  \*&lt;BR /&gt;&lt;BR /&gt;swcopy -x distribution_target_directory=/lv_cut_patch/jacko/depot -x enforce_dependencies=false -s /lv_cut_patch/jacko/PHCO_29043.depot  \*&lt;BR /&gt;&lt;BR /&gt;The above will take the two patch PHCO_28346 &lt;BR /&gt;and PHCO_29043, and put them in a depot under "/lv_cut_patch/jacko/depot"&lt;BR /&gt;you could simply change the above directory to the one in yoru system.&lt;BR /&gt;&lt;BR /&gt;and you could omit &lt;BR /&gt;"-x enforce_dependencies=false" if you require the dependencies to be checked&lt;BR /&gt;&lt;BR /&gt;3) And finally to package the patch into a tape you could use this command for example:&lt;BR /&gt;&lt;BR /&gt;# swpackage -s /lv_cut_patch/jacko/depot -d /dev/rmt/0m -x target_type=tape&lt;BR /&gt;&lt;BR /&gt;4) To install from the patch from tape, for example you codul use this command:&lt;BR /&gt;&lt;BR /&gt;# swinstall -s /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;5) proceed with normal installation&lt;BR /&gt;&lt;BR /&gt;May you find it useful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Nov 2003 00:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124891#M151799</guid>
      <dc:creator>Jacko_3</dc:creator>
      <dc:date>2003-11-21T00:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124892#M151800</link>
      <description>Seems to me you need to give permissions to your user with swacl...</description>
      <pubDate>Fri, 21 Nov 2003 02:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124892#M151800</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-11-21T02:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124893#M151801</link>
      <description>Elmar has the correct solution.  By default, SD-UX will only allow root to operate on the local host, even for creating depots in your home directory.&lt;BR /&gt;Use swacl to modify the ACL for the host level.  This should allow you to create depots.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Bruce</description>
      <pubDate>Fri, 21 Nov 2003 15:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124893#M151801</guid>
      <dc:creator>Bruce Hoffmann_1</dc:creator>
      <dc:date>2003-11-21T15:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124894#M151802</link>
      <description>swacl -l root/host/depot and check permissions for any_other.</description>
      <pubDate>Fri, 21 Nov 2003 15:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124894#M151802</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2003-11-21T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging Patch Software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124895#M151803</link>
      <description>If you don't have root access for this box... try adding this to your swcopy syntax.&lt;BR /&gt;&lt;BR /&gt;swcopy -x run_as_superuser=false&lt;BR /&gt;&lt;BR /&gt;This will do it as your user and the permisions will be based on your user and user's umask.&lt;BR /&gt;&lt;BR /&gt;I'm not sure if it works the same w/ swpakage... would have to try it out.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# man 5 sd  -&amp;gt; search for "run_as_superuser" for details &lt;BR /&gt;&lt;BR /&gt;hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 21 Nov 2003 15:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-patch-software/m-p/3124895#M151803</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2003-11-21T15:51:41Z</dc:date>
    </item>
  </channel>
</rss>

