Bug 627885 - SELinux is preventing /sbin/dmsetup "unix_write" access .
Summary: SELinux is preventing /sbin/dmsetup "unix_write" access .
Keywords:
Status: CLOSED DUPLICATE of bug 627879
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:24fa45178a8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-27 09:40 UTC by Nils Philippsen
Modified: 2010-09-09 06:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-27 15:22:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2010-08-27 09:40:40 UTC
Summary:

SELinux is preventing /sbin/dmsetup "unix_write" access .

Detailed Description:

[dmsetup has a permissive type (lvm_t). This access was not denied.]

SELinux denied access requested by dmsetup. It is not expected that this access
is required by dmsetup and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:lvm_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                None [ sem ]
Source                        dmsetup
Source Path                   /sbin/dmsetup
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           device-mapper-1.02.54-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.8.8-20.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.2-9.fc14.x86_64 #1 SMP Tue
                              Aug 17 22:36:15 UTC 2010 x86_64 x86_64
Alert Count                   4
First Seen                    Fri 27 Aug 2010 11:34:33 AM CEST
Last Seen                     Fri 27 Aug 2010 11:34:33 AM CEST
Local ID                      37f1445b-6100-4a1d-af9e-680008f08e38
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282901673.90:176): avc:  denied  { unix_write } for  pid=4058 comm="dmsetup" key=223159837  scontext=system_u:system_r:lvm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=sem

node=(removed) type=AVC msg=audit(1282901673.90:176): avc:  denied  { read write } for  pid=4058 comm="dmsetup" key=223159837  scontext=system_u:system_r:lvm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=sem

node=(removed) type=SYSCALL msg=audit(1282901673.90:176): arch=c000003e syscall=65 success=yes exit=0 a0=b0007 a1=7fff8d4083e0 a2=1 a3=1 items=0 ppid=1987 pid=4058 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dmsetup" exe="/sbin/dmsetup" subj=system_u:system_r:lvm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,dmsetup,lvm_t,unconfined_t,sem,unix_write
audit2allow suggests:

#============= lvm_t ==============
allow lvm_t unconfined_t:sem { read write unix_write };

Comment 1 Nils Philippsen 2010-08-27 09:41:11 UTC
See bug #627879 for details.

Comment 2 Daniel Walsh 2010-08-27 15:22:54 UTC

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


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