On Sunday 10 July 2005 02:31, Arkadiusz Miskiewicz wrote: > On Sunday 10 of July 2005 01:06, glen wrote: > > Author: glen Date: Sat Jul 9 23:06:31 2005 GMT > > Module: SPECS Tag: HEAD > > ---- Log message: > > - mysql.init violates LSB (or whatever) and exits with failure on stop. > > let the %post script still work and ignore restart error code > > why creating workarounds instead of fixing init script?
service mysql is allowed to exit with failure (consider mysql start not working), but %post shouldn't fail because of this and leaving new and old mysql package in rpm database. i misread initially, looks like start failed, not stop. but the issue still remains. warning: /etc/logrotate.d/mysql created as /etc/logrotate.d/mysql.rpmnew * Stopping MySQL /www/mysql service...............................[ DONE ] * Starting MySQL /www/mysql service...............................[ FAIL ] error: %post(mysql-4.1.12-1.1) scriptlet failed, exit status 1 -- glen _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
