Danek Duvall wrote:

On Wed, Jul 08, 2009 at 05:22:31PM +0800, Zhong Wang wrote:



I'm the tech lead for FCoE initiator project (PSARC/2008/311). I got
an AI from the onnv c-team inception review for the project: "Check
with IPS team what your pre remove script does and what is the best
way to handle this".
The project touched the existing SUNWfcprtr package which contains
svr4 class action script preremove, is there anything we need to do
with it?


Well, it depends on what you're doing.  The current script appears to
disable two services on package removal (presumably also something you'd
want on upgrade).  The pkg(5) package doesn't currently do the equivalent,
though we do have a mechanism for it.  It also looks like this might be
related to bug 9270.

So what we can do is tag one or more files as requiring that a service be
disabled during the upgrade procedure if they're changed or removed.  If
you can tell us what those files are, then we can set up the tags.

Of course, if you're making changes to the preremove script that don't
match what it's already doing, then you'll have to tell us what you *are*
doing.  :)


   Hi Danek,
   Three services are to be disabled by this script, nothing else. Here is
   the list:
   - Disable network/npiv_config service if the following files are
   changed/removed:
   usr/sbin/fcinfo
   var/svc/manifest/nework/npiv_config.xml
   lib/svc/method/npivconfig
   - Disable system/fcoe_target service if the following files are
   changed/removed:
   usr/lib/libfcoe.so.1
   var/svc/manifest/system/fcoe_target.xml
   lib/svc/method/svc-fcoet
   - Disable system/fcoe_initiator service if the following files are
   changed/removed:
   usr/lib/libfcoe.so.1
   var/svc/manifest/system/fcoe_initiator.xml
   lib/svc/method/svc-fcoei
   The current script also disables network/fcoe_config but it will be
   obsolete by system/fcoe_target service when the project is delivered,
   so it's not included in the list.
   Thanks,
   Zhong

Danek

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to