mirror of
https://github.com/MariaDB/server.git
synced 2025-07-23 00:55:06 +00:00
Merge branch '10.6' into 10.11
This commit is contained in:
2
debian/additions/source_mariadb.py
vendored
2
debian/additions/source_mariadb.py
vendored
@ -7,7 +7,7 @@ Author: Mathias Gug <mathias.gug@canonical.com>
|
||||
from __future__ import print_function, unicode_literals
|
||||
import os, os.path
|
||||
|
||||
from apport.hookutils import *
|
||||
from apport.hookutils import path_to_key, read_file, attach_conffiles, attach_mac_events, attach_file
|
||||
|
||||
def _add_my_conf_files(report, filename):
|
||||
key = 'MySQLConf' + path_to_key(filename)
|
||||
|
3
debian/mariadb-server.postinst
vendored
3
debian/mariadb-server.postinst
vendored
@ -152,7 +152,8 @@ EOF
|
||||
set +e
|
||||
find $mysql_statedir ! -uid 0 -print0 -or ! -gid 0 -print0 | xargs -0 -r sudo chown 0:0
|
||||
find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql
|
||||
chown -R mysql:adm $mysql_logdir
|
||||
chown mysql:adm $mysql_logdir
|
||||
find "$mysql_logdir" -print0 | xargs -0 -r chown mysql:adm
|
||||
chmod 2750 $mysql_logdir
|
||||
set -e
|
||||
|
||||
|
Reference in New Issue
Block a user