Univention Bugzilla – Full Text Bug Listing |
Summary: | rsyslog: Config error while activating TCP reception | ||
---|---|---|---|
Product: | UCS | Reporter: | Stefan Gohmann <gohmann> |
Component: | univention-base-files | Assignee: | UCS maintainers <ucs-maintainers> |
Status: | RESOLVED MOVED | QA Contact: | UCS maintainers <ucs-maintainers> |
Severity: | normal | ||
Priority: | P5 | CC: | hahn, jan.meier, peichert, stephan.hendl, thomas |
Version: | UCS 5.0 | Flags: | peichert:
Patch_Available+
|
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.051 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2023051021000407 | Bug group (optional): | |
Max CVSS v3 score: | |||
Bug Depends on: | 15728 | ||
Bug Blocks: |
Description
Stefan Gohmann
2023-05-11 13:53:09 CEST
Possible patch could look like this in the template file: root@ucs-logging:/etc/univention/templates/files/etc# diff -Nur rsyslog.conf.orig rsyslog.conf --- rsyslog.conf.orig 2023-08-19 06:27:41.658524868 +0200 +++ rsyslog.conf 2023-08-19 06:30:29.472823402 +0200 @@ -30,7 +30,7 @@ @!@ from os.path import exists -for (typ, cfg) in [('udp', 'UDP'), ('tcp', 'InputTCP'), ('relp', 'InputRELP')]: +for (typ, cfg) in [('udp', 'UDP'), ('tcp', 'TCP'), ('relp', 'RELP')]: print('# provides %s syslog reception' % (typ.upper(),)) mod = '/usr/lib/x86_64-linux-gnu/rsyslog/im%s.so' % (typ,) port = configRegistry.get('syslog/input/%s' % (typ,)) See for RELP: https://www.rsyslog.com/doc/v8-stable/configuration/modules/imrelp.html See for TCP: https://www.rsyslog.com/doc/v8-stable/configuration/modules/imtcp.html The instructions described in the forum are currently not working because of this bug https://help.univention.com/t/setup-central-syslog-server/6586 UCS 4.2 updates rsyslog from v5 to v8: https://univention-dist-binpkg-webgui.k8s.knut.univention.de/source/rsyslog/ The incompatible changes was introduced with rsyslog v6: https://rsyslog.readthedocs.io/en/latest/compatibility/v6compatibility.html#plugin-abi See MR for review comments. |