Bug 157500 - avc denied messages for MySQL-5.0.4 beta
avc denied messages for MySQL-5.0.4 beta
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-05-11 21:52 EDT by Bob Cochran
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.17.30-3.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-05 04:35:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
avc denied messages for MySQL-server 5.0.4 (1.75 KB, text/plain)
2005-05-11 21:54 EDT, Bob Cochran
no flags Details

  None (edit)
Description Bob Cochran 2005-05-11 21:52:13 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050417 Fedora/1.7.7-1.3.1

Description of problem:
When MySQL 5.0.4-server (beta) is installed from the Linux x86 RPMs available at mysql.com, the messages shown in the attachment apparently prevent the mysql_install_db script from executing normally. It is unable to generate the 'mysql' database tables. This in turn prevents the MySQL server from starting up normally. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install Fedora Core 3 with SELinux active (that is, accept the default installation option.)
2. Attempt to install the MySQL-server version 5.0.4 (beta) from Linux x86 RPMs available at mysql.com. 


Actual Results:  The MySQL server fails to start normally because the mysql_install_db script failed, and this is due to SELinux intervention.

Expected Results:  MySQL-server (any version) should be permitted to operate normally.

Additional info:

Disabling SELinux oversight of MySQL processes allows the server to start up normally.
Comment 1 Bob Cochran 2005-05-11 21:54:18 EDT
Created attachment 114276 [details]
avc denied messages for MySQL-server 5.0.4
Comment 2 John Maguire 2005-05-12 07:51:37 EDT
I am also seeing these errors in /var/log/messages but my situation is slightly

I am running mysql 4.1.9 and it starts and runs normally (and has been ok for
some time).  I recently did a "yum update" which seems to have installed a new
targeted policy.  Ever since, my logs get flooded (in short bursts of 30
messages or so per second) with the same messages--but mysql seems to be running ok.

System is FC3, selinux-policy-targeted-1.17.30-2.96, and mysql is version 4.1.9.

Any help is appreciated. 


Comment 3 Daniel Walsh 2005-05-12 10:21:44 EDT
I am building an update selinux-policy-targeted-1.17.30-3.5 which will have this
in it. It will be a testupdate.  This update is attempting to backport Rawhide
policy for the targets in FC3/RHEL4.


Note You need to log in before you can comment on or make changes to this bug.