conmon icon indicating copy to clipboard operation
conmon copied to clipboard

[logging] multibyte-characters break input conversion

Open tobwen opened this issue 3 years ago • 2 comments

summary

Seems like multibyte-characters in TAG breaks input conversion.

What did I do?

podman run --name test1  --log-opt tag="äöüß" --rm --log-driver=journald busybox sh -c "echo 1;"

What did I get?

conmon: option parsing failed: Invalid byte sequence in conversion input
                                                                        Error: write child: broken pipe

What did I expect?

Either TAG accepts multi-byte cahracters or an error message like:

Error: container tag must match [a-zA-Z0-9][a-zA-Z0-9_.-]*: invalid argument

Which versions did I use?

  • podman version 3.2.0-dev (https://github.com/containers/podman/commit/b6167cedb2ba69a66646a94eb27c49bbbea88e15)
  • conmon version 2.0.30-dev (24c73c2abb3f220ebd97acf498b57c560ca26c04)

tobwen avatar Jun 07 '21 00:06 tobwen

interesting, this should have been fixed by https://github.com/containers/conmon/pull/215 and https://github.com/containers/podman/pull/8935 maybe podman regressed?

haircommander avatar Jun 07 '21 17:06 haircommander

Yes, seems like a regression. Still happening in the latest release.

tobwen avatar Jun 15 '21 14:06 tobwen