/etc/apparmor.d/usr.sbin.mysqld - Debian GNU/Linux 9 (stretch)

This is the default example configuration of usr.sbin.mysqld provided by MariaDB. This config file was generated by MariaDB running on Debian 9.

It is located under: /etc/apparmor.d/usr.sbin.mysqld

    # This file is intensionally empty to disable apparmor by default for newer
# versions of MariaDB, while providing seamless upgrade from older versions
# and from mysql, where apparmor is used.
#
# By default, we do not want to have any apparmor profile for the MariaDB
# server. It does not provide much useful functionality/security, and causes
# several problems for users who often are not even aware that apparmor
# exists and runs on their system.
#
# Users can modify and maintain their own profile, and in this case it will
# be used.
#
# When upgrading from previous version, users who modified the profile
# will be promptet to keep or discard it, while for default installs
# we will automatically disable the profile.

    
  

Config Details

Location
/etc/apparmor.d/usr.sbin.mysqld
Operating system
Debian GNU/Linux 9 (stretch)
Length
15 lines
MD5 checksum
5b43a33a4995f3532bcea02d9c2c87c1

Usage

Download the raw file with wget or curl

Wget

wget -O usr.sbin.mysqld.example http://exampleconfig.com/static/raw/mariadb/debian9/etc/apparmor.d/usr.sbin.mysqld

cURL

curl http://exampleconfig.com/static/raw/mariadb/debian9/etc/apparmor.d/usr.sbin.mysqld > usr.sbin.mysqld.example