Description of problem: SELinux is preventing lightdm from 'rename' accesses on the file .xsession-errors. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that lightdm should be allowed rename access on the .xsession-errors 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 'lightdm' --raw | audit2allow -M my-lightdm # semodule -X 300 -i my-lightdm.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:user_home_t:s0 Target Objects .xsession-errors [ file ] Source lightdm Source Path lightdm Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-32.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.0.11-300.fc30.x86_64 #1 SMP Thu May 2 14:11:38 UTC 2019 x86_64 x86_64 Alert Count 1 First Seen 2019-05-08 09:21:13 GMT Last Seen 2019-05-08 09:21:13 GMT Local ID 68e99809-d545-4a9d-8c4f-d65a6c884b88 Raw Audit Messages type=AVC msg=audit(1557307273.661:228): avc: denied { rename } for pid=1751 comm="lightdm" name=".xsession-errors" dev="dm-4" ino=12058672 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0 Hash: lightdm,xdm_t,user_home_t,file,rename Version-Release number of selected component: selinux-policy-3.14.3-32.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.11-300.fc30.x86_64 type: libreport Potential duplicate: bug 963238
Hi, Could you please run following command to fix your issue: # restorecon -Rv / Thanks, Lukas.
Description of problem: Fresh install of Fedora 30 replacing Mint 19.2. rsync copied all files from Mint's backup (including the hidden files). Problem notice appeared immediately upoin bootup and logging in. Version-Release number of selected component: selinux-policy-3.14.3-29.fc30.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.9-301.fc30.x86_64 type: libreport