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] Wrong hostname for Debian on Fedora host #1406

Closed
slimhk45 opened this issue May 22, 2024 · 1 comment
Closed

[Error] Wrong hostname for Debian on Fedora host #1406

slimhk45 opened this issue May 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@slimhk45
Copy link

slimhk45 commented May 22, 2024

My host is Bluefin (a battery-included Fedora Silverblue distribution) and I use Distrobox 1.7.2.1.

I tried to create a Debian distrobox on my Bluefin host using this command:

distrobox create --image quay.io/toolbx-images/debian-toolbox:latest --name debian --home /var/home/user/Debian/ --nvidia

distrobox enter debian

and it returned the wrong hostname user@fedora instead of user@debian.

To solve this problem I need to enforce the hostname I want:

distrobox create --image quay.io/toolbx-images/debian-toolbox:latest --name debian --hostname debian --home /var/home/user/Debian/ --nvidia

Is it possible to enforce the hostname automatically for Debian distrobox on Fedora host? My problem is that I use BoxBuddy for managing my distroboxes and BoxBuddy is using the first command that doesn't enforce the hostname. Hence it is not possible to use BoxBuddy to create proper Debian distroboxes on Fedora host.

The BoxBuddy maintainer redirect me to you to do upstream change.

See here Dvlv/BoxBuddyRS#94

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

This is the new behaviour of distrobox as of version 1.7.2+

This is automatic as changing hostname will break startupwmclass on gnome/kde for exported apps

@89luca89 89luca89 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 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
Projects
None yet
Development

No branches or pull requests

2 participants