On Tue, 13 Sep 2022, Tomas Kuchta wrote:

On Tue, Sep 13, 2022, 13:34 Paul Heinlein <heinl...@madboa.com> wrote:

Just an FYI:

At work, we use a puppet template to generate /etc/rsyslog.conf on all
our *nix machines. That template was failing on the first Ubuntu 22.04
host we tried to integrate with our puppet configs.

In short, certain directives that encountered two spaces between
directive and setting would fail, e.g.,

$FileOwner  syslog
$FileGroup  adm

Replacing the two spaces with a single space fixed the problem.

I scoured the changelogs but couldn't find evidence that this is an
intentional change.
.


Could this be UTF issue in rsyslog config parser/regexp?

I have been encountering strange invisible simple parsing issues recently.
If this is related, I usually resolve them by replacing [ \t] or \s or \S
with [[:space:]] patterns and it often helps.

I piped the offending lines through "od -a" and they were reported as standard "sp" spaces. If it's a UTF-8 issue, I can't see how I fixed it.

--
Paul Heinlein
heinl...@madboa.com
45°22'48" N, 122°35'36" W

Reply via email to