List:General Discussion« Previous MessageNext Message »
From:thufir Date:June 24 2014 3:12pm
Subject:Re: error 29, file not found (errcode: 13)
View as plain text  
I think it's apparmor:


thufir@dur:/tmp$ 
thufir@dur:/tmp$ nl /etc/apparmor.d/usr.sbin.mysqld
     1	# vim:syntax=apparmor
     2	# Last Modified: Tue Jun 19 17:37:30 2007
     3	#include <tunables/global>
       
     4	/usr/sbin/mysqld {
     5	  #include <abstractions/base>
     6	  #include <abstractions/nameservice>
     7	  #include <abstractions/user-tmp>
     8	  #include <abstractions/mysql>
     9	  #include <abstractions/winbind>
       
    10	  capability dac_override,
    11	  capability sys_resource,
    12	  capability setgid,
    13	  capability setuid,
       
    14	  network tcp,
       
    15	  /etc/hosts.allow r,
    16	  /etc/hosts.deny r,
       
    17	  /etc/mysql/*.pem r,
    18	  /etc/mysql/conf.d/ r,
    19	  /etc/mysql/conf.d/* r,
    20	  /etc/mysql/*.cnf r,
    21	  /usr/lib/mysql/plugin/ r,
    22	  /usr/lib/mysql/plugin/*.so* mr,
    23	  /usr/sbin/mysqld mr,
    24	  /usr/share/mysql/** r,
    25	  /var/log/mysql.log rw,
    26	  /var/log/mysql.err rw,
    27	  /var/lib/mysql/ r,
    28	  /var/lib/mysql/** rwk,
    29	  /var/log/mysql/ r,
    30	  /var/log/mysql/* rw,
    31	  /var/run/mysqld/mysqld.pid rw,
    32	  /var/run/mysqld/mysqld.sock w,
    33	  /run/mysqld/mysqld.pid rw,
    34	  /run/mysqld/mysqld.sock w,
       
    35	  /sys/devices/system/cpu/ r,
       
    36	  # Site-specific additions and overrides. See local/README for 
details.
    37	  #include <local/usr.sbin.mysqld>
    38	}
thufir@dur:/tmp$ 



I need to grant access to /tmp somehow?



thanks,

Thufir

Thread
error 29, file not found (errcode: 13)thufir23 Jun 2014
  • Re: error 29, file not found (errcode: 13)Scott Helms23 Jun 2014
    • Re: error 29, file not found (errcode: 13)Carsten Pedersen23 Jun 2014
  • Re: error 29, file not found (errcode: 13)Michael Dykman23 Jun 2014
  • Re: error 29, file not found (errcode: 13)Divesh Kamra23 Jun 2014
  • Re: error 29, file not found (errcode: 13)thufir24 Jun 2014
    • Re: error 29, file not found (errcode: 13)Reindl Harald24 Jun 2014
  • Re: error 29, file not found (errcode: 13)thufir24 Jun 2014
  • Re: error 29, file not found (errcode: 13)thufir26 Jun 2014