Sha256: 562bc5b60efc7455a5bca5a572452db3ea0c2873da9ab8baea212d6fa1bdac2c

Contents?: true

Size: 915 Bytes

Versions: 5

Compression:

Stored size: 915 Bytes

Contents

# vim:syntax=apparmor
# Last Modified: Tue Jun 19 17:37:30 2007
#include <tunables/global>

/usr/sbin/mysqld flags=(complain) {
  #include <abstractions/base>
  #include <abstractions/nameservice>
  #include <abstractions/user-tmp>
  #include <abstractions/mysql>
  #include <abstractions/winbind>

  capability dac_override,
  capability sys_resource,
  capability setgid,
  capability setuid,

  network tcp,

  /etc/hosts.allow r,
  /etc/hosts.deny r,

  /etc/mysql/*.pem r,
  /etc/mysql/conf.d/ r,
  /etc/mysql/conf.d/* r,
  /etc/mysql/my.cnf r,
  /usr/lib/mysql/plugin/ r,
  /usr/lib/mysql/plugin/*.so* mr,
  /usr/sbin/mysqld mr,
  /usr/share/mysql/** r,
  /var/log/mysql.log rw,
  /var/log/mysql.err rw,
  /var/lib/mysql/ r,
  <%= node['mysql']['data_dir'] %>/** rwk,
  /var/log/mysql/ r,
  /var/log/mysql/* rw,
  /var/run/mysqld/mysqld.pid w,
  /var/run/mysqld/mysqld.sock w,

  /sys/devices/system/cpu/ r,
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud-toaster-1.1.6 chef/cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld.erb
cloud-toaster-1.1.5 chef/cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld.erb
cloud-toaster-1.1.4 chef/cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld.erb
cloud-toaster-1.1.3 chef/cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld.erb
cloud-toaster-1.1.2 chef/cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld.erb