Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Distrobox container created it’s own password, can’t use sudo. #1371

Open
calvincorrieri opened this issue May 4, 2024 · 3 comments
Labels
bug Something isn't working wait-on-user waiting for a reply

Comments

@calvincorrieri
Copy link

calvincorrieri commented May 4, 2024

Describe the bug

I created and attempted to enter a container. I got an error during the “installing basic packages” step. I attempt to enter the container again, and It works but gives an error “there was a problem setting up the user
Warning: trying manual addition“
It appears that a password was set without asking me due to this error. I am unable to use sudo since I don’t know the password.

terminal output: https://pastebin.com/t8KNQ90T

To Reproduce

Idk just create a container on SteamOS I guess?

Expected behavior

Be prompted to create a password instead of having an unknown one created without my permission. Not having this error in general.

*Logs

https://pastebin.com/4tYSvwTu

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod?
    Podman
  • Which version or podman, docker or lilipod?
    Newest as of today
  • Which version of distrobox?
    Newest as of today
  • Which host distribution?
  • If that means operating system, then SteamOS
  • How did you install distrobox?
    With curl in $HOME

Additional context

I am not a programmer or anything like that, I’m sorry if this report isn’t up to snuff. I did my best. I just wanted to run a python application that won’t play nice with SteamOS

@calvincorrieri calvincorrieri added the bug Something isn't working label May 4, 2024
@89luca89
Copy link
Owner

89luca89 commented May 4, 2024

Hi @calvincorrieri

can you post here the commands you executed?
so I can know a bit more, as right now the report is lacking all info

@calvincorrieri
Copy link
Author

The commands I executed to install distrobox:

‘curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix $HOME’

The commands I executed to create the container:

distrobox create -i ubuntu compile_box
distrobox enter compile_box

Is this what you mean? @89luca89

@89luca89
Copy link
Owner

89luca89 commented May 6, 2024

got it thanks

I see that there is a problem setting up the user (popped up in the logs)
Can you try with another container image just to see if this is an ubuntu-specific issue?

@89luca89 89luca89 added the wait-on-user waiting for a reply label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wait-on-user waiting for a reply
Projects
None yet
Development

No branches or pull requests

2 participants