Bug #14811 MySQL Cluster on a system with SELinux fails randomly
Submitted: 10 Nov 2005 5:16 Modified: 21 Dec 2005 19:11
Reporter: Timothy Pearson Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:5.0.15 OS:Linux (Fedora Core 4)
Assigned to: CPU Architecture:Any

[10 Nov 2005 5:16] Timothy Pearson
Description:
A MySQL cluster set up on Fedora Core 4 with SELinux enabled crashes randomly over the period of a couple days.  Disabling SELinux completely repairs the problem.

How to repeat:
Enable SELinux on a Fedora Core 4 MySQL cluster.

Suggested fix:
Make it so it doesn't crash :-)
[10 Nov 2005 5:17] Timothy Pearson
Forgot to set it to S2 (Serious).  Data is lost when it crashes.
[10 Nov 2005 13:00] Valeriy Kravchuk
Thank you for a bug report. 

If there was a crash, there should be something in the error logs. So, please, check and send the appropriate portions of the logs.

The description of you hardware and configuration parameters used will be useful too.
[21 Nov 2005 19:11] Valeriy Kravchuk
Please, try to check syslog results (dmesg) next time you'll see the crash. If SELinux is a reason, something should be written by kernel. (See http://bugs.mysql.com/bug.php?id=12676, for example.) It may give us some idea on what's happening.
[21 Nov 2005 23:53] Stewart Smith
I've run the NDB part of mysql-test-run on a rawhide box with SELinux enabled and not had any problems.

Could you please try running the test suite on an affected box and see if it fails?

cd mysql-test
./mysql-test-run --with-ndbcluster --do-test=ndb
[22 Dec 2005 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".