Bug 893303 - munin selinux blocks IPC
Summary: munin selinux blocks IPC
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-09 05:09 UTC by Jordi Llonch
Modified: 2013-07-04 10:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-04 10:33:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
su -c '(grep avc: /var/log/messages; ausearch -m avc -ts today)' | gzip > /tmp/munin-avc.txt.gz (86.38 KB, application/x-gzip)
2013-01-09 05:09 UTC, Jordi Llonch
no flags Details

Description Jordi Llonch 2013-01-09 05:09:54 UTC
Created attachment 675255 [details]
su -c '(grep avc: /var/log/messages; ausearch -m avc -ts today)' | gzip > /tmp/munin-avc.txt.gz

Description of problem:

After installing munin-node-2.0.9-3.fc17.noarch and setting up /etc/munin/plugins-conf.d/mysql, on a munin-update the munin-node.log shows:

2013/01/09-15:20:08 [4997] Service 'mysql_innodb_log' exited with status 13/0.
2013/01/09-15:20:08 [4997] Error output from mysql_innodb_rows:
2013/01/09-15:20:08 [4997] 	Failed to create share at /usr/share/perl5/vendor_perl/Cache/SharedMemoryBackend.pm line 85
2013/01/09-15:20:08 [4997] Service 'mysql_innodb_rows' exited with status 13/0.
2013/01/09-15:20:08 [4997] Error output from mysql_innodb_rows:
2013/01/09-15:20:08 [4997] 	Failed to create share at /usr/share/perl5/vendor_perl/Cache/SharedMemoryBackend.pm line 85
2013/01/09-15:20:08 [4997] Service 'mysql_innodb_rows' exited with status 13/0.
2013/01/09-15:20:08 [4997] Error output from mysql_qcache:
2013/01/09-15:20:08 [4997] 	Failed to create share at /usr/share/perl5/vendor_perl/Cache/SharedMemoryBackend.pm line 85
2013/01/09-15:20:08 [4997] Service 'mysql_qcache' exited with status 13/0.
2013/01/09-15:20:09 [4997] Error output from mysql_qcache:
2013/01/09-15:20:09 [4997] 	Failed to create share at /usr/share/perl5/vendor_perl/Cache/SharedMemoryBackend.pm line 85
2013/01/09-15:20:09 [4997] Service 'mysql_qcache' exited with status 13/0.

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

selinux-policy-targeted-3.10.0-166.fc17.noarch
mysql-5.5.28-2.fc17.x86_64
perl-Cache-Cache-1.06-9.fc17.noarch
munin-node-2.0.9-3.fc17.noarch
selinux-policy-3.10.0-166.fc17.noarch

How reproducible:

yum install -y selinux-policy-targeted-3.10.0-166.fc17.noarch \
 mysql-5.5.28-2.fc17.x86_64 \
 perl-Cache-Cache-1.06-9.fc17.noarch \
 munin-node-2.0.9-3.fc17.noarch \
 selinux-policy-3.10.0-166.fc17.noarch \

cat > /etc/munin/plugin-conf.d/mysql <<EOF

[mysql_*]
env.mysqlconnection DBI:mysql:mysql
env.mysqluser root

EOF

munin-node-configure --suggest --shell | bash
setenforce 1
service munin-node restart

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Miroslav Grepl 2013-01-14 11:10:56 UTC
Do you have mysqld running as unconfined_t?

# ps -eZ |grep mysql

Comment 2 Fedora End Of Life 2013-07-04 00:55:46 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. 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 '17'.

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 17'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 17 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, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

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.


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