Bug 437025 - Fix smartd avc in mls/Permissive
Summary: Fix smartd avc in mls/Permissive
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-mls
Version: rawhide
Hardware: noarch
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-11 18:23 UTC by Joe Nall
Modified: 2008-03-11 22:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-11 22:56:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
smartmon mls patch (445 bytes, patch)
2008-03-11 18:24 UTC, Joe Nall
no flags Details | Diff

Description Joe Nall 2008-03-11 18:23:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.15.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.15

Description of problem:
smartd has type but not mls permission to write to block devices. Patch attached.

type=AVC msg=audit(1205257456.890:11): avc:  denied  { write } for  pid=2283 comm="smartd" name="sda" dev=tmpfs ino=284 scontext=system_u:system_r:fsdaemon_t:s0-s15:c0.c1023 tcontext=system_u:object_r:fixed_disk_device_t:s15:c0.c1023 tclass=blk_file



Version-Release number of selected component (if applicable):
selinux-policy-mls-3.3.1-12

How reproducible:
Always


Steps to Reproduce:
Boot mls/Permissive. Look for avcs with smartd enabled.

Actual Results:


Expected Results:


Additional info:

Comment 1 Joe Nall 2008-03-11 18:24:00 UTC
Created attachment 297655 [details]
smartmon mls patch

Comment 2 Daniel Walsh 2008-03-11 22:56:13 UTC
Fixed in selinux-policy-3.3.1-14.fc9


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