Description of problem: See bug 1139060. I changed the user to "unconfined_u", ran "wine cmd" to create the .wine directory correctly, changed the user back to "user_u", and tried to run "wine cmd" again. SELinux is preventing /usr/bin/wine-preloader from 'read' accesses on the lnk_file . ***** Plugin catchall (100. confidence) suggests ************************** If você acredita que o wine-preloader deva ser permitido acesso de read em lnk_file por default. Then você precisa reportar este como um erro. Você pode gerar um módulo de política local para permitir este acesso. Do permitir este acesso agora executando: # grep wine /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context user_u:user_r:user_wine_t:s0 Target Context user_u:object_r:wine_home_t:s0 Target Objects [ lnk_file ] Source wine Source Path /usr/bin/wine-preloader Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.12.1-182.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.15.10-201.fc20.x86_64 #1 SMP Wed Aug 27 21:10:06 UTC 2014 x86_64 x86_64 Alert Count 4 First Seen 2014-09-07 19:29:12 BRT Last Seen 2014-09-07 19:29:12 BRT Local ID 313c0256-8d40-449a-9cc1-be637d872b2e Raw Audit Messages type=AVC msg=audit(1410128952.419:3881): avc: denied { read } for pid=7273 comm="wineboot.exe" name="c:" dev="dm-3" ino=4718851 scontext=user_u:user_r:user_wine_t:s0 tcontext=user_u:object_r:wine_home_t:s0 tclass=lnk_file Hash: wine,user_wine_t,wine_home_t,lnk_file,read Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-201.fc20.x86_64 type: libreport
Worked around with the following audit2allow output: module wine-dosdevices 1.0; require { type user_wine_t; type wine_home_t; class lnk_file { read create }; } #============= user_wine_t ============== allow user_wine_t wine_home_t:lnk_file { read create };
*** This bug has been marked as a duplicate of bug 1139060 ***