RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1162133 - SELinux: libstoragemgmt smis and targetd plugins are being blocked.
Summary: SELinux: libstoragemgmt smis and targetd plugins are being blocked.
Keywords:
Status: CLOSED DUPLICATE of bug 1093733
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-10 10:52 UTC by Bruno Goncalves
Modified: 2014-12-02 12:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-02 12:17:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bruno Goncalves 2014-11-10 10:52:14 UTC
Description of problem:
AVC messages when using libstoragemgmt with targetd and smis plugins.


Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-7.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.try to run lsmcli command using targetd plugin
lsmcli  -u "targetd://admin@localhost" list --type VOLUMES


Actual results:
'/usr/bin/env LC_ALL=en_US.UTF-8 /sbin/ausearch -m AVC -m USER_AVC -m SELINUX_ERR -ts 11/10/2014 05:41:53 < /dev/null >/mnt/testarea/tmp.rhts-db-submit-result.HElPkA 2>&1'
----
time->Mon Nov 10 05:43:27 2014
type=SYSCALL msg=audit(1415616207.830:123): arch=c000003e syscall=41 success=yes exit=5 a0=10 a1=3 a2=0 a3=0 items=0 ppid=15480 pid=15565 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616207.830:123): avc:  denied  { create } for  pid=15565 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:27 2014
type=SYSCALL msg=audit(1415616207.830:124): arch=c000003e syscall=49 success=yes exit=0 a0=5 a1=7ffff07902d0 a2=c a3=0 items=0 ppid=15480 pid=15565 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616207.830:124): avc:  denied  { bind } for  pid=15565 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:27 2014
type=SYSCALL msg=audit(1415616207.830:125): arch=c000003e syscall=51 success=yes exit=0 a0=5 a1=7ffff07902d0 a2=7ffff07902cc a3=0 items=0 ppid=15480 pid=15565 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616207.830:125): avc:  denied  { getattr } for  pid=15565 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:27 2014
type=SYSCALL msg=audit(1415616207.830:126): arch=c000003e syscall=44 success=yes exit=20 a0=5 a1=7ffff0790220 a2=14 a3=0 items=0 ppid=15480 pid=15565 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616207.830:126): avc:  denied  { nlmsg_read } for  pid=15565 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:27 2014
type=SYSCALL msg=audit(1415616207.830:127): arch=c000003e syscall=42 success=no exit=-111 a0=5 a1=7ffff0790270 a2=1c a3=0 items=0 ppid=15480 pid=15565 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616207.830:127): avc:  denied  { name_connect } for  pid=15565 comm="python2" dest=18700 scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
----
time->Mon Nov 10 05:43:28 2014
type=SYSCALL msg=audit(1415616208.399:128): arch=c000003e syscall=41 success=yes exit=5 a0=10 a1=3 a2=0 a3=0 items=0 ppid=15480 pid=15605 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616208.399:128): avc:  denied  { create } for  pid=15605 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:28 2014
type=SYSCALL msg=audit(1415616208.399:129): arch=c000003e syscall=49 success=yes exit=0 a0=5 a1=7fff26f8a6e0 a2=c a3=0 items=0 ppid=15480 pid=15605 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616208.399:129): avc:  denied  { bind } for  pid=15605 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:28 2014
type=SYSCALL msg=audit(1415616208.399:130): arch=c000003e syscall=51 success=yes exit=0 a0=5 a1=7fff26f8a6e0 a2=7fff26f8a6dc a3=0 items=0 ppid=15480 pid=15605 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616208.399:130): avc:  denied  { getattr } for  pid=15605 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:28 2014
type=SYSCALL msg=audit(1415616208.399:131): arch=c000003e syscall=44 success=yes exit=20 a0=5 a1=7fff26f8a630 a2=14 a3=0 items=0 ppid=15480 pid=15605 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616208.399:131): avc:  denied  { nlmsg_read } for  pid=15605 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:34 2014
type=SYSCALL msg=audit(1415616214.282:134): arch=c000003e syscall=41 success=yes exit=5 a0=10 a1=3 a2=0 a3=0 items=0 ppid=15480 pid=16265 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616214.282:134): avc:  denied  { create } for  pid=16265 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:34 2014
type=SYSCALL msg=audit(1415616214.282:135): arch=c000003e syscall=49 success=yes exit=0 a0=5 a1=7fff04b2bfb0 a2=c a3=0 items=0 ppid=15480 pid=16265 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616214.282:135): avc:  denied  { bind } for  pid=16265 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:34 2014
type=SYSCALL msg=audit(1415616214.282:136): arch=c000003e syscall=51 success=yes exit=0 a0=5 a1=7fff04b2bfb0 a2=7fff04b2bfac a3=0 items=0 ppid=15480 pid=16265 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616214.282:136): avc:  denied  { getattr } for  pid=16265 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:34 2014
type=SYSCALL msg=audit(1415616214.282:137): arch=c000003e syscall=44 success=yes exit=20 a0=5 a1=7fff04b2bf00 a2=14 a3=0 items=0 ppid=15480 pid=16265 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616214.282:137): avc:  denied  { nlmsg_read } for  pid=16265 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:34 2014
type=SYSCALL msg=audit(1415616214.282:138): arch=c000003e syscall=42 success=no exit=-111 a0=5 a1=7fff04b2bf50 a2=1c a3=0 items=0 ppid=15480 pid=16265 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616214.282:138): avc:  denied  { name_connect } for  pid=16265 comm="python2" dest=18700 scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.363:142): arch=c000003e syscall=49 success=yes exit=0 a0=5 a1=7fff53221d80 a2=c a3=0 items=0 ppid=16576 pid=16869 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.363:142): avc:  denied  { bind } for  pid=16869 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.363:143): arch=c000003e syscall=51 success=yes exit=0 a0=5 a1=7fff53221d80 a2=7fff53221d7c a3=0 items=0 ppid=16576 pid=16869 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.363:143): avc:  denied  { getattr } for  pid=16869 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.363:144): arch=c000003e syscall=44 success=yes exit=20 a0=5 a1=7fff53221cd0 a2=14 a3=0 items=0 ppid=16576 pid=16869 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.363:144): avc:  denied  { nlmsg_read } for  pid=16869 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.363:145): arch=c000003e syscall=42 success=no exit=-111 a0=5 a1=7fff53221d20 a2=1c a3=0 items=0 ppid=16576 pid=16869 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.363:145): avc:  denied  { name_connect } for  pid=16869 comm="python2" dest=18700 scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.707:146): arch=c000003e syscall=41 success=yes exit=5 a0=10 a1=3 a2=0 a3=1 items=0 ppid=16576 pid=16886 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.707:146): avc:  denied  { create } for  pid=16886 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.363:141): arch=c000003e syscall=41 success=yes exit=5 a0=10 a1=3 a2=0 a3=0 items=0 ppid=16576 pid=16869 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.363:141): avc:  denied  { create } for  pid=16869 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.707:147): arch=c000003e syscall=49 success=yes exit=0 a0=5 a1=7fffdef82600 a2=c a3=1 items=0 ppid=16576 pid=16886 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.707:147): avc:  denied  { bind } for  pid=16886 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.707:148): arch=c000003e syscall=51 success=yes exit=0 a0=5 a1=7fffdef82600 a2=7fffdef825fc a3=1 items=0 ppid=16576 pid=16886 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.707:148): avc:  denied  { getattr } for  pid=16886 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.707:149): arch=c000003e syscall=44 success=yes exit=20 a0=5 a1=7fffdef82550 a2=14 a3=0 items=0 ppid=16576 pid=16886 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.707:149): avc:  denied  { nlmsg_read } for  pid=16886 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:43:45 2014
type=SYSCALL msg=audit(1415616225.853:150): arch=c000003e syscall=42 success=no exit=-111 a0=5 a1=7fff42541210 a2=1c a3=0 items=0 ppid=16576 pid=16910 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616225.853:150): avc:  denied  { name_connect } for  pid=16910 comm="python2" dest=18700 scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
----
time->Mon Nov 10 05:45:46 2014
type=SYSCALL msg=audit(1415616346.767:166): arch=c000003e syscall=49 success=yes exit=0 a0=5 a1=7fffebba0920 a2=c a3=0 items=0 ppid=16576 pid=18096 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616346.767:166): avc:  denied  { bind } for  pid=18096 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:45:46 2014
type=SYSCALL msg=audit(1415616346.767:167): arch=c000003e syscall=51 success=yes exit=0 a0=5 a1=7fffebba0920 a2=7fffebba091c a3=0 items=0 ppid=16576 pid=18096 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616346.767:167): avc:  denied  { getattr } for  pid=18096 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:45:46 2014
type=SYSCALL msg=audit(1415616346.767:168): arch=c000003e syscall=44 success=yes exit=20 a0=5 a1=7fffebba0870 a2=14 a3=0 items=0 ppid=16576 pid=18096 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616346.767:168): avc:  denied  { nlmsg_read } for  pid=18096 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
----
time->Mon Nov 10 05:45:46 2014
type=SYSCALL msg=audit(1415616346.767:169): arch=c000003e syscall=42 success=no exit=-111 a0=5 a1=7fffebba08c0 a2=1c a3=0 items=0 ppid=16576 pid=18096 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616346.767:169): avc:  denied  { name_connect } for  pid=18096 comm="python2" dest=18700 scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
----
time->Mon Nov 10 05:45:46 2014
type=SYSCALL msg=audit(1415616346.767:165): arch=c000003e syscall=41 success=yes exit=5 a0=10 a1=3 a2=0 a3=0 items=0 ppid=16576 pid=18096 auid=4294967295 uid=997 gid=995 euid=997 suid=997 fsuid=997 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm="python2" exe="/usr/bin/python2.7" subj=system_u:system_r:lsmd_plugin_t:s0 key=(null)
type=AVC msg=audit(1415616346.767:165): avc:  denied  { create } for  pid=18096 comm="python2" scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:system_r:lsmd_plugin_t:s0 tclass=netlink_route_socket
Fail: AVC messages found.

Comment 2 Milos Malik 2014-11-10 14:50:24 UTC
This bug is very similar to BZ#1093733. Unfortunately, the targetd port (18700) is not yet defined in latest policy.

Comment 3 Miroslav Grepl 2014-11-14 12:12:22 UTC
type=AVC msg=audit(1415616346.767:169): avc:  denied  { name_connect } for  pid=18096 comm="python2" dest=18700 scontext=system_u:system_r:lsmd_plugin_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
----

Bruno,
did you define tcp/18700 port?

Comment 4 Bruno Goncalves 2014-11-14 12:54:52 UTC
I did not understand the question. As Gris said on BZ#1093733 the libstoragemgmt plugins use these destination ports:

SMI-S plugin: TCP 5988
SMI-S plugin: TCP 5989
Targetd plugin: TCP 18700
nstor plugin: TCP 2000

Comment 5 Miroslav Grepl 2014-12-02 12:17:21 UTC

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


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