MariaDB usr.sbin.mariadbd configuration example for Debian GNU/Linux 11 (bullseye)

Get the default configuration file usr.sbin.mariadbd for MariaDB, optimized for Debian GNU/Linux 11 (bullseye). This example configuration ensures optimal compatibility and performance for MariaDB, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/apparmor.d/usr.sbin.mariadbd.

For more configurations and setup guides, visit our related files section to further customize your system.

    # This file is intentionally 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 prompted to keep or discard it, while for default installs
# we will automatically disable the profile.

    
  

Config Details

Location
/etc/apparmor.d/usr.sbin.mariadbd
Operating system
Debian GNU/Linux 11 (bullseye)
Length
15 lines
MD5 checksum
dacafa122cb26bc12319782acc6aff47

Usage

Download the raw file with wget or curl

Wget

wget -O usr.sbin.mariadbd.example https://exampleconfig.com/static/raw/mariadb/debian11/etc/apparmor.d/usr.sbin.mariadbd

cURL

curl https://exampleconfig.com/static/raw/mariadb/debian11/etc/apparmor.d/usr.sbin.mariadbd > usr.sbin.mariadbd.example