Bug 756337 - SELinux is preventing /usr/lib/iscan/network from 'node_bind' accesses on the tcp_socket port None.
SELinux is preventing /usr/lib/iscan/network from 'node_bind' accesses on the...
Status: CLOSED DUPLICATE of bug 756334
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i386 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2011-11-23 05:34 EST by Slawomir Czarko
Modified: 2011-11-23 12:07 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-11-23 12:07:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Slawomir Czarko 2011-11-23 05:34:25 EST
SELinux is preventing /usr/lib/iscan/network from 'node_bind' accesses on the tcp_socket port None.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that network should be allowed node_bind access on the port None tcp_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep network /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:colord_t:s0-s0:c0.c1023
Target Context                system_u:object_r:node_t:s0
Target Objects                port None [ tcp_socket ]
Source                        network
Source Path                   /usr/lib/iscan/network
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           iscan-network-nt-1.1.0-2
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-44.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) #1
                              SMP Fri Nov 11 21:43:42 UTC 2011 i686 i686
Alert Count                   2
First Seen                    Wed 23 Nov 2011 10:44:23 AM CET
Last Seen                     Wed 23 Nov 2011 10:47:58 AM CET
Local ID                      989eba1d-6346-4ed6-a04d-048f790a4919

Raw Audit Messages
type=AVC msg=audit(1322041678.109:22): avc:  denied  { node_bind } for  pid=1339 comm="network" saddr= scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:node_t:s0 tclass=tcp_socket

type=SYSCALL msg=audit(1322041678.109:22): arch=i386 syscall=socketcall success=yes exit=0 a0=2 a1=bfc09a00 a2=9eb8008 a3=bfc09a1c items=0 ppid=1326 pid=1339 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=network exe=/usr/lib/iscan/network subj=system_u:system_r:colord_t:s0-s0:c0.c1023 key=(null)

Hash: network,colord_t,node_t,tcp_socket,node_bind


#============= colord_t ==============
allow colord_t node_t:tcp_socket node_bind;

audit2allow -R

#============= colord_t ==============
allow colord_t node_t:tcp_socket node_bind;
Comment 1 Daniel Walsh 2011-11-23 12:07:49 EST

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

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