Bug 492711 - SELinux is preventing crontab (admin_crontab_t) "read" unlabeled_t.
Summary: SELinux is preventing crontab (admin_crontab_t) "read" unlabeled_t.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i586
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-28 16:59 UTC by Frank Murphy
Modified: 2009-03-30 14:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-30 14:02:22 UTC
Type: ---
Embargoed:


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

Description Frank Murphy 2009-03-28 16:59:48 UTC
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:
Always

Steps to Reproduce:
1. crontab -e
2.
3.
  
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 17:00:45 UTC
Created attachment 337118 [details]
The avc alert

Comment 2 Daniel Walsh 2009-03-30 14:02:22 UTC
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.