Mailing List Archive

Problem with imrelp module, rsyslog 8.2302
Hi everyone,

I'm trying to put rsyslog into a docker container with the imrelp module.
Setup is quite easy:

rsyslog_docker_global/03-modules.conf:2:module(load="imrelp")
rsyslog_docker_lin/rsyslog.d/11-input-tcp.conf:1:input(type="imrelp"
port="2514" maxDataSize="10k" keepAlive="on")

Unfortunately, there are no logs, but service looks fine. Logger is working
with UDP (imudp module) but not in imrelp tcp. When I tried the ptcp
module, logging worked fine.

Setup:
Ubuntu - 22.04 LTS, 5.15.0-56-generic
docker version
Client: Docker Engine - Community
Version: 23.0.1
API version: 1.42
Go version: go1.19.5
Git commit: a5ee5b1
Built: Thu Feb 9 19:47:01 2023
OS/Arch: linux/amd64
Context: default

Server: Docker Engine - Community
Engine:
Version: 23.0.1
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: bc3805a
Built: Thu Feb 9 19:47:01 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.18
GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0

rsyslog - 8.2302
rsyslog-relp - 8.2302
librelp0 - 1.11.0

When I try to connect to imrelp with telnet and close the session, I
receive this error:

syslog.err rsyslogd: imrelp[2514]: error 'server closed relp session,
session broken', object 'lstn 2514: conn to clt 127.0.0.1/localhost' -
input may not work as intended [v8.2302.0 try https://www.rsyslog.com/e/2353
]

Test on debian 10 server outside of docker, with same imrelp setup, but
older rsyslog package (v8.1901.0) had the same issue.


When I ran rsyslog in debug mode, nothing unusual showed up.
(/usr/sbin/rsyslogd -i /var/run/syslog.pid -f /etc/rsyslog.conf -dn)


Is there something that I'm missing on this basic setup ?

Thank you for any advice

Best regards,

Tomas Bekecs
<https://www.rsyslog.com/e/2353>
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.