On Sun Nov 28 09:00:02 PST 2004, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Send General mailing list submissions to > [EMAIL PROTECTED] > > To subscribe or unsubscribe via the World Wide Web, visit > http://jolug.org/mailman/listinfo/general_jolug.org > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > Today's Topics: > > 1. I need FreeBSD 5.3 ([EMAIL PROTECTED]) > 2. SELinux + Apache + MySQL + PHP (Aram Yegenian) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 28 Nov 2004 14:26:30 +0200 > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Subject: [JoLUG-General] I need FreeBSD 5.3 > To: "Jordan Linux Groups" <[EMAIL PROTECTED]> > Message-ID: <[EMAIL PROTECTED]> > > slam 3likom > I try to download FreeBSD 5.3 I download the cd1 but cd2 have error in > download . > if any one have it I will be thank for hem. > just send to me his number then I will call hem. > > ------------------------------ > > Message: 2 > Date: Sun, 28 Nov 2004 15:58:50 +0200 > From: "Aram Yegenian" <[EMAIL PROTECTED]> > Subject: [JoLUG-General] SELinux + Apache + MySQL + PHP > To: "jolug" <[EMAIL PROTECTED]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > 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...
Salam i experienced the same problem with postgresql and You have an alternative other that turning the SELinux off, you can edit the SELinux security policy and make it bypass the httpd, the policy file: /etc/selinux/targeted/contexts/files/file_contexts on my fedora core 3 another gui tool will help you playing around with selinux policy is called system-config-securitylevel try it... hope it works _______________________________________________ General mailing list [EMAIL PROTECTED] http://jolug.org/mailman/listinfo/general_jolug.org
