Description of problem: Probably related to https://bugzilla.redhat.com/show_bug.cgi?id=1133737 ran `crontab -e` SELinux is preventing gvim from 'write' accesses on the directory /home/asinha/.vim/bundle/vim-fugitive/doc. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gvim should be allowed write access on the doc directory 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: # grep gvim /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:crontab_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects /home/asinha/.vim/bundle/vim-fugitive/doc [ dir ] Source gvim Source Path gvim Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-75.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.16.1-300.fc21.x86_64 #1 SMP Thu Aug 14 15:06:34 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-08-26 13:20:53 AEST Last Seen 2014-08-26 13:20:53 AEST Local ID 5ad20ec1-6fa8-43e6-98ca-6b0553d07706 Raw Audit Messages type=AVC msg=audit(1409023253.105:1656): avc: denied { write } for pid=22735 comm="gvim" name="doc" dev="sda2" ino=10313824 scontext=unconfined_u:unconfined_r:crontab_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir permissive=0 Hash: gvim,crontab_t,user_home_t,dir,write Version-Release number of selected component: selinux-policy-3.13.1-75.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.1-300.fc21.x86_64 type: libreport
unconfined_t should not be transitioning to crontab_t. 77266f471312971c6ff85b16b797a2ecefd27c1e eliminates this transition
commit 77266f471312971c6ff85b16b797a2ecefd27c1e Author: Dan Walsh <dwalsh> Date: Sun Aug 31 07:46:41 2014 -0400 I see no reason why unconfined_t should transition to crontab_t, this looks like old cruft https://github.com/selinux-policy/selinux-policy/commit/77266f471312971c6ff85b16b797a2ecefd27c1e
selinux-policy-3.13.1-78.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-78.fc21
Package selinux-policy-3.13.1-78.fc21: * should fix your issue, * was pushed to the Fedora 21 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.13.1-78.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-10184/selinux-policy-3.13.1-78.fc21 then log in and leave karma (feedback).
selinux-policy-3.13.1-78.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.