Bug 55234 - rsyslog.conf Traceback: str vs. %d
rsyslog.conf Traceback: str vs. %d
Status: NEW
Product: UCS
Classification: Unclassified
Component: General
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-29 16:39 CEST by Philipp Hahn
Modified: 2022-09-29 16:39 CEST (History)
0 users

See Also:
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?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2022-09-29 16:39:31 CEST
# ucr set syslog/input/relp=-1

Create syslog/input/relp
W: Value -1 incompatible with type portnumber of syslog/input/relp, but set anyway
File: /etc/rsyslog.conf
Traceback (most recent call last):
  File "<stdin>", line 20, in <module>
TypeError: %d format: a number is required, not str


sed -e '44s/%d/%s/' -i /etc/univention/templates/files/etc/rsyslog.conf