Hi all,
I'm playing around with Fedora3, trying to make apache + php + mysql play well 
together, but it seems SELinux is getting in the way. I keep getting: "#2002 - 
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 
(13)" when using phpMyAdmin.
My understanding of the situation is that apache is running under a diffenet 
security domain than mysql, specifically apache is running 
"user_u:system_r:httpd_t" context, while the myqsl socket has the 
"user_u:object_r:var_lib_t" security context.
I know SELinux can be disabled, which I did by booting with the option 
"enforcing=0" and the whole thing worked great.  Googling around gave the 
following url: http://www.codecomments.com/PHP_SQL/message323526.html , which 
also suggests turning off SELinux, which defeats the whole Security Enhanced 
thing!
The article about SELinux on Red Hat Magazine, 
http://www.redhat.com/magazine/001nov04/features/selinux/ , talks about 
"transition" between security domains, but doesn't specify how to actually 
implement it...

Any ideas?

/dev/aram

-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


_______________________________________________
General mailing list
[EMAIL PROTECTED]
http://jolug.org/mailman/listinfo/general_jolug.org

Reply via email to