Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing gmain from 'watch' accesses on the directory /usr/share/accountsservice/interfaces. ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow gmain 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 gmain 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 'gmain' --raw | audit2allow -M my-gmain # semodule -X 300 -i my-gmain.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 gmain Source Path gmain Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages accountsservice-26.12.8-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 Enforcing Host Name (removed) Platform Linux (removed) 7.0.0-0.rc5.260327g46b513250491.46.fc45.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 27 15:23:17 UTC 2026 x86_64 Alert Count 12 First Seen 2026-03-30 20:51:42 CDT Last Seen 2026-03-30 20:52:26 CDT Local ID 528d88e2-0cfb-4a45-9038-e7575bf097d0 Raw Audit Messages type=AVC msg=audit(1774921946.713:207): avc: denied { watch } for pid=1179 comm="gmain" path="/usr/share/accountsservice/interfaces" dev="nvme0n1p3" ino=58658 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=dir permissive=0 Hash: gmain,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 gmain 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-0.rc5.260327g46b513250491.46.fc45.x86_64 event_log: 2026-03-30-20:52:35> Looking for similar problems in bugzilla component: selinux-policy
Created attachment 2135525 [details] File: description
Created attachment 2135526 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2451397 ***