packages: mysql-proxy/mysql-proxy.init, mysql-proxy/mysql-proxy.spec - --cl...

glen glen at pld-linux.org
Wed Apr 14 13:18:52 CEST 2010


Author: glen                         Date: Wed Apr 14 11:18:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- --closefds needed due daemon not doing it

---- Files affected:
packages/mysql-proxy:
   mysql-proxy.init (1.9 -> 1.10) , mysql-proxy.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/mysql-proxy/mysql-proxy.init
diff -u packages/mysql-proxy/mysql-proxy.init:1.9 packages/mysql-proxy/mysql-proxy.init:1.10
--- packages/mysql-proxy/mysql-proxy.init:1.9	Wed Apr 14 11:37:30 2010
+++ packages/mysql-proxy/mysql-proxy.init	Wed Apr 14 13:18:47 2010
@@ -49,7 +49,7 @@
 		args="$args --admin-address=$ADMIN_ADDRESS"
 	fi
 
-	daemon --user mysqlproxy /usr/sbin/mysql-proxy --daemon --pid-file=/var/run/mysql-proxy/mysql-proxy.pid $args
+	daemon --closefds --user mysqlproxy /usr/sbin/mysql-proxy --daemon --pid-file=/var/run/mysql-proxy/mysql-proxy.pid $args
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/mysql-proxy
 }

================================================================
Index: packages/mysql-proxy/mysql-proxy.spec
diff -u packages/mysql-proxy/mysql-proxy.spec:1.17 packages/mysql-proxy/mysql-proxy.spec:1.18
--- packages/mysql-proxy/mysql-proxy.spec:1.17	Wed Apr 14 13:07:29 2010
+++ packages/mysql-proxy/mysql-proxy.spec	Wed Apr 14 13:18:47 2010
@@ -1,6 +1,8 @@
 # $Revision$, $Date$
 # TODO
 # - system lua-lfs for tests (LuaFileSystem 1.2)
+# - daemon does not close its std fds
+# - tests need fixing (can't find libs it built)
 #
 # Conditional build:
 %bcond_with	tests		# build with tests. needs mysql server on localhost:3306
@@ -37,7 +39,7 @@
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
-Requires:	rc-scripts >= 0.4.0.20
+Requires:	rc-scripts >= 0.4.1.24
 Provides:	group(mysqlproxy)
 Provides:	user(mysqlproxy)
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -184,6 +186,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2010/04/14 11:18:47  glen
+- --closefds needed due daemon not doing it
+
 Revision 1.17  2010/04/14 11:07:29  glen
 - up to 0.8.0, do we want -devel?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-proxy/mysql-proxy.init?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-proxy/mysql-proxy.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list