MySQL's LOAD DATA INFILE statement

Dominick Grift dominick.grift at gmail.com
Sat Jan 7 11:01:20 UTC 2012


On Sat, 2012-01-07 at 02:26 -0300, Marcio B. Jr. wrote:
> Hi,
> I'm incurring some problems with MySQL and SELinux, and I need help.
> 
> Running a 64-bit Fedora 12 with mysql-server-5.1.47-2.fc12.x86_64.
> 
> $ ps -eZ | grep mysqld
> system_u:system_r:mysqld_safe_t:s0 1321 ?      00:00:00 mysqld_safe
> system_u:system_r:mysqld_t:s0    1410 ?        00:00:01 mysqld
> 
> My problem is:
> it is only possible to use "LOAD DATA INFILE" statement if SELinux is
> in its permissive state.

This event may have been silently denied.
To reproduce the issue and expose silent denials:

run: semodule -DB
reproduce the issue
see if there is now an AVC denial displayed that is related to your
issue
run: semodule -B




More information about the selinux mailing list