2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-01 06:45:38 +00:00

update mysqld profile

This updates the mysqld to what I use on my servers nowadays.
This commit is contained in:
Christian Boltz
2019-01-24 00:30:34 +01:00
parent 087340a97a
commit 0199edf8e7

View File

@@ -3,7 +3,7 @@
# ------------------------------------------------------------------ # ------------------------------------------------------------------
# #
# Copyright (C) 2002-2005 Novell/SUSE # Copyright (C) 2002-2005 Novell/SUSE
# Copyright (C) 2014 Christian Boltz # Copyright (C) 2014-2019 Christian Boltz
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public # modify it under the terms of version 2 of the GNU General Public
@@ -30,13 +30,14 @@
/etc/my.cnf.d/ r, /etc/my.cnf.d/ r,
/etc/my.cnf.d/*.cnf r, /etc/my.cnf.d/*.cnf r,
/root/.my.cnf r, /root/.my.cnf r,
/sys/devices/system/cpu/online r,
/usr/lib{,32,64}/**.so mr, /usr/lib{,32,64}/**.so mr,
/usr/sbin/mysqld r, /usr/sbin/mysqld mr,
/usr/share/mariadb/*/errmsg.sys r, /usr/share/mariadb/*/errmsg.sys r,
/usr/share/mysql-community-server/*/errmsg.sys r, /usr/share/mysql-community-server/*/errmsg.sys r,
/usr/share/mysql/** r, /usr/share/mysql/** r,
/var/lib/mysql/ r, /var/lib/mysql/ r,
/var/lib/mysql/** rwl, /var/lib/mysql/** rwlk,
/var/log/mysql/mysqld-upgrade-run.log w, /var/log/mysql/mysqld-upgrade-run.log w,
/var/log/mysql/mysqld.log w, /var/log/mysql/mysqld.log w,
/var/log/mysql/mysqld.log-20* w, /var/log/mysql/mysqld.log-20* w,