Description of problem: SELinux is preventing abrtd from using the 'dac_read_search' capabilities. ***** Plugin dac_override (91.4 confidence) suggests ********************** If si vuole aiutare ad identificare se al dominio serva questo accesso o se si possiede un file con i permessi sbagliati sul sistema Then attivare l'auditing completo per ottenere le informazioni del percorso del file incriminato e generare nuovamente l'errore. Do Attivare il controllo completo auditing # auditctl -w /etc/shadow -p w Provare a ricreare AVC. Eseguire quindi # ausearch -m avc -ts recent Qualora si noti il record PATH, controllare la proprietà/i permessi sul file e correggerli, altrimenti registrare un bugzilla. ***** Plugin catchall (9.59 confidence) suggests ************************** If si pensa che abrtd dovrebbe avere funzionalità dac_read_search in modo predefinito. Then si dovrebbe riportare il problema come bug. E' possibile generare un modulo di politica locale per consentire questo accesso. Do allow this access for now by executing: # ausearch -c 'abrtd' --raw | audit2allow -M my-abrtd # semodule -X 300 -i my-abrtd.pp Additional Information: Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 Target Context system_u:system_r:abrt_t:s0-s0:c0.c1023 Target Objects Unknown [ capability ] Source abrtd Source Path abrtd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-253.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.12.0-0.rc0.git9.1.fc27.x86_64 #1 SMP Sat May 13 13:39:12 UTC 2017 x86_64 x86_64 Alert Count 3725 First Seen 2017-05-07 08:23:35 CEST Last Seen 2017-05-16 16:21:18 CEST Local ID 8f76a84e-d053-45a4-885d-02b984230b5b Raw Audit Messages type=AVC msg=audit(1494944478.477:530): avc: denied { dac_read_search } for pid=2129 comm="abrt-server" capability=2 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tclass=capability permissive=0 Hash: abrtd,abrt_t,abrt_t,capability,dac_read_search Version-Release number of selected component: selinux-policy-3.13.1-253.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.12.0-0.rc0.git9.1.fc27.x86_64 type: libreport
Interesting ... I have selinux-policy-3.13.1-261.fc27.noarch installed and got this error ...
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
selinux-policy-3.13.1-283.13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5e9ce60d2
selinux-policy-3.13.1-283.14.fc27 has been pushed to the Fedora 27 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-2017-b5e9ce60d2
selinux-policy-3.13.1-283.14.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.