Description of problem: I can't access crontab without disabling selinux. Version-Release number of selected component (if applicable): How reproducible: Try a fresh installation of Fedora 11 and enter 'crontab -e' as root Steps to Reproduce: 1.Install Fedora 11 (x86-64) 2.login as root 3.enter "crontab -e" Actual results: [root@fry /]# crontab -e -bash: /usr/bin/crontab: Keine Berechtigung (means "no permission") Expected results: opens new vim-Window to enter some cronjobs Additional info: setenforce 0, wich means disabling selinux temporary, solves the problem
What's are the released versions? rpm -q selinux-policy selinux-policy-targeted cronie In case updating won't help then I'll need more information. What's /var/log/cron is saying about this failure? Also there will be some messages in /var/log/audit/audit.log. Please attach the related parts of log files. Or if setroubleshoot (the star) offer some message, then you can attach it.
released versions: selinux-policy-3.6.12-39.fc11.noarch selinux-policy-targeted-3.6.12-39.fc11.noarch cronie-1.2-7.fc11.x86_64 /var/log/cron is empty /var/log/audit/audit.log did not have anything about "cron" or "crontab" setroubleshoot is also empty
Strange. Anyway I suggest first install testing update https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5888
Does the updated policy fixed the issue?
selinux-policy-3.6.12-45.fc11.noarch has fixed the crontab denials I was seeing: users' crontabs couldn't write to their own homedirs; "crontab -e" couldn't update ~/.viminfo, etc.
Confirm, that crontab -e is now working.
I can reproduce this on i386 and confirm the update fixes the problem.
Thanks for confirmation. Fixed with selinux-policy-3.6.12-45.fc11.noarch