Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit mysql
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 24 Aug 2007 01:48:10 +0200
  • Message-id: <20070823234810.53430678180@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package mysql
checked in at Fri Aug 24 01:48:10 CEST 2007.

--------
--- mysql/mysql.changes 2007-07-27 11:15:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/mysql/mysql.changes    2007-08-21 10:23:26.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug 21 10:21:49 CEST 2007 - mmarek@xxxxxxx
+
+- make TMPDIR relative to datadir= setting in /etc/my.cnf
+- add a hint about changing datadir to rcmysql [#285076]
+
+-------------------------------------------------------------------

Old:
----
  minmem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mysql.spec ++++++
--- /var/tmp/diff_new_pack.K14501/_old  2007-08-24 01:47:27.000000000 +0200
+++ /var/tmp/diff_new_pack.K14501/_new  2007-08-24 01:47:27.000000000 +0200
@@ -15,7 +15,7 @@
 License:        GPL v2 only, individual distribution permission before version 3.23.xx
 Group:          Productivity/Databases/Servers
 Version:        5.0.45
-Release:        1
+Release:        9
 # required by rcmysql
 Requires:       mysql-client = %{version}
 Autoreqprov:    on
@@ -553,6 +553,9 @@
 %files tools -f mysql-tools.files
 
 %changelog
+* Tue Aug 21 2007 - mmarek@xxxxxxx
+- make TMPDIR relative to datadir= setting in /etc/my.cnf
+- add a hint about changing datadir to rcmysql [#285076]
 * Fri Jul 27 2007 - mmarek@xxxxxxx
 - updated to 5.0.45, for changes see
   http://dev.mysql.com/doc/refman/5.0/en/releasenotes-cs-5-0-45.html


++++++ rc.mysql ++++++
--- mysql/rc.mysql      2007-06-06 11:42:21.000000000 +0200
+++ /mounts/work_src_done/STABLE/mysql/rc.mysql 2007-08-21 10:24:42.000000000 +0200
@@ -67,6 +67,8 @@
 
 # The following section has been taken from
 # the original MySQL init script
+# Note: If you want to change these variables, you'll make your life easier
+# if you do so in /etc/my.cnf, which is preserved during upgrades
 basedir=/usr
 datadir=/var/lib/mysql
 mysql_daemon_user=mysql
@@ -74,7 +76,6 @@
 pid_file=/var/lib/mysql/mysqld.pid
 socket=/var/lib/mysql/mysql.sock
 print_defaults=/usr/bin/my_print_defaults
-export TMPDIR=/var/lib/mysql/.tmp
 
 mode=$1 # start or stop
 
@@ -131,6 +132,14 @@
 }
 
 parse_arguments `$print_defaults $defaults mysqld mysql_server`
+export TMPDIR=$datadir/.tmp
+if ! test -d "$TMPDIR"; then
+       mkdir "$TMPDIR"
+       chown mysql:mysql "$TMPDIR"
+       chmod 755 "$TMPDIR"
+fi
+       
+
 
 # Safeguard (relative paths, core dumps..)
 cd $basedir





++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread