Bug 2458894

Summary: SELinux is preventing accounts-daemon from 'read' accesses on the directory /usr/share/accountsservice/interfaces.
Product: [Fedora] Fedora Reporter: ochal.christophe <ochal.christophe>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 43CC: 8ru2u4gz, dwalsh, lvrabec, mmalik, ochal.christophe, omosnacek, pkoncity, red, vmojzis, zpytela
Target Milestone: ---Flags: zpytela: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:aa2623bf9d5561c2c2684c880768f4b5748ca60af12025a1fe64092b42d990a5;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-43.8-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-21 01:09:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: description
none
File: os_info none

Description ochal.christophe@pm.me 2026-04-16 06:23:53 UTC
Description of problem:
SELinux is preventing accounts-daemon from 'read' accesses on the directory /usr/share/accountsservice/interfaces.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that accounts-daemon should be allowed read access on the interfaces directory 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:object_r:accountsd_share_t:s0
Target Objects                /usr/share/accountsservice/interfaces [ dir ]
Source                        accounts-daemon
Source Path                   accounts-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           accountsservice-23.13.9-9.fc43.x86_64
                              malcontent-0.13.0-3.fc43.x86_64
SELinux Policy RPM            selinux-policy-targeted-43.6-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-43.6-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.19.11-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Apr 2 16:55:52 UTC 2026 x86_64
Alert Count                   5
First Seen                    2026-04-14 17:51:27 CEST
Last Seen                     2026-04-16 08:16:25 CEST
Local ID                      dcada290-bfa4-4533-81df-335a5de6c7ed

Raw Audit Messages
type=AVC msg=audit(1776320185.595:74): avc:  denied  { read } for  pid=1633 comm="accounts-daemon" path="/usr/share/accountsservice/interfaces" dev="sdb3" ino=53440 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:accountsd_share_t:s0 tclass=dir permissive=1


Hash: accounts-daemon,accountsd_t,accountsd_share_t,dir,read

Version-Release number of selected component:
selinux-policy-targeted-43.6-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing accounts-daemon from 'read' accesses on the directory /usr/share/accountsservice/interfaces.
package:        selinux-policy-targeted-43.6-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.19.11-200.fc43.x86_64
component:      selinux-policy

Comment 1 ochal.christophe@pm.me 2026-04-16 06:23:59 UTC
Created attachment 2137252 [details]
File: description

Comment 2 ochal.christophe@pm.me 2026-04-16 06:24:00 UTC
Created attachment 2137253 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-04-20 07:22:24 UTC
*** Bug 2459501 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Pytela 2026-04-23 09:36:32 UTC
*** Bug 2461082 has been marked as a duplicate of this bug. ***

Comment 5 Zdenek Pytela 2026-04-27 08:19:25 UTC
*** Bug 2461843 has been marked as a duplicate of this bug. ***

Comment 6 Zdenek Pytela 2026-04-27 08:19:34 UTC
*** Bug 2461844 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2026-06-05 18:54:45 UTC
FEDORA-2026-dc3f9ea903 (selinux-policy-43.8-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-dc3f9ea903

Comment 8 Fedora Update System 2026-06-06 01:48:14 UTC
FEDORA-2026-dc3f9ea903 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-dc3f9ea903`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-dc3f9ea903

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-06-21 01:09:35 UTC
FEDORA-2026-dc3f9ea903 (selinux-policy-43.8-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.