Introduced in #1932 as part of an effort to speed up the distrobox
start. Erroring is too much, we noticed a lot of errors in the CI that
were actually skippable, so removing the newly introduced error is an
attempt to ease the pain on that side.
Only install base packages and additional packages
at the first `distrobox enter`. The caveat is
that if the installation fails the distrobox
container is not created.
Add a check to not use su with --pty on su version
before 2.34 because a buggy implementation witch
cause control characters to be printed on the screen.
Also not use su implementation other from util-linux.
Closes#1830
When podman runs a container that prints stdout with no input, this is
appended to the return of the generate_create_command output, resulting
in an invalid command
The usage documentation was unclear about how distrobox-host-exec behaves
when it is not given an argument and when it is called via a symlink.
This commit adds some text and examples to clarify things.
Do not pass io.systemd.Multiplexer, and its symlinks, from host to container.
Systemd, inside the container, used this socket to query for user information
from the host, setting the $HOME from the host.
Currently distrobox will reserve all subuids/subgids available.
This has the unfortunate effect of blocking other containers from running
that require their own set of subuids/subgids.
podman has added a feature that lets us restrict the amount of
subuids/subgids we request. If available, set the amount to 65536 which
is the standard amount needed for a typical Linux single container.
Disable this by setting DBX_USERNS_NOLIMIT=1.
Signed-off-by: Jookia <contact@jookia.org>
* completion/bash: remove autocomplete of "version" and "help" subcommands
Before this change, "distrobox version" and distrobox "help" would
autocomplete with container names. Now it does not autocomplete as
those commands don't accept any parameter.
* completion/bash: complete "--home" option with absolute path
Before this change, "distrobox create --home" would expand
to "distrobox create --home myDir" which the distrobox command would
fail because the "home" option expects a absolute path. Now it would
expand the path with "/home/myUser/myDir"
* Add Hyprland setup instructions to Distrobox guide
Added instructions for running the latest Hyprland session in Distrobox, including container creation and environment variable setup. I did not add any images, as I am unsure if they are needed.
* fixed lint issues
* Update link to include Hyprland in documentation
This fixes minute long start-up hangs when using distrobox on a host
that has active schroot mounts.
Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>