View Issue Details

IDProjectCategoryView StatusLast Update
0015016CentOS-7selinux-policypublic2018-08-10 10:13
Reporterprashantspillai 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015016: SELinux is preventing /usr/sbin/mysqld from using the 'sys_nice' capabilities.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/mysqld from using the 'sys_nice' capabilities.

***** Plugin catchall (100. confidence) suggests **************************

If you believe that mysqld should have the sys_nice capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'mysqld' --raw | audit2allow -M my-mysqld
# semodule -i my-mysqld.pp

Additional Information:
Source Context system_u:system_r:mysqld_t:s0
Target Context system_u:system_r:mysqld_t:s0
Target Objects Unknown [ capability ]
Source mysqld
Source Path /usr/sbin/mysqld
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.4.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.6.3.el7.x86_64 #1 SMP
                              Tue Jun 26 16:32:21 UTC 2018 x86_64 x86_64
Alert Count 2
First Seen 2018-07-08 13:59:49 IST
Last Seen 2018-07-08 13:59:49 IST
Local ID 72b24de2-3e39-421d-805e-1b6a310b90be

Raw Audit Messages
type=AVC msg=audit(1531038589.591:2619): avc: denied { sys_nice } for pid=28501 comm="mysqld" capability=23 scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:system_r:mysqld_t:s0 tclass=capability


Hash: mysqld,mysqld_t,mysqld_t,capability,sys_nice

Version-Release number of selected component:
selinux-policy-3.13.1-192.el7_5.4.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-862.6.3.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash041e04b306406a6ba642b3875b5aa1f16f0ccc66b29572fb1f603dc6a647d20c
URL

Activities

keoagiler

keoagiler

2018-08-10 10:13

reporter   ~0032459

Another user experienced a similar problem:

I did the following:
1. I downloaded md5sum mysql80-community-release-el7-1.noarch.rpm from the mysql download site
2. md5sum mysql80-community-release-el7-1.noarch.rpm checked out
3. yum localinstall mysql80-community-release-el7-1.noarch.rpm
4. yum repolist enabled | grep mysql returned a list of repos
5. yum install mysql-community-server
6. service mysqld start;

Step 6. - the last step caused the problem

reporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-862.9.1.el7.x86_64
package: selinux-policy-3.13.1-192.el7_5.4.noarch
reason: SELinux is preventing /usr/sbin/mysqld from using the 'sys_nice' capabilities.
reproducible: Not sure how to reproduce the problem
type: libreport

Issue History

Date Modified Username Field Change
2018-07-08 08:35 prashantspillai New Issue
2018-08-10 10:13 keoagiler Note Added: 0032459