Hide Forgot
Description of problem: http://www.linuxrussia.com/2013/08/xrandr-linux-ubuntu.html SELinux is preventing lightdm from 'execute' accesses on the file screen.sh. ***** Plugin catchall (100. confidence) suggests ************************** If вы считаете, что lightdm следует разрешить доступ execute к screen.sh file по умолчанию. Then рекомендуется создать отчет об ошибке. Чтобы разрешить доступ, можно создать локальный модуль политики. 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 unconfined_u:object_r:user_home_t:s0 Target Objects screen.sh [ file ] Source lightdm Source Path lightdm Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-224.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.8-300.fc25.x86_64 #1 SMP Tue Nov 15 18:10:06 UTC 2016 x86_64 x86_64 Alert Count 9 First Seen 2016-11-26 20:16:52 +03 Last Seen 2016-11-26 20:31:17 +03 Local ID a78fc95a-7344-401a-b5ca-f940080d63e8 Raw Audit Messages type=AVC msg=audit(1480181477.858:191): avc: denied { execute } for pid=1509 comm="lightdm" name="screen.sh" dev="dm-3" ino=40241446 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 Hash: lightdm,xdm_t,user_home_t,file,execute Version-Release number of selected component: selinux-policy-3.13.1-224.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.8-300.fc25.x86_64 type: libreport
Hi, Please run: # semanage fcontext -a -t xdm_exec_t PATH_TO/screen.sh # restorecon PATH_TO/screen.sh To fix your issue.