Bug 552940 - SELinux is preventing /usr/sbin/tgtd "write" access on /dev/mapper/vg_system00-iSCSI_mail_lun_0.
Summary: SELinux is preventing /usr/sbin/tgtd "write" access on /dev/mapper/vg_system0...
Keywords:
Status: CLOSED DUPLICATE of bug 558080
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:50d7b3bfb0b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-06 15:43 UTC by horner
Modified: 2010-01-26 13:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-26 13:34:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description horner 2010-01-06 15:43:57 UTC
Summary:

SELinux is preventing /usr/sbin/tgtd "write" access on
/dev/mapper/vg_system00-iSCSI_mail_lun_0.

Detailed Description:

[tgtd has a permissive type (tgtd_t). This access was not denied.]

SELinux denied access requested by tgtd. It is not expected that this access is
required by tgtd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:tgtd_t:s0
Target Context                system_u:object_r:fixed_disk_device_t:s0
Target Objects                /dev/mapper/vg_system00-iSCSI_mail_lun_0 [
                              blk_file ]
Source                        tgtd
Source Path                   /usr/sbin/tgtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           scsi-target-utils-0.9.5-3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21
                              05:33:33 UTC 2009 x86_64 x86_64
Alert Count                   2
First Seen                    Tue 05 Jan 2010 09:06:45 PM CET
Last Seen                     Wed 06 Jan 2010 04:28:21 PM CET
Local ID                      fc165573-286d-4ed7-9b82-534478134f61
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1262791701.794:247): avc:  denied  { write } for  pid=5882 comm="tgtd" path="/dev/mapper/vg_system00-iSCSI_mail_lun_0" dev=tmpfs ino=4293 scontext=system_u:system_r:tgtd_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file

node=(removed) type=SYSCALL msg=audit(1262791701.794:247): arch=c000003e syscall=18 success=yes exit=4096 a0=11 a1=cfa000 a2=1000 a3=4000 items=0 ppid=1 pid=5882 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="tgtd" exe="/usr/sbin/tgtd" subj=system_u:system_r:tgtd_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,tgtd,tgtd_t,fixed_disk_device_t,blk_file,write
audit2allow suggests:
audit2allow is not installed.

Comment 1 Miroslav Grepl 2010-01-26 13:34:29 UTC

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


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