Bug 1196183
| Summary: | SELinux is preventing udev-add-printe from 'write' accesses on the file /usr/lib/python3.4/site-packages/urllib3/packages/__pycache__/six.cpython-34.pyc.140222077716912. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | igor <gigor44> |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | bmenas29, dmarcotte1, dominick.grift, dwalsh, iorlov89, jpopelka, kola053, lvrabec, mgrepl, mikhail.v.gavrilov, nathan95, plautrba, robert.hinson, twaugh, zcoalminer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:32e1425343d6b1e05a519e775d13daad0cb384f405af8cc323edf5279c510295 | ||
| Fixed In Version: | system-config-printer-1.5.6-1.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-21 05:03:03 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: | |||
Does anyone know whats going on here? Why udev-add-printe writing to that file? Think this should be fixed upstream now: https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?id=b75e31a09e451a14e709cbb115ae54bf1a6c49ed *** Bug 1200319 has been marked as a duplicate of this bug. *** system-config-printer-1.5.6-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/system-config-printer-1.5.6-1.fc22 system-config-printer-1.5.6-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/system-config-printer-1.5.6-1.fc21 Package system-config-printer-1.5.6-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing system-config-printer-1.5.6-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-4027/system-config-printer-1.5.6-1.fc21 then log in and leave karma (feedback). system-config-printer-1.5.6-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. Description of problem: I don't remember how the problem appears. But suddenly I saw the notification problem. 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.9-200.fc21.x86_64 type: libreport Description of problem: A SELinux alert appeared while adding my HP LaserJet Pro P1102 printer. How reproducible: whenever I remove and add the printer again. Version-Release number of selected component: selinux-policy-3.13.1-105.11.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.19.3-200.fc21.x86_64 type: libreport Ok, the last report was sent by SETroubleshoot and I didn't read the other comments till the report was already sent. Sorry for the inconvenience. Description of problem: I connected a printer (HP Laserjet 3020) in my system. Version-Release number of selected component: selinux-policy-3.13.1-105.11.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.19.4-200.hu.1.uksm.bfs.bfq.fc21.x86_64 type: libreport system-config-printer-1.5.6-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing udev-add-printe from 'write' accesses on the file /usr/lib/python3.4/site-packages/urllib3/packages/__pycache__/six.cpython-34.pyc.140222077716912. ***** Plugin catchall (100. confidence) suggests ************************** If якщо ви вважаєте, що udev-add-printe має бути надано типовий доступ write до six.cpython-34.pyc.140222077716912 file. Then вам слід повідомити про цю помилку як про ваду. Ви можете створити модуль локальних правил для надання подібного доступу. Do надайте доступ за допомогою команд: # 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__/six.cpython-34.pyc.140222077716912 [ file ] Source udev-add-printe Source Path udev-add-printe Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-105.3.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.18.7-200.fc21.x86_64 #1 SMP Wed Feb 11 21:53:17 UTC 2015 x86_64 x86_64 Alert Count 2 First Seen 2015-02-23 21:10:41 EET Last Seen 2015-02-23 21:30:27 EET Local ID 2a04a929-2bf8-4143-b01f-03bffd56d7c0 Raw Audit Messages type=AVC msg=audit(1424719827.520:510): avc: denied { write } for pid=2934 comm="udev-add-printe" path="/usr/lib/python3.4/site-packages/urllib3/packages/__pycache__/six.cpython-34.pyc.140222077716912" dev="dm-3" ino=662025 scontext=system_u:system_r:cupsd_config_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file permissive=0 Hash: udev-add-printe,cupsd_config_t,lib_t,file,write Version-Release number of selected component: selinux-policy-3.13.1-105.3.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.7-200.fc21.x86_64 type: libreport