Description of problem: SELinux is preventing gmain from 'watch' accesses on the directory /etc. ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow gmain to have watch access on the etc directory Then you need to change the label on /etc Do # semanage fcontext -a -t FILE_TYPE '/etc' where FILE_TYPE is one of the following: geoclue_tmp_t, geoclue_var_lib_t. Then execute: restorecon -v '/etc' ***** Plugin catchall (17.1 confidence) suggests ************************** If you believe that gmain should be allowed watch access on the etc 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:geoclue_t:s0 Target Context system_u:object_r:etc_t:s0 Target Objects /etc [ dir ] Source gmain Source Path gmain Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.9-1.fc39.noarch Local Policy RPM selinux-policy-targeted-38.9-1.fc39.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.3.0- 0.rc4.20230330gitffe78bbd5121.38.fc39.x86_64+debug #1 SMP PREEMPT_DYNAMIC Thu Mar 30 21:19:26 +05 2023 x86_64 Alert Count 35673 First Seen 2023-03-31 23:39:29 +05 Last Seen 2023-04-01 19:28:33 +05 Local ID 54b63728-98f4-45f0-8ad7-2cf4c511ec0b Raw Audit Messages type=AVC msg=audit(1680359313.521:39083): avc: denied { watch } for pid=1401 comm="gmain" path="/etc" dev="nvme0n1p3" ino=271 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=dir permissive=0 Hash: gmain,geoclue_t,etc_t,dir,watch Version-Release number of selected component: selinux-policy-targeted-38.9-1.fc39.noarch Additional info: reporter: libreport-2.17.9 reason: SELinux is preventing gmain from 'watch' accesses on the directory /etc. package: selinux-policy-targeted-38.9-1.fc39.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.3.0-0.rc4.20230330gitffe78bbd5121.38.fc39.x86_64+debug component: selinux-policy
Created attachment 1955088 [details] File: description
Created attachment 1955089 [details] File: os_info
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
This message is a reminder that Fedora Linux 39 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '39'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 39 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26. Fedora Linux 39 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.