Bug 1293125 - SELinux is preventing beam.smp from 'listen' accesses on the tcp_socket port None.
SELinux is preventing beam.smp from 'listen' accesses on the tcp_socket port ...
Status: CLOSED DUPLICATE of bug 1293123
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-12-20 08:32 EST by autarch princeps
Modified: 2016-01-04 06:31 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-01-04 06:31:59 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 autarch princeps 2015-12-20 08:32:52 EST
Description of problem:
SELinux is preventing beam.smp from 'listen' accesses on the tcp_socket port None.

*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************

If sie folgendes tun möchten: allow nis to enabled
Then sie müssen SELinux darüber benachrichtigen, indem Sie die 	boolesche Variable »nis_enabled« aktivieren.
Für weitere Einzelheiten, können Sie die »None« man-Seiten konsultieren.
setsebool -P nis_enabled 1

*****  Plugin catchall (11.6 confidence) suggests   **************************

If sie denken, dass es beam.smp standardmässig erlaubt sein sollte, listen Zugriff auf port None tcp_socket zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep beam.smp /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:logrotate_t:s0-s0:c0.c1023
Target Context                system_u:system_r:logrotate_t:s0-s0:c0.c1023
Target Objects                port None [ tcp_socket ]
Source                        beam.smp
Source Path                   beam.smp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-157.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.2.7-300.fc23.x86_64 #1 SMP Wed
                              Dec 9 22:28:30 UTC 2015 x86_64 x86_64
Alert Count                   3
First Seen                    2015-12-04 14:14:04 CET
Last Seen                     2015-12-20 14:27:02 CET
Local ID                      4336b44c-1912-4085-bad3-730486e116a6

Raw Audit Messages
type=AVC msg=audit(1450618022.551:787): avc:  denied  { listen } for  pid=13647 comm="beam.smp" lport=41463 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tclass=tcp_socket permissive=1

Hash: beam.smp,logrotate_t,logrotate_t,tcp_socket,listen

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.2.7-300.fc23.x86_64
type:           libreport
Comment 1 Lukas Vrabec 2016-01-04 06:31:59 EST

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

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