Bart Smaalders wrote:
> Nicholas Solter wrote:
>> Stephen Hahn wrote:
>>> * Nicholas Solter <[email protected]> [2008-11-25 20:39]:
>>>> Since we have to figure this out for clustering in the short term, I 
>>>> guess we'll need a workaround. Since it sounds like the namespace option 
>>>> you mentioned above isn't yet available, can you give some more detail 
>>>> on the workarounds that are available now? Is there one in particular 
>>>> that would be favored/recommended by the IPS team? What do you think 
>>>> about Ed's proposal for a "removal metapackage?"
>>>   For now, write an uninstall script and document it for your beta
>>>   customers.  Do not create a strange dependency graph, as escaping such
>>>   a graph will be difficult.
>> Stephen, Bart, et. al.
>>
>> We've been working on this, and we're fine using install and uninstall 
>> scripts to handle our postinstall and preremove scripting needs.
>>
>> But this approach seems to break down with image-update. There doesn't 
>> seem to be a hook to do our preremove/postinstall processing during an 
>> image-update.
>>
>> Any suggestions?
> 
> Perhaps we're not being clear.
> 
> Software that relies on automated execution of scripts in installation
> or upgrade context will not work.

Bart,

Yes, we've noticed that ;-)

> 
> Software should plan on self-assembling after upgrade; any new software
> should be capable of reading old config. files and converting them.
> 

We can certainly do that, but it's more convoluted than doing it at the 
package install time. I was just hoping that there was some sort of plan 
for making this easier. I realize that IPS has a "no scripting" guiding 
philosophy, but there are things like updating rbac, updating /etc/ 
files, and so on, that are just easier to do right at package install time.

Thanks,
Nick


> Stephen's comments pertained to an uninstall script.
> 
> - Bart
> 
> 

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

Reply via email to