A NOTE has been added to this issue. ====================================================================== http://www.opencsw.org/mantis/view.php?id=4283 ====================================================================== Reported By: flod Assigned To: dam ====================================================================== Project: phpldapadmin Issue ID: 4283 Category: packaging Reproducibility: always Severity: minor Priority: normal Status: feedback ====================================================================== Date Submitted: 2010-02-17 03:20 CET Last Modified: 2010-02-17 12:48 CET ====================================================================== Summary: preinstall script throws errors in sparse root zones Description: When installing on sparse root zones with a read-only /opt fs the preinstall script will throw errors in the process of migrating data from /opt/csw/apache2/share/htdocs/phpldapadmin to /opt/csw/share/www/phpldapadmin/htdocs .
I have no idea if the behavior of the migration script can be changed on the basis of the status of the files (inherited from root zone or not). Nevertheless the installation finishes with success and the final state seems to be sane in my case. ====================================================================== ---------------------------------------------------------------------- (0007462) flod (reporter) - 2010-02-17 12:48 http://www.opencsw.org/mantis/view.php?id=4283#c7462 ---------------------------------------------------------------------- old directory: /opt/csw/apache2/share/htdocs/phpldapadmin new directory: /opt/csw/share/www/phpldapadmin/htdocs To your question: I installed the package for the first time. The old directory did not exist before the installation. My view on what seems to happen: = global zone installation pre-install script: The old directory is not found, no migration is done. installation: a symbolic link from the old to the new directory is installed (package content). /opt/csw/apache2/share/htdocs/phpldapadmin -> /opt/csw/share/www/phpldapadmin/htdocs = sparse root zone installation pre-install script: The script follows the symbolic link that was installed in the global zone. In the directory it finds all the newly installed files. The script tries to migrate these and throws errors as the fs is read-only. installation: all files are inherited from the global zone _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
