Bug 2458894 - SELinux is preventing accounts-daemon from 'read' accesses on the directory /usr/share/accountsservice/interfaces.
Summary: SELinux is preventing accounts-daemon from 'read' accesses on the directory /...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aa2623bf9d5561c2c2684c88076...
: 2459501 2461082 2461843 2461844 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-16 06:23 UTC by ochal.christophe@pm.me
Modified: 2026-06-21 01:09 UTC (History)
10 users (show)

Fixed In Version: selinux-policy-43.8-1.fc43
Clone Of:
Environment:
Last Closed: 2026-06-21 01:09:35 UTC
Type: ---
Embargoed:
zpytela: mirror+


Attachments (Terms of Use)
File: description (2.10 KB, text/plain)
2026-04-16 06:23 UTC, ochal.christophe@pm.me
no flags Details
File: os_info (699 bytes, text/plain)
2026-04-16 06:24 UTC, ochal.christophe@pm.me
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3158 0 None open Allow sshd-auth/sshd-session get attributes of their sshd parent 2026-04-20 07:25:03 UTC

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.


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