Bug 2461082

Summary: SELinux is preventing /usr/libexec/accounts-daemon from 'read' accesses on the directory /usr/share/accountsservice/interfaces.
Product: [Fedora] Fedora Reporter: Mr. Beedell, Roke Julian Lockhart (RJLB) <8ru2u4gz>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: 8ru2u4gz, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:aa2623bf9d5561c2c2684c880768f4b5748ca60af12025a1fe64092b42d990a5;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-04-23 09:36:32 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 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-04-23 09:29:18 UTC
Description of problem:
This occurred when https://github.com/BOINC/boinc/discussions/7029#discussion-9935589 did.
SELinux is preventing /usr/libexec/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                   /usr/libexec/accounts-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           accountsservice-23.13.9-9.fc43.x86_64
Target RPM Packages           accountsservice-23.13.9-9.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.12-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sun Apr 12 15:26:33 UTC 2026
                              x86_64
Alert Count                   37
First Seen                    2026-04-11 01:58:04 BST
Last Seen                     2026-04-23 09:50:41 BST
Local ID                      78158603-af38-4ae1-b5d4-38fbbb72ca71

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


type=SYSCALL msg=audit(1776934241.645:105): arch=x86_64 syscall=openat success=yes exit=E2BIG a0=ffffff9c a1=55df2126d320 a2=90800 a3=0 items=1 ppid=1 pid=1088 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=accounts-daemon exe=/usr/libexec/accounts-daemon subj=system_u:system_r:accountsd_t:s0 key=(null)

type=CWD msg=audit(1776934241.645:105): cwd=/

type=PATH msg=audit(1776934241.645:105): item=0 name=/usr/share/accountsservice/interfaces inode=55798 dev=00:22 mode=040755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:accountsd_share_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0

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 /usr/libexec/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.12-200.fc43.x86_64
comment:        This occurred when https://github.com/BOINC/boinc/discussions/7029#discussion-9935589 did.
component:      selinux-policy

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-04-23 09:29:20 UTC
Created attachment 2137989 [details]
File: description

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-04-23 09:29:22 UTC
Created attachment 2137990 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-04-23 09:36:32 UTC

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