OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004295 [mysql5] packaging minor have not tried 2010-02-18 19:52 2013-07-28 10:32
Reporter skayser View Status public  
Assigned To laurent
Priority normal Resolution fixed  
Status closed  
Summary 0004295: Warns about "old configuration directory", but references /opt/csw/mysql5/var while doing so
Description Just upgraded from an oldish-installation (5.0.51,REV=2008.01.20) to 5.0.87,REV=2010.01.08. On installation of the new version there was a warning about a still existing "old configuration directory", but it referenced /opt/csw/mysql5/var which isn't a configuration directory, is it?

==> Installing CSWmysql5-5.0.87,REV=2010.01.08
Please see /opt/csw/share/doc/mysql5/license for license information.

*******************************************************************
* The old configuration directory /opt/csw/mysql5/var still exists.
* Please move your configuration to /var/opt/csw/mysql5.
*
* Installation will continue in 10 seconds.
* Press CTRL+C if you want to stop now.
*******************************************************************

Installing class <cswusergroup> ...
Group mysql already exists
User mysql already exists
...
Additional Information # pkgparam CSWmysql5 VERSION
5.0.87,REV=2010.01.08
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007543)
maciej (reporter)
2010-02-27 17:29

This bit belongs to cswclassutils. Revision 8865 updates the message.

Plase see experimental for the updated package.
(0008652)
maciej (reporter)
2011-01-02 16:54

ping?
(0008677)
skayser (administrator)
2011-01-07 16:31

Just to make sure that I test the right pieces: were you referring to an experimental mysql package or an experimental cswclassutils package?
(0008678)
maciej (reporter)
2011-01-07 16:46

That was almost a year ago, so I don't remember clearly, but I probably referred to the classutils package.
(0008680)
skayser (administrator)
2011-01-07 21:40

Dug into it a bit. The mysql5 package from current doesn't rely on classutils but uses a custom preinstall script to raise the text in question.

http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/CSWmysql5.preinstall?rev=7914 [^]

Same for the latest build description in trunk/ and other branches.

https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mysql5/trunk/files/CSWmysql51.preinstall [^]
https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/CSWmysql5.preinstall [^]
https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mysql5/branches/mysql-5.1.x/files/CSWmysql51.preinstall [^]
https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mysql5/branches/mysql-5.1.x-optcsw/files/CSWmysql51.preinstall [^]
https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/CSWmysql51.preinstall [^]

I am not very familiar with the package, but in effect, existing databases in /opt/csw/mysql5/var will be ignored if the user doesn't interrupt the preinstall script during the warning message, right? If so, a message saying exactly this would be good. Or maybe even an automatic abort of the preinstall script? After all, a user very likely wants to continue to use his existing database.
(0010454)
laurent (manager)
2013-06-30 18:17

This has not appeared in the latest 5.5 build. I'll close soon if there's nothing new.
(0010455)
laurent (manager)
2013-06-30 18:18

MySQL and recipe have been greatly improved since then.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker