SPECS: mysql.spec - mysql.init violates LSB (or whatever) and exit...

glen glen at pld-linux.org
Sun Jul 10 01:06:31 CEST 2005


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

---- Files affected:
SPECS:
   mysql.spec (1.284 -> 1.285) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.284 SPECS/mysql.spec:1.285
--- SPECS/mysql.spec:1.284	Sat Jul  9 20:15:30 2005
+++ SPECS/mysql.spec	Sun Jul 10 01:06:26 2005
@@ -583,7 +583,7 @@
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 /sbin/chkconfig --add mysql
 if [ -f /var/lock/subsys/mysql ]; then
-	/etc/rc.d/init.d/mysql restart >&2
+	/etc/rc.d/init.d/mysql restart >&2 || :
 else
 	echo "Run \"/etc/rc.d/init.d/mysql start\" to start mysql." >&2
 fi
@@ -859,6 +859,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.285  2005/07/09 23:06:26  glen
+- mysql.init violates LSB (or whatever) and exits with failure on stop. let the %post script still work and ignore restart error code
+
 Revision 1.284  2005/07/09 18:15:30  glen
 - mysql-doc package is gone since 4.1.12. obsolete it by main package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mysql.spec?r1=1.284&r2=1.285&f=u




More information about the pld-cvs-commit mailing list