Bug 492711 - SELinux is preventing crontab (admin_crontab_t) "read" unlabeled_t.
SELinux is preventing crontab (admin_crontab_t) "read" unlabeled_t.
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i586 Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-03-28 12:59 EDT by Frank Murphy
Modified: 2009-03-30 10:02 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-03-30 10:02:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
The avc alert (3.01 KB, text/plain)
2009-03-28 13:00 EDT, Frank Murphy
no flags Details

  None (edit)
Description Frank Murphy 2009-03-28 12:59:48 EDT
Description of problem:Can't edit crontab as root or su\sudo

Version-Release number of selected component (if applicable):
Source RPM Packages           cronie-1.2-7.fc11
Target RPM Packages           filesystem-2.4.21-1.fc11
Policy RPM                    selinux-policy-3.6.8-3.fc11

How reproducible:

Steps to Reproduce:
1. crontab -e
Actual results: You root are not allowed...

Expected results: updated crontab

Additional info: I have fixed this locally with an audit2allow
Comment 1 Frank Murphy 2009-03-28 13:00:45 EDT
Created attachment 337118 [details]
The avc alert
Comment 2 Daniel Walsh 2009-03-30 10:02:22 EDT
Run restorecon -R -v /root to fix one problem. 

You also need to update to the latest selinux-policy which will fix the ability of unconfined_t to run crontab.

Fixed in selinux-policy-3.6.10-4.fc11.noarch

Note You need to log in before you can comment on or make changes to this bug.