Bug 1442249 - SELinux is preventing gdk-pixbuf-thum from using the 'dac_override' capabilities.
Summary: SELinux is preventing gdk-pixbuf-thum from using the 'dac_override' capabilit...
Keywords:
Status: CLOSED DUPLICATE of bug 1442237
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d3332197c31e73111af3d3d97ba...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-13 20:27 UTC by xzj8b3
Modified: 2017-04-13 20:51 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-04-13 20:51:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description xzj8b3 2017-04-13 20:27:48 UTC
Description of problem:
SELinux is preventing gdk-pixbuf-thum from using the 'dac_override' 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 gdk-pixbuf-thum dovrebbe avere funzionalità dac_override 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 'gdk-pixbuf-thum' --raw | audit2allow -M my-gdkpixbufthum
# semodule -X 300 -i my-gdkpixbufthum.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                        gdk-pixbuf-thum
Source Path                   gdk-pixbuf-thum
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.11.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.10.8-200.fc25.x86_64 #1 SMP Fri
                              Mar 31 13:20:22 UTC 2017 x86_64 x86_64
Alert Count                   29
First Seen                    2017-04-11 01:00:55 CEST
Last Seen                     2017-04-13 01:18:44 CEST
Local ID                      ea6fb28f-88fb-40c0-bb43-44048baee0ec

Raw Audit Messages
type=AVC msg=audit(1492039124.562:283): avc:  denied  { dac_override } for  pid=7717 comm="gdk-pixbuf-thum" 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=1


Hash: gdk-pixbuf-thum,thumb_t,thumb_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-3.13.1-225.11.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.10.8-200.fc25.x86_64
type:           libreport

Comment 1 Daniel Walsh 2017-04-13 20:51:33 UTC

*** This bug has been marked as a duplicate of bug 1442237 ***


Note You need to log in before you can comment on or make changes to this bug.