Danek Duvall wrote:
On Wed, Jul 23, 2008 at 11:35:01AM +0530, Sunanda Menon wrote:

Is it appropriate for the users to see symbolic links overwritten with
new package installation .In this case (5.1 packages overwriting MySQL
5.0 packages) without any user warning .

Yes, that's the behavior I would expect, and both packaging systems will
handle that without any issues.

Can I write checkinstall/postinstall scripts to handle this and let user decide .

No.  Packages need to be non-interactive.  RE won't let you integrate
packages that require interactivity.

Will they be supported in IPS .  or can I write my own class action
scripts such as i.presevesoftlink to take care of them .Will IPS support
newly created action scripts other than the ones given by solaris.

As has been pointed out many, many times on this forum and others, IPS
doesn't support scripting.

If you have a particular behavior that you want to present to the user,
please ask specifically.

The question is since the customer who has previously installed MySQL 5.0 will have his /var/mysql/data pointing to /var/mysql/5.0/data which has real time data .Now if I install 5.1 packages the links will change pointing to 5.1 which he may not be ready for as he is caught unaware .
How do I communicate to the user that his links will be overwritten ?

I'm concerned that he could have scripts relying on /var/mysql/data and retrieving information from old database ,but by changing of these links ,nothing would seem to work as the database for 5.1 so created will be an entirely new one .









Danek


--
Sunanda Menon
Database Technology Group
BLR03, x87098/91-80-66937098

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

Reply via email to