| Summary: | SELinux is preventing evince-thumbnai from using the 'dac_override' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Emerson Santos <em3rson> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | antonio.montagnani, dominick.grift, dwalsh, Iphizic, jeancamargoreal, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:05443624bfca785cc15b3ab2659701b52c6c953c9e614ee8c5b522279a99d95c;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-26 15:06: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: | |
You should never run graphical tools as root. it happened just after updating to f<33 |
Description of problem: SELinux is preventing evince-thumbnai from using the 'dac_override' capabilities. ***** Plugin dac_override (91.4 confidence) suggests ********************** If você deseja ajudar a identificar se o domínio precisa deste acesso ou se você possui um arquivo com as permissões erradas em seu sistema. Then ligue a auditoria completa para obter informações de caminho sobre ofender arquivo e gerar um erro novamente. Do Turn on full auditing # auditctl -w /etc/shadow -p w Try to recreate AVC. Then execute # ausearch -m avc -ts recent If you see PATH record check ownership/permissions on file, and fix it, otherwise report as a bugzilla. ***** Plugin catchall (9.59 confidence) suggests ************************** If você acredita que o evince-thumbnai deva ser permitido a capacidade de dac_override por default. Then você deve informar que este é um erro. Você pode gerar um módulo de política local para permitir este acesso. Do allow this access for now by executing: # ausearch -c 'evince-thumbnai' --raw | audit2allow -M my-evincethumbnai # semodule -X 300 -i my-evincethumbnai.pp Additional Information: Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 Target Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 Target Objects Unknown [ capability ] Source evince-thumbnai Source Path evince-thumbnai Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-191.13.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.6.7-300.fc24.x86_64 #1 SMP Wed Aug 17 18:48:43 UTC 2016 x86_64 x86_64 Alert Count 72 First Seen 2016-08-25 20:54:54 BRT Last Seen 2016-08-25 20:55:34 BRT Local ID 9ac06e29-617c-47bd-9924-033a8cd2b439 Raw Audit Messages type=AVC msg=audit(1472169334.431:373): avc: denied { dac_override } for pid=2680 comm="gnome-thumbnail" capability=1 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tclass=capability permissive=0 Hash: evince-thumbnai,thumb_t,thumb_t,capability,dac_override Version-Release number of selected component: selinux-policy-3.13.1-191.13.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.6.7-300.fc24.x86_64 type: libreport Potential duplicate: bug 1295226