Skip to content

1.7.0

Compare
Choose a tag to compare
@89luca89 89luca89 released this 28 Feb 18:35
· 203 commits to main since this release
7ef5cfe

Highlight

  • added --enter-flags to distrobox-export to specify additional distrobox flags to use when entering
  • added --hostname flag to distrobox-create so you can choose a different hostname than the box name
  • added --unshare-groups to distrobox-create to allow unsharing user's additional groups inside the container
  • better login shell management
  • better systemd support for initful containers
  • fixed multiple bins and apps exports declaration in assemble
  • improved NVidia support
  • improved Wolfi container support
  • improved rootful containers support for exported graphical apps
  • improved terminfo support
  • new distrobox-export --list-apps and --list-binaries to show exported apps and binaries

⚠️ BE CAREFUL:⚠️ This release will BREAK EXPORTED APPS AND BINARIES ⚠️ BE CAREFUL:⚠️

To fix this, you can enter your container and do:

distrobox-export --list-binaries | tr -d " " | awk -F"|" '{print "distrobox-export --bin "$1 " --export-path $(dirname "$2")"}' | sh -

and

distrobox-export --list-apps | awk -F"|" '{print $1}' | sed 's/[ \t]*$//' | xargs -I{} distrobox-export --app "{}"

To re-export all the apps and bins for that container

What's Changed

New Contributors

Full Changelog: 1.6.0.1...1.7.0

all: Allow NixOS package maintainers to ship a static config file (#1080)
all: Bump default container image to Fedora 39 (#1134)
all: add DBX_VERBOSE env variable. Fix #1151
all: fix config loading when file doesn't exist
assemble: Use read instead of cat (#1147)
assemble: extract root flag to variable
assemble: fix Split multiple apps and bins by space (#1084)
assemble: fix export in rootful containers
assemble: fix export on rootful containers, Fix #1171
assemble: fix init_hooks regex for separator detection, Fix #1227
assemble: fix key regex, Fix #1228
completions: Added zsh completions (#1204)
completions: zsh - fixed issue with some arguments having invalid syntax (#1216)
create/enter: add unshare-groups flag, do proper su login only on usnhare-groups and initful containers. Fix #1208
create: Use $XDG_CACHE_HOME, keep cache files in $HOME/.cache/distrobox by default (#1082)
create: add --hostname argument and DBX_CONTAINER_HOSTNAME env var (#1214)
create: add host terminfo as a fallback (#1194)
create: add pid-limits=-1 to create, Fix #1183
create: check RHEL subscription files before mounting, Fix #1146
create: fix home-prefix not correctly detected, deduplicate code. Fix #1212
enter: ensure CONTAINER_ID is not inherited in case of nested distroboxes
enter: fix enter on fish shell, Fix #1210
enter: fix host/container PATH order, Fix #1145
enter: fix log reading leading to premature enter before pty/console is sorted on init systems
enter: fix login shell with initful containers
enter: ignore podman stderr logs during stage parsing
enter: pipe both stdout and stderr to fifo, Fix #610
enter: properly allocate pty container an do a proper login shell for the user, Fix #1150
enter: properly handle container stopping during first setup. Fix #1133
enter: simplify login command logic
ephemeral: fix sudo infinite loop on cleanup, Fix #1195
ephemeral: remove redundant stop
export/rm: correctly handle paths containing whitespace and quotes (#1102)
export: absolute path of exported icons should correspond to host's home, not from inside
export: add --enter-flags to distrobox-export (#1169)
export: add list-apps and list-binaries flags, to list exported stuff inside a container. Fix #1137
export: capture full container command when exporting app (#1170)
export: fix bug in filtering existing distrobox entries in export. Fix #1106
export: fix list-apps path search for custom home dirs, Fix #1226
export: fix spaces in arguments in graphical apps
export: support exporting graphical apps
extras: add podman-host and vscode-distrobox utilities
feat: add Containerfile to create a distrobox container, Fix #1021
fix: fixed assemble start_now option with root (#1074)
host-exec: add fallback for situations where XDG variables are not set
host-exec: flatpak needs to be launched without --pty
init: Add '--stdin' flag to 'passwd root' call if supported (#1221)
init: Fix --nvidia flag unreliably mounts libraries into /usr (#1128) (#1203)
init: Fix inability to enter Gentoo container after changing EMERGE_DEFAULT_OPTS (#1079)
init: Fix systemd/init container startup (#1069)
init: Implement support for Wolfi (#1192)
init: add cracklib-dicts to fedora-based OSes, Fix #1158
init: break down logging steps in smaller chunks
init: check files sums before copy for fix cp the same file error (#1219)
init: ensure Nvidia integration mounts respect locked mount flags, Fix #1123
init: ensure basic variables are properly sourced during logins
init: fix and solidify startup and user-integration in initful containers
init: fix devpts mounts permissions and group flags in order to mimic what happens on a real system
init: fix init and upgrade on older Debian and Centos
init: fix login on Alpine and Wolfi
init: fix skel permissions, Fix #1144, Fix #1081
init: improve logging steps
init: improve systemd user integrations (#1211)
init: make linger failable, linger is not always possible on some systems. #1211
init: prevent podman from logging stderr verbose output as priority 3 journald errors (#1223)
init: properly wait for systemd to start on initful systems
init: various fish fixes (#1186)
install: fix completions installation
install: fix zsh completion installation, Fix #1213
install: remove the extra / (#1218)
rm: Ignore nonexistent ~/.local/bin (#1073)
rm: be non-interactive if forcing
rm: fix container inspection, Fix #1168
rm: fix removal of rootful containers
rm: properly handle container export cleanup
rm: simplify cleanup logic, leaning on new list commands for export
upgrade: do not use login shell for upgrades