Description of problem: SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the blk_file . ***** Plugin catchall (100. confidence) suggests ************************** If vous pensez que updatedb devrait être autorisé à accéder getattr sur blk_file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # grep updatedb /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:locate_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects [ blk_file ] Source updatedb Source Path /usr/bin/updatedb 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 22 First Seen 2014-09-06 13:43:39 CEST Last Seen 2014-09-06 13:43:40 CEST Local ID c055f196-b45a-47e4-8ec9-5bdda7fe9c1e Raw Audit Messages type=AVC msg=audit(1410003820.898:2257): avc: denied { getattr } for pid=18101 comm="updatedb" path=2F686F6D652F70617363616C2F54C3A96CC3A96368617267656D656E74732F67346C2F626F6F7463642F726F6F7466732F6465762F6964612F63356431703132 dev="sda8" ino=54481517 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=blk_file Hash: updatedb,locate_t,user_home_t,blk_file,getattr Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.15.10-201.fc20.x86_64 type: libreport
*** Bug 1138929 has been marked as a duplicate of this bug. ***
Where is this located in your homedir? You probably want to remove it to not have blk_file/chr_file in your homedir.
/home/pascal/Téléchargements/g4l/bootcd/rootfs/dev/ida/c5d1p12 I just added a fix for this in git. 818a75202ff57e152bdc2a1a0f70a0684395cc73 and 396bc544bad712588ee6a2c387df1d51a7f6ba8f
commit 1a91fe0879ca5fbddf2bc02fced1fcab7a4bd690 Author: Dan Walsh <dwalsh> Date: Sat Sep 13 06:53:37 2014 -0400 Allow locate to look at files/directories without labels, and chr_file and blk_file on non dev file systems https://github.com/selinux-policy/selinux-policy/commit/1a91fe0879ca5fbddf2bc02fced1fcab7a4bd690 commit 03039ae94b580acf9aaa8b375e52d2490048d8c3 Author: Dan Walsh <dwalsh> Date: Sat Sep 13 06:53:48 2014 -0400 Allow locate to look at files/directories without labels, and chr_file and blk_file on non dev file systems https://github.com/selinux-policy/selinux-policy/commit/03039ae94b580acf9aaa8b375e52d2490048d8c3
selinux-policy-3.12.1-186.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-186.fc20
Package selinux-policy-3.12.1-186.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-186.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11479/selinux-policy-3.12.1-186.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-187.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-187.fc20
selinux-policy-3.12.1-188.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-188.fc20
bug is fixed thanks
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.