[Pkg-mysql-commits] r2162 - mysql-5.5/branches/experimental/debian
Bjoern Boschman
jesusch-guest at alioth.debian.org
Tue Jun 19 12:16:27 UTC 2012
tags 664639 pending
thanks
Author: jesusch-guest
Date: 2012-06-19 12:16:26 +0000 (Tue, 19 Jun 2012)
New Revision: 2162
Modified:
mysql-5.5/branches/experimental/debian/changelog
mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql-server.logrotate
mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql.init
Log:
mysqld_safe is now running as User 'mysql'
logrotate now handles all /var/log/mysql/*log files
Modified: mysql-5.5/branches/experimental/debian/changelog
===================================================================
--- mysql-5.5/branches/experimental/debian/changelog 2012-06-16 12:57:41 UTC (rev 2161)
+++ mysql-5.5/branches/experimental/debian/changelog 2012-06-19 12:16:26 UTC (rev 2162)
@@ -1,8 +1,13 @@
mysql-5.5 (5.5.25+dfsg-2) UNRELEASED; urgency=low
+ [ Nicholas Bamber ]
* Made DFSG repacking mechanism independent of local installs and improved
the documentation
+ [ Bjoern Boschman ]
+ * mysqld_safe is now running as User 'mysql' (Closes: 664639)
+ * logrotate now handles all /var/log/mysql/*log files
+
-- Nicholas Bamber <nicholas at periapt.co.uk> Sat, 16 Jun 2012 13:47:30 +0100
mysql-5.5 (5.5.25+dfsg-1) experimental; urgency=low
Modified: mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql-server.logrotate
===================================================================
--- mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql-server.logrotate 2012-06-16 12:57:41 UTC (rev 2161)
+++ mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql-server.logrotate 2012-06-19 12:16:26 UTC (rev 2162)
@@ -2,7 +2,7 @@
# flush-logs'd only once.
# Else the binary logs would automatically increase by n times every day.
# - The error log is obsolete, messages go to syslog now.
-/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log {
+/var/log/mysql.log /var/log/mysql/*log {
daily
rotate 7
missingok
Modified: mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql.init
===================================================================
--- mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql.init 2012-06-16 12:57:41 UTC (rev 2161)
+++ mysql-5.5/branches/experimental/debian/mysql-server-5.5.mysql.init 2012-06-19 12:16:26 UTC (rev 2162)
@@ -106,7 +106,7 @@
test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
# Start MySQL!
- /usr/bin/mysqld_safe > /dev/null 2>&1 &
+ su - mysql -s /bin/sh -c "/usr/bin/mysqld_safe > /dev/null 2>&1 &"
# 6s was reported in #352070 to be too few when using ndbcluster
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14; do
More information about the Pkg-mysql-commits
mailing list