Bug 1688581 - SELinux is preventing fprintd from using the 'dac_read_search' capabilities.
Summary: SELinux is preventing fprintd from using the 'dac_read_search' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1688583
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2bb6159bab5a418bc8591caeb69...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 03:16 UTC by Angie
Modified: 2019-03-14 10:03 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-03-14 10:03:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Angie 2019-03-14 03:16:19 UTC
Description of problem:
SELinux is preventing fprintd from using the 'dac_read_search' 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 fprintd should have the dac_read_search 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 'fprintd' --raw | audit2allow -M my-fprintd
# semodule -X 300 -i my-fprintd.pp

Additional Information:
Source Context                system_u:system_r:fprintd_t:s0
Target Context                system_u:system_r:fprintd_t:s0
Target Objects                Unknown [ capability ]
Source                        fprintd
Source Path                   fprintd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-49.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.20.13-200.fc29.x86_64 #1 SMP Wed
                              Feb 27 19:42:55 UTC 2019 x86_64 x86_64
Alert Count                   18
First Seen                    2019-03-02 18:38:59 PST
Last Seen                     2019-03-13 20:09:51 PDT
Local ID                      d2a2f693-92e8-4833-9a07-755ebe6c8e8c

Raw Audit Messages
type=AVC msg=audit(1552532991.268:672): avc:  denied  { dac_read_search } for  pid=26195 comm="fprintd" capability=2  scontext=system_u:system_r:fprintd_t:s0 tcontext=system_u:system_r:fprintd_t:s0 tclass=capability permissive=0


Hash: fprintd,fprintd_t,fprintd_t,capability,dac_read_search

Version-Release number of selected component:
selinux-policy-3.14.2-49.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         4.20.13-200.fc29.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-03-14 10:03:34 UTC

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


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