Overview

Request 858101 accepted

- Use coreutils to generate blowfish secret to reduce dependencies
- Attempt to migrate modified configuration file rather than just
replacing it by default configuration
- The apache subpackage must require the main package, otherwise it
will not be uninstalled when the main package is uninstalled
- Generate blowfish secret and enable Apache modules/flags only on
install
- Only empty temporary directory on upgrade/uninstall (not remove)
to prevent RPM warnings/errors
- Don't empty directories not owned by this package (these should
have been cleaned up by previous versions that owned them)

Loading...

Arjen de Korte's avatar
author target maintainer

After a directory change (/srv/www/htdocs -> /usr/share) or addition of the /var/cache/phpMyAdmin directory we should at least try to migrate a configuration that was modified by a user (rather than just replacing it by the package default). Of course this doesn't have a 100% success rate, but it is better than nothing.

Of course no migration is needed if the user never modified the configuration, as in that case the configuration file will just be replaced.

Again apologies for totally missing the fact that the previous migration indeed checked if the /srv/www/htdocs directory existed. If that didn't exist, it was indeed not run and changing to %config from %config(noreplace) was inappropriate.


Request History
Arjen de Korte's avatar

adkorte created request

- Use coreutils to generate blowfish secret to reduce dependencies
- Attempt to migrate modified configuration file rather than just
replacing it by default configuration
- The apache subpackage must require the main package, otherwise it
will not be uninstalled when the main package is uninstalled
- Generate blowfish secret and enable Apache modules/flags only on
install
- Only empty temporary directory on upgrade/uninstall (not remove)
to prevent RPM warnings/errors
- Don't empty directories not owned by this package (these should
have been cleaned up by previous versions that owned them)


Eric Schirra's avatar

ecsos accepted request

Hope it will run without errors.

openSUSE Build Service is sponsored by