| Summary: | SELinux is preventing /usr/bin/perl from 'remove_name' accesses on the diretório servers.catalogue.lst.lock. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Elias Oliveira de Jesus <flama.es> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, firejim, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:9f40d8de3a92bbed06d7c480b1611984fdfe4f3fcd28183d911c5e4a46f68b57 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-08 12:37:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
It looks like you need to execute # restorecon -R -v /root/.razor Or does the "servers.catalogue.lst.lock" file have different location? |
SELinux is preventing /usr/bin/perl from 'remove_name' accesses on the diretório servers.catalogue.lst.lock. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that perl should be allowed remove_name access on the servers.catalogue.lst.lock 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 spamd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:spamd_t:s0 Target Context system_u:object_r:admin_home_t:s0 Target Objects servers.catalogue.lst.lock [ dir ] Source spamd Source Path /usr/bin/perl Port <Desconhecido> Host (removed) Source RPM Packages perl-5.12.2-140.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-28.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Seg 07 Fev 2011 04:12:12 BRST Last Seen Seg 07 Fev 2011 19:23:02 BRST Local ID 97e81e12-10f4-4f23-b02b-b14e4d2877d4 Raw Audit Messages type=AVC msg=audit(1297113782.388:20): avc: denied { remove_name } for pid=2329 comm="spamd" name="servers.catalogue.lst.lock" dev=dm-0 ino=1845450 scontext=system_u:system_r:spamd_t:s0 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir type=AVC msg=audit(1297113782.388:20): avc: denied { unlink } for pid=2329 comm="spamd" name="servers.catalogue.lst.lock" dev=dm-0 ino=1845450 scontext=system_u:system_r:spamd_t:s0 tcontext=system_u:object_r:admin_home_t:s0 tclass=file type=SYSCALL msg=audit(1297113782.388:20): arch=x86_64 syscall=unlink success=yes exit=0 a0=54ff580 a1=1e4e0a8 a2=1e4e0a8 a3=0 items=0 ppid=2327 pid=2329 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=spamd exe=/usr/bin/perl subj=system_u:system_r:spamd_t:s0 key=(null) Hash: spamd,spamd_t,admin_home_t,dir,remove_name audit2allow #============= spamd_t ============== allow spamd_t admin_home_t:dir remove_name; allow spamd_t admin_home_t:file unlink; audit2allow -R #============= spamd_t ============== allow spamd_t admin_home_t:dir remove_name; allow spamd_t admin_home_t:file unlink;