Quoth Darren.Reed at sun.com on Mon, Nov 13, 2006 at 03:24:50PM -0800:
> This morning I filed 6493109 for the problem with the pfil service
> not yet being removed on an upgrade.  Following this, it has been
> suggested to use the following as the means to remove it:
> ----------------------------------
> 
> Is there a reason why you can't do what SUNWcsr postinstall does:
> 
> SVCCFG_REPOSITORY=$PKG_INSTALL_ROOT/etc/svc/repository.db
> export SVCCFG_REPOSITORY
> if [ -x /usr/sbin/svcadm -a -x /usr/sbin/svccfg -a \
...
> How does this method compare with using /var/svc/profile/upgrade?

It's ickier.  We don't want to commit the repository format, so if
you're upgrading, we can't guarantee that the current svccfg
& svc.configd will work with the target repository.db.  It's necessary
in the cases where we need to make changes to the repository before
/var/svc/profile/upgrade is executed, though.

> And what is the process for obtaining a contract to use the
> file /var/svc/profile/upgrade ?

If you have an ARC case, you can include a filled-out and agreed upon
contract in it.  Otherwise, you have to file a new ARC case for it.


David

Reply via email to