packages: mysql-proxy/mysql-proxy.spec - redirfds is back, problem with ang...

glen glen at pld-linux.org
Mon May 17 19:37:40 CEST 2010


Author: glen                         Date: Mon May 17 17:37:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- redirfds is back, problem with angel process

---- Files affected:
packages/mysql-proxy:
   mysql-proxy.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: packages/mysql-proxy/mysql-proxy.spec
diff -u packages/mysql-proxy/mysql-proxy.spec:1.25 packages/mysql-proxy/mysql-proxy.spec:1.26
--- packages/mysql-proxy/mysql-proxy.spec:1.25	Mon May 17 19:20:38 2010
+++ packages/mysql-proxy/mysql-proxy.spec	Mon May 17 19:37:35 2010
@@ -2,6 +2,12 @@
 # TODO
 # - system lua-lfs for tests (LuaFileSystem 1.2)
 # - daemon does not close its std fds
+# - with keepalive=yes pidfile contains wrong pid after restarts (it contains
+#   child pid and rc-scripts killing child will make parent guardian process
+#   respawn). in fact you can't even stop normally proxy with keepalive=yes
+#   using initscript.
+#   2010-05-17 20:36:05: (message) chassis.c:223: [angel] PID=22627 died on signal=9 (it used 2 kBytes max) ... waiting 3min before restart
+#   2010-05-17 20:36:05: (message) chassis.c:178: [angel] we try to keep PID=22779 alive
 # - tests need fixing (can't find libs it built)
 # OLD TODO
 # - rw splitting bug: http://bugs.mysql.com/bug.php?id=36505
@@ -17,7 +23,7 @@
 Summary(pl.UTF-8):	Proxy MySQL
 Name:		mysql-proxy
 Version:	0.8.0
-Release:	0.11
+Release:	0.14
 License:	GPL
 Group:		Applications/Networking
 Source0:	http://launchpad.net/mysql-proxy/0.8/%{version}/+download/%{name}-%{version}.tar.gz
@@ -47,7 +53,7 @@
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
-Requires:	rc-scripts >= 0.4.1.24
+Requires:	rc-scripts >= 0.4.2.8
 Provides:	group(mysqlproxy)
 Provides:	user(mysqlproxy)
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -107,7 +113,7 @@
 install -d $RPM_BUILD_ROOT%{_sbindir}
 mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/mysql-proxy
 
-# noarch data to /usr/share
+# noarch data to %{_datadir}
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/lua
 mv $RPM_BUILD_ROOT{%{_libdir},%{_datadir}}/%{name}/lua/proxy
 
@@ -173,6 +179,8 @@
 %attr(755,root,root) %{_libdir}/%{name}/lua/mysql.so
 %attr(755,root,root) %{_libdir}/%{name}/lua/posix.so
 
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/lua
 %dir %{_datadir}/%{name}/lua/proxy
 %{_datadir}/%{name}/lua/proxy/auto-config.lua
 %{_datadir}/%{name}/lua/proxy/balance.lua
@@ -201,6 +209,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2010/05/17 17:37:35  glen
+- redirfds is back, problem with angel process
+
 Revision 1.25  2010/05/17 17:20:38  glen
 - drop devel files
 - move .lua to /usr/share
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-proxy/mysql-proxy.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list