containers / conmon

An OCI container runtime monitor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multibyte-character username breaks input conversion

fadnincx opened this issue · comments

Summary

When the username contains a multibyte-character, no container can be started.

My setup

An Ubuntu 20.04 in enterprise environment, joined to an AD via SSSD so the usernames are taken from there and are out of our control.
Using a user who's name is stored as base64 in the AD because it contains multibyte-characters. (Users with just [a-zA-Z] are not affected).

What did I do

Just try to run any container such as

podman run -rm -it alpine

What did I get

conmon: option parsing failed: Invalid byte sequence in conversion input
                                                                        Error: exit status 1

What did I expect

That the container starts as it does using a User who's name contains just [a-zA-Z].

Which versions did I use

$ conmon --version
conmon version 2.1.6
commit: 158b5421dbac6bda96b1457955cf2e3c34af29bc

$ podman version
Client:       Podman Engine
Version:      4.4.1
API Version:  4.4.1
Go Version:   go1.20.1
Built:        Thu Jan  1 01:00:00 1970
OS/Arch:      linux/amd64

Additional

  • I don't know if this is related to #272

sorry for the delay here. I think the underlying reason is the same as #272 and as such I'm closing this. We can take investigation over there