Bug 1801117

Summary: Rawhide accounts-daemon.service (and thus login) not working due to selinux denials
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, grepl.miroslav, lvrabec, plautrba, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-10 11:16:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans de Goede 2020-02-10 10:09:47 UTC
I've recently upgraded my system to rawhide and I had to change selinux to permissive mode to get gdm/gnome-shell to work because of an issue with account-manager:

type=AVC msg=audit(1581328734.054:113): avc:  denied  { sys_nice } for  pid=1237 comm="accounts-daemon" capability=23  scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:system_r:accountsd_t:s0 tclass=capability permissive=1

type=AVC msg=audit(1581328734.054:114): avc:  denied  { setsched } for  pid=1237 comm="accounts-daemon" scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:system_r:accountsd_t:s0 tclass=process permissive=1

Comment 1 Hans de Goede 2020-02-10 10:10:51 UTC
[hans@x1 ~]$ rpm -q selinux-policy
selinux-policy-3.14.5-24.fc32.noarch

Comment 2 Zdenek Pytela 2020-02-10 11:16:43 UTC

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