mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
abstractions/mysql: changed paths and MariaDB support
abstractions/mysql contains /var/lib/mysql/mysql.sock rw, /usr/share/mysql/charsets/ r, /usr/share/mysql/charsets/*.xml r, but the files moved (at least on openSUSE) to /usr/share/mysql-community-server/charsets/*.xml /var/run/mysql/mysql.sock This causes denials for all applications using MySQL on 12.2 and Factory. MariaDB has the *.xml files in /usr/share/mariadb/charsets/*.xml and also seems to use /var/run/mysql/ for the socket. Since MariaDB is basically a drop-in replacement for MySQL, it makes sense to allow access to it via abstractions/mysql. References: https://bugzilla.novell.com/show_bug.cgi?id=798183 Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
parent
3158465820
commit
05251eef06
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# ------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2002-2006 Novell/SUSE
|
||||
# Copyright (C) 2013 Christian Boltz
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public
|
||||
|
@ -9,5 +10,6 @@
|
|||
# ------------------------------------------------------------------
|
||||
|
||||
/var/lib/mysql/mysql.sock rw,
|
||||
/usr/share/mysql/charsets/ r,
|
||||
/usr/share/mysql/charsets/*.xml r,
|
||||
/{var/,}run/mysql/mysql.sock rw,
|
||||
/usr/share/{mysql,mysql-community-server,mariadb}/charsets/ r,
|
||||
/usr/share/{mysql,mysql-community-server,mariadb}/charsets/*.xml r,
|
||||
|
|
Loading…
Add table
Reference in a new issue