Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing accounts-daemon from 'watch' accesses on the directory /usr/share/accountsservice/interfaces. ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow accounts-daemon to have watch access on the interfaces directory Then you need to change the label on /usr/share/accountsservice/interfaces Do # semanage fcontext -a -t FILE_TYPE '/usr/share/accountsservice/interfaces' where FILE_TYPE is one of the following: accountsd_var_lib_t, etc_t, var_log_t, xdm_etc_t. Then execute: restorecon -v '/usr/share/accountsservice/interfaces' ***** Plugin catchall (17.1 confidence) suggests ************************** If you believe that accounts-daemon should be allowed watch 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:usr_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-26.12.8-1.fc45.x86_64 malcontent-0.14.0-1.fc45.x86_64 SELinux Policy RPM selinux-policy-targeted-43.4-1.fc45.noarch Local Policy RPM selinux-policy-targeted-43.4-1.fc45.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 7.0.0-rc6-7aaa8047eafd-with- fixes-3+ #154 SMP PREEMPT_DYNAMIC Mon Mar 30 18:49:14 +05 2026 x86_64 Alert Count 1 First Seen 2026-03-30 19:41:56 +05 Last Seen 2026-03-30 19:41:56 +05 Local ID 01928472-f0e8-445f-82d7-7ee9d5c46650 Raw Audit Messages type=AVC msg=audit(1774881716.159:85): avc: denied { watch } for pid=1500 comm="accounts-daemon" path="/usr/share/accountsservice/interfaces" dev="nvme1n1p3" ino=49603 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=dir permissive=1 Hash: accounts-daemon,accountsd_t,usr_t,dir,watch Version-Release number of selected component: selinux-policy-targeted-43.4-1.fc45.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing accounts-daemon from 'watch' accesses on the directory /usr/share/accountsservice/interfaces. package: selinux-policy-targeted-43.4-1.fc45.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 7.0.0-rc6-7aaa8047eafd-with-fixes-3+ component: selinux-policy
Created attachment 2135468 [details] File: description
Created attachment 2135469 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2451397 ***