Unable to start container if user is managed by Active Directory (contains @ "at" sign) #1022
Labels
1. Bug
Something isn't working
2. Container Configuration
Configuration of a container. Mounts, environmental variables, privileges.
2. Container Realm
The issue is related to what happens inside of a toolbox container
5. Help Wanted
Extra attention is needed
Describe the bug
If I try to enter a toolbox and my username contains '@', it fails with:
Error: invalid entry point PID of container test
If I try to attach with podman, the error is more obvious:
passwd: Libuser error at line: 210 - name contains invalid char `@'.
Error: failed to remove password for user [email protected]: failed to invoke passwd(1)
Steps how to reproduce the behaviour
Create a user with '@' in it.
toolbox create test
toolbox enter test
Expected behaviour
Entering the toolbox without error, at best.
Failing with a usefull message, at least.
Actual behaviour
Fails with a useless message.
I agree with #691 (comment) that debug info did not help at all.
Only trying with podman, after reading #691 (comment) did help.
Output of
toolbox --version
(v0.0.90+)toolbox version 0.0.99.3
Toolbox package info (
rpm -q toolbox
)toolbox-0.0.99.3-2.fc35.x86_64
Output of
podman version
e.g.,
Podman package info (
rpm -q podman
)podman-3.4.4-1.fc35.x86_64
Info about your OS
Fedora Silverblue 35
Additional context
My user is imported from ActiveDirectory, and thus is [email protected].
The text was updated successfully, but these errors were encountered: