On Mon, Apr 28, 2014 at 10:51:39PM +0200, Felix Geyer wrote:
> The path of the MySQL socket is often named mysqld.sock instead
> of mysql.sock.
> For example in Ubuntu trusty it is /run/mysqld/mysqld.sock.
> Allow access to all combinations of mysql and mysqld in the abstraction.

Acked-by: Seth Arnold <[email protected]>

Committed revision 2506.

Thanks

> 
> === modified file 'profiles/apparmor.d/abstractions/mysql'
> --- profiles/apparmor.d/abstractions/mysql    2013-01-13 13:38:28 +0000
> +++ profiles/apparmor.d/abstractions/mysql    2014-04-28 20:42:14 +0000
> @@ -9,7 +9,7 @@
>  #
>  # ------------------------------------------------------------------
> 
> -   /var/lib/mysql/mysql.sock rw,
> -   /{var/,}run/mysql/mysql.sock rw,
> +   /var/lib/mysql{,d}/mysql{,d}.sock rw,
> +   /{var/,}run/mysql{,d}/mysql{,d}.sock rw,
>     /usr/share/{mysql,mysql-community-server,mariadb}/charsets/ r,
>     /usr/share/{mysql,mysql-community-server,mariadb}/charsets/*.xml r,
> 

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to