Univention Bugzilla – Bug 56042
TypeError while setting UCR variable syslog/input/udp
Last modified: 2023-05-10 13:14:00 CEST
A customer reported the following error: ~# ucr set syslog/input/udp=514 Create syslog/input/udp File: /etc/rsyslog.conf Traceback (most recent call last): File "<stdin>", line 17, in <module> TypeError: %d format: a number is required, not str File: /etc/security/packetfilter.d/20_rsyslog.sh ~# ~# univention-app info UCS: 5.0-3 errata648 Installed: ucsschool=5.0 v3 Upgradable: ~#
Same error occurs when configuring the tcp port: root@ucsloghost:/var/log# ucr set syslog/input/tcp=10514 Setting syslog/input/tcp File: /etc/security/packetfilter.d/20_rsyslog.sh File: /etc/rsyslog.conf Traceback (most recent call last): File "<stdin>", line 17, in <module>
[5.0-3] a7d8615cd5 fix(base): Broken rsyslog UCR template base/univention-base-files/conffiles/etc/rsyslog.conf | 6 ++---- base/univention-base-files/debian/changelog | 6 ++++++ base/univention-base-files/debian/rules | 3 +++ base/univention-base-files/tests/rsyslog56042 | 14 ++++++++++++++ doc/errata/staging/univention-base-files.yaml | 11 +++++++++++ 5 files changed, 36 insertions(+), 4 deletions(-) https://git.knut.univention.de/univention/ucs/-/commit/a7d8615cd58568d355089c687e0db288eacaea96 Package: univention-base-files Version: 9.0.5-5A~5.0.0.202305051447 Branch: ucs_5.0-0 Scope: errata5.0-3 [5.0-3] e779761747 Bug #56042: univention-base-files 9.0.5-5A~5.0.0.202305051447 doc/errata/staging/univention-base-files.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
OK: Code review OK: Reproduction and manual tests OK: Tests OK: YAML
<https://errata.software-univention.de/#/?erratum=5.0x662>