Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1561304 - SELinux is preventing accounts-daemon from using the 'dac_override' capabilities.
Summary: SELinux is preventing accounts-daemon from using the 'dac_override' capabilit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b0e73a487da5b38917cc1521bf9...
Depends On:
Blocks: F28FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2018-03-28 04:36 UTC by Quentin Tayssier
Modified: 2018-04-01 19:07 UTC (History)
6 users (show)

Fixed In Version: selinux-policy-3.14.1-19.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-01 19:07:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Quentin Tayssier 2018-03-28 04:36:05 UTC
Description of problem:
Fedora 28 Xfce Beta 1.1 live boot
SELinux is preventing accounts-daemon 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 accounts-daemon 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:
# ausearch -c 'accounts-daemon' --raw | audit2allow -M my-accountsdaemon
# semodule -X 300 -i my-accountsdaemon.pp

Additional Information:
Source Context                system_u:system_r:accountsd_t:s0
Target Context                system_u:system_r:accountsd_t:s0
Target Objects                Unknown [ capability ]
Source                        accounts-daemon
Source Path                   accounts-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-18.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.16.0-0.rc4.git0.1.fc28.x86_64 #1
                              SMP Mon Mar 5 04:54:32 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-03-28 00:32:54 EDT
Last Seen                     2018-03-28 00:32:54 EDT
Local ID                      621e7d58-86d2-404b-aaff-7184531edcb7

Raw Audit Messages
type=AVC msg=audit(1522211574.856:114): avc:  denied  { dac_override } for  pid=1051 comm="accounts-daemon" capability=1  scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:system_r:accountsd_t:s0 tclass=capability permissive=0


Hash: accounts-daemon,accountsd_t,accountsd_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-3.14.1-18.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.16.0-0.rc4.git0.1.fc28.x86_64
type:           libreport

Comment 1 satellitgo 2018-03-29 14:13:36 UTC
Description of problem:
f28 beta 1,3 Mate live after install

Version-Release number of selected component:
selinux-policy-3.14.1-18.fc28.noarch

Additional info:
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.16.0-0.rc4.git0.1.fc28.x86_64
type:           libreport

Comment 2 Fedora Blocker Bugs Application 2018-03-29 17:08:09 UTC
Proposed as a Freeze Exception for 28-final by Fedora user satellit using the blocker tracking app because:

 blocks several non blocking spins

Comment 3 Fedora Update System 2018-03-29 21:08:57 UTC
selinux-policy-3.14.1-19.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-234de0ee13

Comment 4 Fedora Update System 2018-03-30 15:18:22 UTC
selinux-policy-3.14.1-19.fc28 has been pushed to the Fedora 28 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-2018-234de0ee13

Comment 5 Fedora Update System 2018-04-01 19:07:45 UTC
selinux-policy-3.14.1-19.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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