Bug 557395

Summary: policy update breaks squeezeserver
Product: [Fedora] Fedora Reporter: Ferry Huberts <mailings>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-27 12:28:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ferry Huberts 2010-01-21 10:20:14 UTC
Summary:

SELinux is preventing /usr/libexec/mysqld "unlink" access on
squeezebox-mysql.sock.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by mysqld. It is not expected that this access
is required by mysqld and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:mysqld_t:s0
Target Context                system_u:object_r:mysqld_db_t:s0
Target Objects                squeezebox-mysql.sock [ sock_file ]
Source                        mysqld
Source Path                   /usr/libexec/mysqld
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           mysql-server-5.1.42-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-69.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux storage.internal.hupie.com
                              2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21
                              05:33:33 UTC 2009 x86_64 x86_64
Alert Count                   3
First Seen                    Sun 10 Jan 2010 11:46:25 AM CET
Last Seen                     Thu 21 Jan 2010 10:21:03 AM CET
Local ID                      9f74d49a-4373-44cd-bdf3-47f4c20a9e7b
Line Numbers                  

Raw Audit Messages            

node=storage.internal.hupie.com type=AVC msg=audit(1264065663.54:37): avc:  denied  { unlink } for  pid=3569 comm="mysqld" name="squeezebox-mysql.sock" dev=dm-0 ino=652842 scontext=unconfined_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:mysqld_db_t:s0 tclass=sock_file

node=storage.internal.hupie.com type=SYSCALL msg=audit(1264065663.54:37): arch=c000003e syscall=87 success=yes exit=0 a0=1be1721 a1=1be1757 a2=0 a3=7fff785049d0 items=0 ppid=3567 pid=3569 auid=500 uid=489 gid=468 euid=489 suid=489 fsuid=489 egid=468 sgid=468 fsgid=468 tty=(none) ses=1 comm="mysqld" exe="/usr/libexec/mysqld" subj=unconfined_u:system_r:mysqld_t:s0 key=(null)

Comment 1 Miroslav Grepl 2010-01-27 12:28:07 UTC

*** This bug has been marked as a duplicate of bug 558163 ***