Bug 1200626
| 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: | Onyeibo Oku <twohotis> |
| 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: | 22 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:36133b04c8e99ef742d49827b980a814466261604974187f4c5bc0b2eb13890f | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-11 15:24:01 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: | |||
*** This bug has been marked as a duplicate of bug 1200319 *** |
Description of problem: Install hplip-gui connect HP LASERJET 2010 start hplip-gui to configure printer *selinux-blocks-the-process* 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.fc22.noarch Policy RPM selinux-policy-3.13.1-116.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.0-0.rc2.git0.1.fc22.x86_64 #1 SMP Tue Mar 3 21:24:17 UTC 2015 x86_64 x86_64 Alert Count 1 First Seen 2015-03-11 03:50:18 WAT Last Seen 2015-03-11 03:50:18 WAT Local ID 309573cd-f4fb-4bc8-9f42-76b59acf95c8 Raw Audit Messages type=AVC msg=audit(1426042218.613:670): avc: denied { write } for pid=5489 comm="udev-add-printe" name="__pycache__" dev="dm-0" ino=2490742 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-116.fc22.noarch Additional info: reporter: libreport-2.4.0 hashmarkername: setroubleshoot kernel: 4.0.0-0.rc2.git0.1.fc22.x86_64 type: libreport Potential duplicate: bug 1200319