Bug 2461843 - SELinux is preventing accounts-daemon from 'read' accesses on the cartella /usr/share/accountsservice/interfaces.
Summary: SELinux is preventing accounts-daemon from 'read' accesses on the cartella /u...
Keywords:
Status: CLOSED DUPLICATE of bug 2458894
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 44
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aa2623bf9d5561c2c2684c88076...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-25 19:52 UTC by Davide Repetto
Modified: 2026-04-27 08:19 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-04-27 08:19:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.19 KB, text/plain)
2026-04-25 19:52 UTC, Davide Repetto
no flags Details
File: os_info (674 bytes, text/plain)
2026-04-25 19:52 UTC, Davide Repetto
no flags Details

Description Davide Repetto 2026-04-25 19:52:48 UTC
Description of problem:
libselinux-3.10-1.fc44.x86_64
libselinux-utils-3.10-1.fc44.x86_64
passt-selinux-0^20260120.g386b5f5-1.fc44.noarch
adcli-selinux-0.9.3.1-5.fc44.noarch
libselinux-devel-3.10-1.fc44.x86_64
python3-libselinux-3.10-1.fc44.x86_64
smartmontools-selinux-7.5-6.fc44.noarch
swtpm-selinux-0.10.1-3.fc44.noarch
tpm2-abrmd-selinux-2.3.1-15.fc44.noarch
usbguard-selinux-1.1.3-7.fc44.noarch
dnfdaemon-selinux-0.3.22-11.fc44.noarch
rpm-plugin-selinux-6.0.1-2.fc44.x86_64
libselinux-3.10-1.fc44.i686
container-selinux-2.247.0-1.fc44.noarch
tigervnc-selinux-1.16.2-1.fc44.noarch
flatpak-selinux-1.17.6-1.fc44.noarch
selinux-policy-43.6-1.fc44.noarch
selinux-policy-minimum-43.6-1.fc44.noarch
selinux-policy-targeted-43.6-1.fc44.noarch
nbdkit-selinux-1.47.7-1.fc44.noarch
NetworkManager-ssh-selinux-1.4.4-1.fc44.x86_64
SELinux is preventing accounts-daemon from 'read' accesses on the cartella /usr/share/accountsservice/interfaces.

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

Se si ritiene che a accounts-daemon debba essere consentito l'accesso read su directory interfaces per impostazione predefinita.
Then si dovrebbe segnalare il problema come bug.
È possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo:
# ausearch -c 'accounts-daemon' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i mio-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                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           accountsservice-23.13.9-16.fc44.x86_64
                              lightdm-1.32.0-25.fc44.x86_64
SELinux Policy RPM            selinux-policy-targeted-43.6-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-43.6-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.19.13-300.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Apr 18 19:10:53 UTC 2026
                              x86_64
Alert Count                   1
First Seen                    2026-04-25 21:27:32 CEST
Last Seen                     2026-04-25 21:27:32 CEST
Local ID                      f516b9da-5565-451e-8147-67d25bbf5f44

Raw Audit Messages
type=AVC msg=audit(1777145252.18:72): avc:  denied  { read } for  pid=1218 comm="accounts-daemon" path="/usr/share/accountsservice/interfaces" dev="sdd4" ino=125740 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.fc44.noarch

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

Comment 1 Davide Repetto 2026-04-25 19:52:51 UTC
Created attachment 2138240 [details]
File: description

Comment 2 Davide Repetto 2026-04-25 19:52:52 UTC
Created attachment 2138241 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-04-27 08:19:25 UTC

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


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