OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004960 [cas_initsmf] packaging minor always 2012-06-12 22:40 2012-06-12 23:53
Reporter laurent View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0004960: Various errors when installing with -R
Description When doing an install of the MySQL 5.5 package on a newly created BE, using -R, there are some errors reported by the install script:

# pkgutil -R /.alt.test_opencsw/ -u mysql
Additional Information CSWmysql5 is using Service Management Facility. The FMRI is svc:/network/cswmysql5:default
ERROR: attribute verification of </.alt.test_opencsw/var/opt/csw/svc/manifest/network/cswmysql5.xml> failed
    pathname does not exist
[ verifying class <cswinitsmf> ]
Installing class <cswtexinfo> ...
Registering texinfo entry for /.alt.test_opencsw/opt/csw/share/info/mysql.info
[ verifying class <cswtexinfo> ]
## Executing postinstall script.
Using /opt/csw/share/mysql/my-small.cnf to create the options file.
Setting up the database
cp: cannot access /opt/csw/share/mysql/my-small.cnf
Creating MySQL core database in /var/opt/csw/mysql5

### The following messages are from mysql_install_db.
/.alt.test_opencsw/var/sadm/pkg/CSWmysql5/install/postinstall: /opt/csw/bin/mysql_install_db: not found
/.alt.test_opencsw/var/sadm/pkg/CSWmysql5/install/postinstall: /opt/csw/share/mysql/my-small.cnf.new: cannot create
mv: cannot access /opt/csw/share/mysql/my-small.cnf.new

### The following messages are from /.alt.test_opencsw/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.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009939)
laurent (developer)
2012-06-12 23:29

Oops, I had missed another relevant few lines just above those, which shows the script trying to symlink methods in the current BE:

[ verifying class <ugfiles> ]
Installing class <cswinitsmf> ...
Creating service script in /var/opt/csw/svc/method/svc-cswmysql5 ...
ln: cannot create /var/opt/csw/svc/method/svc-cswmysql5: File exists
Creating manifest ...
Configuring service in SMF ...
CSWmysql5 is using Service Management Facility. The FMRI is svc:/network/cswmysql5:default
(0009940)
yann (developer)
2012-06-12 23:46

You reporter this bug against openssl. You wanted ti report it against MySQL Disn't You ?
(0009941)
laurent (developer)
2012-06-12 23:51

Yes, sorry about that. Now I think it's actually a cas_initsmf issue. I've just noticed it on other packages. Can you reroute it please?
(0009942)
yann (developer)
2012-06-12 23:53

Done


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker