Bug 1200319
| Summary: | SELinux is preventing udev-add-printe from 'write' accesses on the directory /usr/lib/python3.4/site-packages/urllib3/packages/__pycache__. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | dominick.grift, dwalsh, jpopelka, lvrabec, mgrepl, plautrba, twaugh, twohotis |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:36133b04c8e99ef742d49827b980a814466261604974187f4c5bc0b2eb13890f | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-10 10:46:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: occurs when pluged USB printer Version-Release number of selected component: selinux-policy-3.13.1-105.6.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.8-201.fc21.i686+PAE type: libreport This is issue in cups package Actually it's system-config-printer. *** This bug has been marked as a duplicate of bug 1196183 *** *** Bug 1200626 has been marked as a duplicate of this bug. *** |
Description of problem: SELinux is preventing udev-add-printe from 'write' accesses on the directory /usr/lib/python3.4/site-packages/urllib3/packages/__pycache__. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that udev-add-printe should be allowed write access on the __pycache__ 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 udev-add-printe /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cupsd_config_t:s0 Target Context system_u:object_r:lib_t:s0 Target Objects /usr/lib/python3.4/site- packages/urllib3/packages/__pycache__ [ dir ] Source udev-add-printe Source Path udev-add-printe Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages python3-urllib3-1.10-2.fc21.noarch Policy RPM selinux-policy-3.13.1-105.6.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.18.8-201.fc21.i686+PAE #1 SMP Fri Feb 27 18:35:02 UTC 2015 i686 i686 Alert Count 1 First Seen 2015-03-10 14:59:18 YEKT Last Seen 2015-03-10 14:59:18 YEKT Local ID 16742e52-3140-4fc0-ad97-24910189512f Raw Audit Messages type=AVC msg=audit(1425981558.721:705): avc: denied { write } for pid=9129 comm="udev-add-printe" name="__pycache__" dev="sda1" ino=2244036 scontext=system_u:system_r:cupsd_config_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=dir permissive=0 Hash: udev-add-printe,cupsd_config_t,lib_t,dir,write Version-Release number of selected component: selinux-policy-3.13.1-105.6.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.8-201.fc21.i686+PAE type: libreport