Bug 492798 - AVC when starting mysqld
AVC when starting mysqld
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Miroslav Grepl
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2009-03-29 14:56 EDT by drago01
Modified: 2009-11-18 08:04 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-11-18 08:04:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description drago01 2009-03-29 14:56:21 EDT
Description of problem:
When I start mysqld using "service mysqld start" I get an AVC in dmesg.

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

How reproducible:

Steps to Reproduce:
1. service mysqld start

Actual results:
type=1400 audit(1238352624.074:6): avc:  denied  { search } for  pid=3689 comm="mysqld_safe" name="lib" dev=sda2 ino=16 scontext=unconfined_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir
type=1400 audit(1238352624.130:7): avc:  denied  { setattr } for  pid=3735 comm="chown" name="mysqld.log" dev=sda2 ino=39810 scontext=unconfined_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:mysqld_log_t:s0 tclass=file

Expected results:

No AVC messages.

Additional info:

I did a full relabel but this did not fix it.

audit2allow -d:
#============= mysqld_safe_t ==============
allow mysqld_safe_t mysqld_log_t:file setattr;
allow mysqld_safe_t var_lib_t:dir search;
Comment 1 Miroslav Grepl 2009-03-30 04:40:11 EDT
Fixed in selinux-policy-3.5.13-53.fc10
Comment 2 Bug Zapper 2009-11-18 06:38:21 EST
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
Comment 3 Daniel Walsh 2009-11-18 08:04:46 EST
Closing as closed in the current release.

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