[bug-notifications] [mysql5 0004295]: Warns about "old configuration directory", but references /opt/csw/mysql5/var while doing so

Mantis Bug Tracker noreply at opencsw.org
Fri Jan 7 21:40:15 CET 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4295 
====================================================================== 
Reported By:                skayser
Assigned To:                maciej
====================================================================== 
Project:                    mysql5
Issue ID:                   4295
Category:                   packaging
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2010-02-18 19:52 CET
Last Modified:              2011-01-07 21:40 CET
====================================================================== 
Summary:                    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
...
====================================================================== 

---------------------------------------------------------------------- 
 (0008680) skayser (administrator) - 2011-01-07 21:40
 https://www.opencsw.org/mantis/view.php?id=4295#c8680 
---------------------------------------------------------------------- 
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.



More information about the bug-notifications mailing list