Bug 1178591 - SELinux is preventing gsf-office-thum from using the 'dac_override' capabilities.
Summary: SELinux is preventing gsf-office-thum from using the 'dac_override' capabilit...
Keywords:
Status: CLOSED DUPLICATE of bug 910011
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ab73351c5007a7e986153e6dcb1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-05 03:02 UTC by Stephen Haffly
Modified: 2015-01-05 13:54 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-05 13:54:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Haffly 2015-01-05 03:02:11 UTC
Description of problem:
SELinux is preventing gsf-office-thum from using the 'dac_override' capabilities.

*****  Plugin dac_override (91.4 confidence) suggests   **********************

If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
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 you believe that gsf-office-thum should have the dac_override 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:
# grep gsf-office-thum /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.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                        gsf-office-thum
Source Path                   gsf-office-thum
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-103.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.17.7-300.fc21.x86_64 #1 SMP Wed
                              Dec 17 03:08:44 UTC 2014 x86_64 x86_64
Alert Count                   6
First Seen                    2015-01-04 21:41:50 EST
Last Seen                     2015-01-04 21:42:59 EST
Local ID                      ecb69597-90ac-4cc6-8e64-8548359cf5c9

Raw Audit Messages
type=AVC msg=audit(1420425779.88:474): avc:  denied  { dac_override } for  pid=3124 comm="gsf-office-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=0


Hash: gsf-office-thum,thumb_t,thumb_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-3.13.1-103.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.17.7-300.fc21.x86_64
type:           libreport

Potential duplicate: bug 910553

Comment 1 Daniel Walsh 2015-01-05 13:54:24 UTC

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


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