| Summary: | SELinux is preventing python3 from 'create' accesses on the file 1. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Luís Silva <luis.st> |
| 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: | 24 | CC: | dominick.grift, dwalsh, emailtoflorian, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:168ef74f02b6ba00c1cc4d65e262347b4a4ec29871ead30d20476113236811b4;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-08 19:25:21 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 1345836 *** How do I know what the system describes as file 1? So, how to differentiate from similar bugs? |
Description of problem: SELinux is preventing python3 from 'create' accesses on the file 1. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that python3 should be allowed create access on the 1 file 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 'python3' --raw | audit2allow -M my-python3 # semodule -X 300 -i my-python3.pp Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Context unconfined_u:object_r:unconfined_t:s0 Target Objects 1 [ file ] Source python3 Source Path python3 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-191.14.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.7.2-201.fc24.x86_64 #1 SMP Fri Aug 26 15:58:40 UTC 2016 x86_64 x86_64 Alert Count 2 First Seen 2016-09-08 12:00:02 WEST Last Seen 2016-09-08 12:00:34 WEST Local ID ce484ece-03dd-4fae-b275-27b1ca306949 Raw Audit Messages type=AVC msg=audit(1473332434.375:569): avc: denied { create } for pid=1977 comm="python3" name="1" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0 Hash: python3,unconfined_t,unconfined_t,file,create Version-Release number of selected component: selinux-policy-3.13.1-191.14.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.2-201.fc24.x86_64 type: libreport