problem with mysql and targeted policy

Pau Aliagas linuxnow at newtral.org
Tue Jul 5 15:11:40 UTC 2005


I've just upgraded a FC3 to FC4 server and I keep on geting this errors:

audit(1120575052.029:1154): avc:  denied  { name_connect } for  pid=18957 
comm="mysqld" dest=3306 scontext=root:system_r:mysqld_t 
tcontext=system_u:object_r:mysqld_port_t tclass=tcp_socket
audit(1120575112.039:1155): avc:  denied  { name_connect } for  pid=18957 
comm="mysqld" dest=3306 scontext=root:system_r:mysqld_t 
tcontext=system_u:object_r:mysqld_port_t tclass=tcp_socket

And in /var/log/mysqld.log:

050705 14:56:50 [Note] Slave SQL thread initialized, starting replication 
in log 'sms-bin.000060' at position 1064950354, relay log 
'./apolo-relay-bin.000088' position: 4
050705 14:56:50 [ERROR] Slave I/O thread: error connecting to master 
'apolo at sms.dis.ct:3306': Error: 'Can't connect to MySQL server on 
'sms.dis.ct' (13)'  errno: 2003  retry-time: 60  retries: 86400

The mysqld process cannot connect to the master server, it's just not 
allowed.

It's a fully updated FC4 release, but the kernel:
kernel-smp-2.6.11-1.1369_FC4 -> running this one
kernel-smp-2.6.12-1.1387_FC4 -> this one make the clock run at 4 minutes
  				per second!!!

I've run fixfiles reload, I've mead sure all the policy files are duely 
updated (no rpmnew/rpmsave left files), but I cannot solve the error.

I don't know if there's a testing package to fix it, otherwise I'll post 
to the fedora-list where I have little hope of being helped :)

Thanks
Pau




More information about the test mailing list