Description of problem: Occurrence immediately after installation. SELinux is preventing QDBusConnection from 'write' accesses on the sock_file bus. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that QDBusConnection should be allowed write access on the bus sock_file 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 'QDBusConnection' --raw | audit2allow -M my-QDBusConnection # semodule -X 300 -i my-QDBusConnection.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:session_dbusd_tmp_t:s0 Target Objects bus [ sock_file ] Source QDBusConnection Source Path QDBusConnection Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-35.9-1.fc36.noarch Local Policy RPM selinux-policy-targeted-35.9-1.fc36.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.17.0- 0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 #1 SMP PREEMPT Wed Jan 12 18:54:57 UTC 2022 x86_64 x86_64 Alert Count 2 First Seen 2022-01-15 00:23:44 UTC Last Seen 2022-01-15 00:46:04 UTC Local ID dd48254b-00d4-4483-8545-59a74a58e134 Raw Audit Messages type=AVC msg=audit(1642207564.375:242): avc: denied { write } for pid=1154 comm="QDBusConnection" name="bus" dev="tmpfs" ino=40 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:session_dbusd_tmp_t:s0 tclass=sock_file permissive=0 Hash: QDBusConnection,xdm_t,session_dbusd_tmp_t,sock_file,write Version-Release number of selected component: selinux-policy-targeted-35.9-1.fc36.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 type: libreport Potential duplicate: bug 2040545
Similar problem has been detected: Occurrence immediately after authentication. hashmarkername: setroubleshoot kernel: 5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 package: selinux-policy-targeted-35.9-1.fc36.noarch reason: SELinux is preventing QDBusConnection from 'write' accesses on the sock_file bus. type: libreport
*** This bug has been marked as a duplicate of bug 2039671 ***