Bug 437010 - multipath.static avc writing to /dev/mapper/control during boot mls/Permissive
multipath.static avc writing to /dev/mapper/control during boot mls/Permissive
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy-mls (Show other bugs)
rawhide
noarch Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-11 12:51 EDT by Joe Nall
Modified: 2008-03-11 19:00 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-11 19:00:08 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)
Patch to allow initrc_t to write to /dev/mapper/control (512 bytes, patch)
2008-03-11 12:52 EDT, Joe Nall
no flags Details | Diff

  None (edit)
Description Joe Nall 2008-03-11 12:51:24 EDT
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:
multipath.static doesn't have write permission to /dev/mapper/control

Mar 11 11:07:17 rawhide kernel: type=1400 audit(1205251627.633:3): avc:  denied  { write } for  pid=1307 comm="multipath.stati" name="control" dev=tmpfs ino=5380 scontext=system_u:system_r:initrc_t:s0-s15:c0.c1023 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file

Patch attached.

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

How reproducible:
Always


Steps to Reproduce:
Boot mls/Permissive, examine avcs.

Actual Results:


Expected Results:


Additional info:
Comment 1 Joe Nall 2008-03-11 12:52:28 EDT
Created attachment 297642 [details]
Patch to allow initrc_t to write to /dev/mapper/control
Comment 2 Daniel Walsh 2008-03-11 19:00:08 EDT
If I label multipath.static lvm_exec_t, does that fix the problem.

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.