disable the secure_file_priv check MySQL 5.7 introduced a premission check for export and import operations. In Debian and Ubuntu, only the full mysql-server package creates the set system wide directory causing mysqld-akonadi to error out on startup if only mysql-server-core-5.7 is installed. To prevent that the key is set to empty, which reverts mysqld to the 5.6 behavior. See http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv
Load Apparmor site-specific additions and overrides. Debian allows users to add site-specific additions and overrides via local apparmor rule files. Those local rule files are created and handled by dh_apparmor.