| Summary: | SELinux is preventing /usr/libexec/mysqld from 'getattr' accesses on the directory /home/mysql/mysql/wikidb. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adrin Jalali <adrin.jalali> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:58c442f4fed39f6669d69881868ae2d9382cacfe65b93b4bf76383c3fc533e25 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-20 14:53:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 814001 *** |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.1-5.fc16.x86_64 reason: SELinux is preventing /usr/libexec/mysqld from 'getattr' accesses on the directory /home/mysql/mysql/wikidb. time: Wed 18 Apr 2012 09:09:56 PM PDT description: :SELinux is preventing /usr/libexec/mysqld from 'getattr' accesses on the directory /home/mysql/mysql/wikidb. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that mysqld should be allowed getattr access on the wikidb directory 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: :# grep mysqld /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:mysqld_t:s0 :Target Context system_u:object_r:user_home_t:s0 :Target Objects /home/mysql/mysql/wikidb [ dir ] :Source mysqld :Source Path /usr/libexec/mysqld :Port <Unknown> :Host (removed) :Source RPM Packages mysql-server-5.5.22-1.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-80.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.3.1-5.fc16.x86_64 #1 SMP Tue : Apr 10 19:56:52 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen Wed 18 Apr 2012 07:50:11 PM PDT :Last Seen Wed 18 Apr 2012 09:05:17 PM PDT :Local ID b7e7fc0b-db9a-4658-9466-52831e46e822 : :Raw Audit Messages :type=AVC msg=audit(1334808317.794:226): avc: denied { getattr } for pid=13910 comm="mysqld" path="/home/mysql/mysql/wikidb" dev="sdb4" ino=34078957 scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1334808317.794:226): arch=x86_64 syscall=lstat success=yes exit=0 a0=7f4274052140 a1=7f4274052070 a2=7f4274052070 a3=fffffff8 items=0 ppid=1 pid=13910 auid=4294967295 uid=27 gid=27 euid=27 suid=27 fsuid=27 egid=27 sgid=27 fsgid=27 tty=(none) ses=4294967295 comm=mysqld exe=/usr/libexec/mysqld subj=system_u:system_r:mysqld_t:s0 key=(null) : :Hash: mysqld,mysqld_t,user_home_t,dir,getattr : :audit2allow : :#============= mysqld_t ============== :allow mysqld_t user_home_t:dir getattr; : :audit2allow -R : :#============= mysqld_t ============== :allow mysqld_t user_home_t:dir getattr; :