I am pretty sure hat is due to the SELinux policy being set to restrictive. For 
the brute force fix try editing /etc/selinux/config and set the variable 
SELINUX=Permissive. There is a more subtle approach that maintains beeter 
security explained under the SELinux topic in the Fedora doc, sorry I don't 
have the link handy. Basically you can realx the policy via the "targetted" 
settings. 
Good luck
//jjs
  


-----Original Message-----
From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED]
Sent: Wed 4/13/2005 10:56 PM
To: mysql@lists.mysql.com
Subject: Problems installing MySQL 4.1 under Fedora Core 3
 
I have a Pentium III with Fedora Core 3 notebook and I need to install 
MySQL 4.1 on it.
There was no mysql installed before so I've downloaded the packages and 
did what I usually do to install
the packages. They install great. But when I try to run MySQL I have 
problems as it does not run.
It tries for a while and then quits.

I am using the 4.1.11-0.i386 version.

I have checked the persmissions under /var/lib/mysql and they were user 
mysql group root. So I've changed to
the MySQL group by using chgrp -R mysql /var/lib/mysql

I've created an /etc/my.cnf file by copying the standard 
/usr/share/doc/packages/MySQL-server/my-medium.cnf

It still does not work.

My /var/log/messages file shows the following:

Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.267:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.269:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:54:10 presario2700 lsb_log_message:  failed

I have no idea what might be wrong.

Can anyone help me out?

Thanks in advance!



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


Reply via email to