mariadb/support-files
unknown 7a00d199a4 Fix for BUG#4038 "rpm postinstall script leaves files as owned by root":
the rpm postinstall script must call mysql_install_db with --user=mysql,
and mysql_install_db must then pass this to mysqld. Otherwise, mysqld
runs as root, and if you have --log-bin=somewhere_out_of_var_lib_mysql
it creates binlog files owned by root in this dir, and this dir is not
fixed by the 'chmod mysql', so files remain owned by root, and later mysqld
(running as 'mysql') can't read them.
I'm hardcoding 'mysql' in the postinstall script, but it's already hardcoded
there in many places (see the useradd and chown) so it's ok.


scripts/mysql_install_db.sh:
  Pass --user to mysqld
support-files/mysql.spec.sh:
  in postinstall, call mysql_install_db with --user=mysql, so that mysqld (which installs the grant tables)
  is started with --user=mysql.
2004-06-09 17:07:11 +02:00
..
debian Updated version number 2001-07-18 14:32:54 +03:00
MacOSX - Bugfix for the Mac OS X startup script: Suppress the annoying 2003-12-03 13:56:33 +01:00
SCO - added support-files/MacOSX to include files specific for building 2003-02-03 20:39:48 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
binary-configure.sh Changed safe_mysqld -> mysqld_safe 2001-06-28 10:49:16 +03:00
build-tags Here comes a nasty patch, although I am not ready to push it yet. I will 2002-01-19 19:16:52 -07:00
magic sql/log.cc 2000-10-05 17:58:16 -06:00
Makefile.am - added MySQL-shared-compat.spec(.sh) to the distribution. This spec file 2003-05-06 22:33:08 +02:00
my-huge.cnf.sh Touchups to .cnf file comments. 2004-06-02 12:56:26 -05:00
my-innodb-heavy-4G.cnf.sh Touchups to .cnf file comments. 2004-06-02 12:56:26 -05:00
my-large.cnf.sh Touchups to .cnf file comments. 2004-06-02 12:56:26 -05:00
my-medium.cnf.sh Touchups to .cnf file comments. 2004-06-02 12:56:26 -05:00
my-small.cnf.sh Touchups to .cnf file comments. 2004-06-02 12:56:26 -05:00
mysql-log-rotate.sh Import changeset 2000-07-31 21:29:14 +02:00
mysql-max.spec.sh Changed safe_mysqld -> mysqld_safe 2001-06-28 10:49:16 +03:00
mysql-multi.server.sh Changed safe_mysqld -> mysqld_safe 2001-06-28 10:49:16 +03:00
MySQL-shared-compat.spec.sh - be able to build MySQL-shared-compat RPMs for other archs than i386 2004-01-13 19:44:33 +01:00
mysql.server-sys5.sh Small bug fixes 2000-09-07 04:55:17 +03:00
mysql.server.sh extra newline removed 2004-02-03 21:15:20 +01:00
mysql.spec.sh Fix for BUG#4038 "rpm postinstall script leaves files as owned by root": 2004-06-09 17:07:11 +02:00