Skip to content

[Error] Prompted to enter the (root) password twice for exported applications when root=true (or --root) #1725

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

Open
JeanLuX opened this issue Apr 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@JeanLuX
Copy link

JeanLuX commented Apr 12, 2025

Describe the bug
I've noticed that when I export a program into a root Distrobox, I'm prompted to enter the (root) password twice.
I understand being asked once, but the second time feels unnecessary and kind of annoying.

Image

To Reproduce

Create one distrobox with root=true option (distrobox.ini):

[container]
name=test
image=quay.io/toolbx/ubuntu-toolbox:24.04
root=true
init=true
additional_packages=systemd
volume=~/.local/linuxbrew:/home/linuxbrew

distrobox assemble create

Generated desktop file by 'distrobox-export --app codium'

Expected behavior
The root password should only be requested once.

Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag

Desktop:

  • Podman 5.4.2
  • Distrobox 1.8.1.2
  • Fedora Linux 41 Kinoite | KDE Plasma 6.3.4 | Linux kernel: 6.13.10-200.fc41.x86_64 | OSTree v41.20250411.0
  • Distrobox installed with rpm-ostree install distrobox
@JeanLuX JeanLuX added the bug Something isn't working label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant