Mantis - mysql5
Viewing Issue Advanced Details
4844 packaging block always 2011-10-18 18:42 2013-06-09 16:07
duncs  
laurent  
normal  
closed  
fixed  
none    
none  
0004844: mysql5 postinstall does not complete successfully
[ verifying class <cswtexinfo> ]
## Executing postinstall script.
Using /opt/csw/mysql5/share/mysql/my-small.cnf to create the options file.
Setting up the database
cp: cannot access /opt/csw/mysql5/share/mysql/my-small.cnf
Creating MySQL core database in /var/opt/csw/mysql5

### The following messages are from mysql_install_db.
/var/sadm/pkg/CSWmysql5/install/postinstall: /opt/csw/mysql5/bin/mysql_install_db: not found
/var/sadm/pkg/CSWmysql5/install/postinstall: /etc/opt/csw/mysql5/my.cnf.new: cannot create
mv: cannot access /etc/opt/csw/mysql5/my.cnf.new

### The following messages are from /var/sadm/pkg/CSWmysql5/install/postinstall.
See /opt/csw/mysql5/share/mysql/doc/README.CSW for packaging changes.
Please ignore references to starting mysqld_safe in the messages above.
  These messages are from mysql_install_db. See the following
  for starting CSWmysql5.
Running `svcadm enable cswmysql5` start to start the database.
svcadm: Instance "svc:/network/cswmysql5:default" is not in a maintenance or degraded state.

Installation of <CSWmysql5> was successful.
===
files are being installed to places other than as expected by the script so install will not completed successfully
CSWmysql5-5.0.92,REV=2011.10.05

# find /opt/csw -name my-small.cnf
/opt/csw/share/mysql/5.0/mysql/my-small.cnf
# find /opt/csw -name mysql_install_db
/opt/csw/bin/mysql_install_db
Issue History
2011-10-18 18:42 duncs New Issue
2011-10-19 00:43 maciej Status new => assigned
2011-10-19 00:43 maciej Assigned To => maciej
2011-10-19 00:44 maciej Note Added: 0009347
2011-12-09 13:32 maciej Note Added: 0009460
2011-12-09 13:32 maciej Note Added: 0009461
2011-12-09 13:32 maciej Status assigned => feedback
2013-06-09 16:06 laurent Status feedback => assigned
2013-06-09 16:06 laurent Assigned To maciej => laurent
2013-06-09 16:07 laurent Note Added: 0010431
2013-06-09 16:07 laurent Status assigned => closed
2013-06-09 16:07 laurent Resolution open => fixed

Notes
(0009347)
maciej   
2011-10-19 00:44   
Thanks for the bug report. I'm rolling new packages right now, and will post a link to the experimental catalog when they are available.
(0009460)
maciej   
2011-12-09 13:32   
Updated packages are available from the experimental catalog:

http://buildfarm.opencsw.org/experimental.html#mysql-5.0 [^]
(0009461)
maciej   
2011-12-09 13:32   
Waiting for feedback.
(0010431)
laurent   
2013-06-09 16:07   
No feedback, and plenty of fixes have been included. I've made plenty of install with the lastest package release, and not noticed any issue at this point.
Closing this ticket.