Bug 225079 - mdstat disallowed sendmail access.
mdstat disallowed sendmail access.
Status: CLOSED DUPLICATE of bug 216241
Product: Fedora
Classification: Fedora
Component: mdadm (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Doug Ledford
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-28 12:22 EST by Dave Jones
Modified: 2015-01-04 17:29 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-17 20:15:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dave Jones 2007-01-28 12:22:25 EST
I had a raid5 set fail, and noticed two AVCs, which seem to have prevented root
from getting mail about the failure, which meant it went unnoticed for weeks..

type=AVC msg=audit(1170003945.248:7): avc:  denied  { read } for  pid=2771
comm="sendmail" name="md1" dev=tmpfs ino=7157
scontext=system_u:system_r:system_mail_t:s0
tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file
type=AVC msg=audit(1170003945.248:7): avc:  denied  { read } for  pid=2771
comm="sendmail" name="mdstat" dev=proc ino=4026532358
scontext=system_u:system_r:system_mail_t:s0
tcontext=system_u:object_r:proc_mdstat_t:s0 tclass=file
Comment 1 Daniel Walsh 2007-01-29 13:51:43 EST
I you sure these are not leaked file descriptors?  Why would the senmail
application want to read a fixed disk or proc_mdstat?
Comment 2 Dave Jones 2007-02-03 15:59:18 EST
hmm, could be. I'm not sure where to start looking though, and as the raid array
has been reconstructed, it's not reproducable right now.
Comment 3 Doug Ledford 2007-05-17 20:15:05 EDT
This is actually an mdadm issue, not raidtools.  Changing component.
Comment 4 Doug Ledford 2007-05-17 20:15:38 EDT

*** This bug has been marked as a duplicate of 216241 ***

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