Hide Forgot
Description of problem: I just turn off SELinux reboot, then turn on SELinux, reboot, and have this issue SELinux is preventing accounts-daemon from 'unlink' accesses on the file gdm. ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow accounts-daemon to have unlink access on the gdm file Then необходимо изменить метку на gdm Do # semanage fcontext -a -t FILE_TYPE 'gdm' where FILE_TYPE is one of the following: accountsd_var_lib_t, xdm_etc_t. Then execute: restorecon -v 'gdm' ***** Plugin catchall (17.1 confidence) suggests ************************** If вы считаете, что accounts-daemon следует разрешить доступ unlink к gdm file по умолчанию. Then рекомендуется создать отчет об ошибке. Чтобы разрешить доступ, можно создать локальный модуль политики. Do allow this access for now by executing: # ausearch -c 'accounts-daemon' --raw | audit2allow -M my-accountsdaemon # semodule -X 300 -i my-accountsdaemon.pp Additional Information: Source Context system_u:system_r:accountsd_t:s0 Target Context system_u:object_r:unlabeled_t:s0 Target Objects gdm [ file ] Source accounts-daemon Source Path accounts-daemon Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-191.19.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.7.9-200.fc24.x86_64 #1 SMP Thu Oct 20 14:26:16 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-11-01 14:41:26 EET Last Seen 2016-11-01 14:41:26 EET Local ID 23f8137c-d3a1-485b-9b2a-9dcc4f8425e3 Raw Audit Messages type=AVC msg=audit(1478004086.449:168): avc: denied { unlink } for pid=1324 comm="accounts-daemon" name="gdm" dev="sda5" ino=810151 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1 Hash: accounts-daemon,accountsd_t,unlabeled_t,file,unlink Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.9-200.fc24.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1391385 ***