Project

General

Profile

Actions

Bug #4527

open

Disable ABRT for websockify

Added by Lukas Zapletal about 10 years ago. Updated about 10 years ago.

Status:
Assigned
Priority:
Low
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Every single request when a VNC port is occupied Foreman spawns websockify.py processes and throws PortInUse exceptions until one free port is found.

The problem is on RHEL6 ABRT for Python is turned on by default, which leads to flood of messages in syslog when ABRT tries to audit the exception:

Mar  3 16:23:06 foreman abrtd: New client connected
Mar  3 16:23:06 foreman abrtd: Directory 'pyhook-2014-03-03-16:23:06-7956' creation detected
Mar  3 16:23:06 foreman abrt-server[7961]: Saved Python crash dump of pid 7956 to /var/spool/abrt/pyhook-2014-03-03-16:23:06-7956
Mar  3 16:23:06 foreman abrtd: Package 'foreman' isn't signed with proper key
Mar  3 16:23:06 foreman abrtd: 'post-create' on '/var/spool/abrt/pyhook-2014-03-03-16:23:06-7956' exited with 1

We should fix this upstream or disable ABRT for this particular binary (dunno how?)

I am going to implement a workaround when SELinux is turned on - it will prevent to contact the ABRT server. It will not work for non-SELinux installation tho.


Related issues 2 (0 open2 closed)

Related to SELinux - Feature #4569: Policy for websockifyClosedLukas Zapletal03/06/2014Actions
Related to Foreman - Feature #10703: Randomize websockify portClosedLukas Zapletal06/04/2015Actions
Actions

Also available in: Atom PDF