From fdd92b854e4cbb0415f25a2ab5d990daad5baa60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= Date: Sun, 27 Apr 2014 05:11:48 +0400 Subject: [PATCH 1/2] potential fix for bug #714 --- mysqld.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysqld.service b/mysqld.service index c034927..7fed1e7 100644 --- a/mysqld.service +++ b/mysqld.service @@ -34,6 +34,9 @@ TimeoutSec=300 # We rely on systemd, not mysqld_safe, to restart mysqld if it dies Restart=always +# mysqld-prepare-db-dir needs root rights, this drops privileges only for ExecStart +PermissionsStartOnly=true + # Place temp files in a secure directory, not /tmp PrivateTmp=true From 6fc03761bb9aeb0799201e6067911b5aee07f7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= Date: Sun, 27 Apr 2014 05:12:20 +0400 Subject: [PATCH 2/2] rebuild --- mariadb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index cac62ae..0447739 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -5,7 +5,7 @@ Name: mariadb Version: 10.0.10 -Release: 1 +Release: 2 Source0: http://mariadb.mirror.nucleus.be//mariadb-%{version}/kvm-tarbake-jaunty-x86/mariadb-%{version}.tar.gz Source100: mysqld.service Source101: mysqld-prepare-db-dir