Bug 1390006
| Summary: | SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Shaun Assam <thebeardedhermit> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | alessandromachado.vip, anper1979, bedny, bignikita, c.steinseifer, danil.rost, dominick.grift, dominik, dwalsh, epp, hamed.ahari, iv.istvan.varga, jcerny, jfrieben, lray+redhatbugzilla, luis.st, lvrabec, martin, mgrepl, muhammad.saad, obliterator666, plautrba, pmoore, ray, skurtsev, tomasz.urbanski |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:363f689361791ab26103b0c694815c6a3d466965a8f30cd09be55b534ea08513;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.13.1-191.21.fc24 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-19 17:24:12 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: | |||
*** Bug 1385769 has been marked as a duplicate of this bug. *** Description of problem: I plugged in an HP Laserjet 1320n printer and SELinux reported this AVC denial. Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport Description of problem: I get daily this error just after every new login but on this box only. It's not reproducible on another box, I assume a relation to specific configuration settings. Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport Description of problem: Was printing a test page (ink cartridge cleaning). Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport Description of problem: I tried to print an one-page text document from Libre Office Writer on HP LaserJet P1102. Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport Version-Release number of selected component: selinux-policy-3.13.1-220.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.6-300.fc25.x86_64 type: libreport *** Bug 1393194 has been marked as a duplicate of this bug. *** selinux-policy-3.13.1-191.21.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-abb3ede5d5 Description of problem: Printer has been connected to the machine on usb port Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport Description of problem: Connect printer+scanner Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.6-300.fc25.x86_64 type: libreport - Removed printer from Print Settings. - Added printer to ensure the error message still appeared; received the error message; removed printer. - Downloaded selinux-policy-3.13.1-191.21.fc24 packages and performed upgrades; rebooted computer. - Opened Print Settings and added HP Deskjet 2540 printer; checked SELinux Troubleshooter; no error messages. - Test print successful; no SELinux errors. - Updates resolved this issue. Thank you. selinux-policy-3.13.1-191.21.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-abb3ede5d5 Description of problem: Turned on Samsung printer. Version-Release number of selected component: selinux-policy-3.13.1-191.20.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport (In reply to Fedora Update System from comment #12) > selinux-policy-3.13.1-191.21.fc24 has been pushed to the Fedora 24 testing > repository. If problems still persist, please make note of it in this bug > report. > See https://fedoraproject.org/wiki/QA:Updates_Testing for > instructions on how to install test updates. > You can provide feedback for this update here: > https://bodhi.fedoraproject.org/updates/FEDORA-2016-abb3ede5d5 The error is gone on my system with this update applied. *** Bug 1394838 has been marked as a duplicate of this bug. *** Description of problem: Starting Scanner "Epson PID 0884" after opening SimpleScan Version-Release number of selected component: selinux-policy-3.13.1-222.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.6-300.fc25.x86_64 type: libreport Description of problem: Printed a document from atril and another from LibreOffice Writer. Printer was turned on with no paper and paper was subsequently supplied. Version-Release number of selected component: selinux-policy-3.13.1-191.20.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.6-201.fc24.x86_64 type: libreport selinux-policy-3.13.1-191.21.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: - Installed package 'system-config-printer' - Opened Printer Config program and clicked button to Add Printer - SELinux Alert Browser opened with warning: 'SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.' SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gutenprint52+us should have the wake_alarm capability 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 'gutenprint52+us' --raw | audit2allow -M my-gutenprint52us # semodule -X 300 -i my-gutenprint52us.pp Additional Information: Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Objects Unknown [ capability2 ] Source gutenprint52+us Source Path gutenprint52+us Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-191.19.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.4-200.fc24.x86_64 #1 SMP Tue Oct 25 13:06:04 UTC 2016 x86_64 x86_64 Alert Count 4 First Seen 2016-10-30 13:33:55 EDT Last Seen 2016-10-30 13:33:56 EDT Local ID dcf77b21-7ffc-4a7f-a575-9c3960015244 Raw Audit Messages type=AVC msg=audit(1477848836.525:361): avc: denied { wake_alarm } for pid=6482 comm="hpfax" capability=35 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=capability2 permissive=0 Hash: gutenprint52+us,cupsd_t,cupsd_t,capability2,wake_alarm Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.4-200.fc24.x86_64 type: libreport Potential duplicate: bug 1385769