ITADN

[Error] distrobox-host-exec does not seem to work

#1992Openanir183 创建于 2026-01-31
bug
A
anir183commented
**Describe the bug** Using `distrobox-host-exec` from inside a container does not seem to work. **To Reproduce** * Create new distrobox container (`distrobox create --name test --image archlinux --home ~/testhome`) * Enter and try to run a host command via `distrobox-host-exec` **Expected behavior** Runs the host command and displays output. **Logs** * `distrobox-host-exec --verbose fastfetch` <details> <summary>open logs</summary> ``` + '[' '!' -f /run/.containerenv ']' + '[' -z fastfetch ']' ++ id -ru + '[' 1000 -ne 0 ']' + command -v sudo + sudo_command=sudo + command -v curl + download_command='curl -sLfo' ++ uname -m + architecture=x86_64 + echo x86_64 + grep -q armv + command -v host-spawn ++ sort -V +++ host-spawn --version ++ head -n 1 ++ printf '%s\n%s\n' v1.6.0 v1.6.0 + '[' v1.6.0 '!=' v1.6.0 ']' + '[' -z /run/user/1000 ']' + '[' -z unix:path=/run/user/1000/bus ']' + XDG_RUNTIME_DIR=/run/host//run/user/1000 ++ echo unix:path=/run/user/1000/bus ++ cut -d = -f2- + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/host//run/user/1000/bus ++ basename fastfetch + '[' fastfetch = xdg-open ']' ++ basename fastfetch + '[' fastfetch = gio ']' ++ basename fastfetch + '[' fastfetch = flatpak ']' + '[' '!' -t 1 ']' + tty + host-spawn fastfetch ``` </details> * `podman logs --latest` <details> <summary>open logs</summary> ``` Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing spirv-tools... installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme installing wayland... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing mtr... Optional dependencies for mtr bash-completion: bash completion support [installed] installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc libevent: libevent bindings [installed] nss-mdns: NSS support for mDNS [pending] python-dbus: avahi-bookmarks, avahi-discover python-gobject: avahi-bookmarks, avahi-discover python-twisted: avahi-bookmarks installing nss-mdns... installing pigz... installing xxhash... installing rsync... Optional dependencies for rsync python: for rrsync installing tcpdump... installing time... installing traceroute... installing tree... installing unzip... installing vte-common... installing libdisplay-info... installing vulkan-icd-loader... Optional dependencies for vulkan-icd-loader vulkan-driver: packaged vulkan driver [pending] installing vulkan-mesa-implicit-layers... installing xcb-util-keysyms... installing vulkan-intel... Optional dependencies for vulkan-intel vulkan-mesa-layers: additional vulkan layers installing vulkan-radeon... Optional dependencies for vulkan-radeon vulkan-mesa-layers: additional vulkan layers installing wget... Optional dependencies for wget ca-certificates: HTTPS downloads [installed] installing words... ==> Determining which 'words' file to use in /usr/share/dict ==> Setting 'words' link to /usr/share/dict/usa installing libice... installing libsm... installing libxt... installing libxmu... installing xorg-xauth... installing zip... :: Running post-transaction hooks... (1/9) Creating system user accounts... (2/9) Creating temporary files... (3/9) Reloading system manager configuration... (4/9) Reloading user manager configuration... (5/9) Arming ConditionNeedsUpdate... (6/9) Reloading system bus configuration... (7/9) Checking for old perl modules... (8/9) Distrobox hook /etc/distrobox-post-hook.sh... mount: /run/systemd/journal: mount point does not exist. dmesg(1) may have more information after failed mount system call. mount: /run/systemd/journal: mount point does not exist. dmesg(1) may have more information after failed mount system call. (9/9) Distrobox hook /usr/share/libalpm/scripts/distrobox_post_hook.sh... + '[' '!' -e /usr/share/i18n/localesen_US.UTF-8 ']' + pacman -S --noconfirm glibc glibc-locales warning: glibc-2.42+r51+gcbf39c26b258-2 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Package (2) Old Version New Version Net Change Download Size core/glibc 2.42+r51+gcbf39c26b258-2 2.42+r51+gcbf39c26b258-2 0.00 MiB core/glibc-locales 2.42+r51+gcbf39c26b258-2 221.79 MiB 11.76 MiB Total Download Size: 11.76 MiB Total Installed Size: 270.21 MiB Net Upgrade Size: 221.79 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... glibc-locales-2.42+r51+gcbf39c26b258-2-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Running pre-transaction hooks... (1/1) Distrobox hook /etc/distrobox-pre-hook.sh... :: Processing package changes... reinstalling glibc... Generating locales... Generation complete. installing glibc-locales... :: Running post-transaction hooks... (1/3) Arming ConditionNeedsUpdate... (2/3) Distrobox hook /etc/distrobox-post-hook.sh... mount: /run/systemd/journal: mount point does not exist. dmesg(1) may have more information after failed mount system call. mount: /run/systemd/journal: mount point does not exist. dmesg(1) may have more information after failed mount system call. (3/3) Distrobox hook /usr/share/libalpm/scripts/distrobox_post_hook.sh... + '[' '!' -e /usr/share/zoneinfo/UTC ']' + locale -a + grep -qi en_us.utf8 + locale -a ++ echo en_US.UTF-8 ++ tr -d - + grep -qi en_US.UTF8 + '[' -n '' ']' + '[' '!' -e /.containersetupdone ']' + check_missing_packages + dependencies=$'\n\t\tbc\n\t\tbzip2\n\t\tchpasswd\n\t\tcurl\n\t\tdiff\n\t\tfind\n\t\tfindmnt\n\t\tgpg\n\t\thostname\n\t\tless\n\t\tlsof\n\t\tman\n\t\tmount\n\t\tpasswd\n\t\tpigz\n\t\tpinentry\n\t\tping\n\t\tps\n\t\trsync\n\t\tscript\n\t\tssh\n\t\tsudo\n\t\ttime\n\t\ttree\n\t\tumount\n\t\tunzip\n\t\tuseradd\n\t\twc\n\t\twget\n\t\txauth\n\t\tzip\n\t\tzsh\n\t' + for dep in ${dependencies} + command -v bc /usr/sbin/bc + for dep in ${dependencies} + command -v bzip2 /usr/sbin/bzip2 + for dep in ${dependencies} + command -v chpasswd /usr/sbin/chpasswd + for dep in ${dependencies} + command -v curl /usr/sbin/curl + for dep in ${dependencies} + command -v diff /usr/sbin/diff + for dep in ${dependencies} + command -v find /usr/sbin/find + for dep in ${dependencies} + command -v findmnt /usr/sbin/findmnt + for dep in ${dependencies} + command -v gpg /usr/sbin/gpg + for dep in ${dependencies} + command -v hostname /usr/sbin/hostname + for dep in ${dependencies} + command -v less /usr/sbin/less + for dep in ${dependencies} + command -v lsof /usr/sbin/lsof + for dep in ${dependencies} + command -v man /usr/sbin/man + for dep in ${dependencies} + command -v mount /usr/sbin/mount + for dep in ${dependencies} + command -v passwd /usr/sbin/passwd + for dep in ${dependencies} + command -v pigz /usr/sbin/pigz + for dep in ${dependencies} + command -v pinentry /usr/sbin/pinentry + for dep in ${dependencies} + command -v ping /usr/sbin/ping + for dep in ${dependencies} + command -v ps /usr/sbin/ps + for dep in ${dependencies} + command -v rsync /usr/sbin/rsync + for dep in ${dependencies} + command -v script /usr/sbin/script + for dep in ${dependencies} + command -v ssh /usr/sbin/ssh + for dep in ${dependencies} + command -v sudo /usr/sbin/sudo + for dep in ${dependencies} + command -v time time + for dep in ${dependencies} + command -v tree /usr/sbin/tree + for dep in ${dependencies} + command -v umount /usr/sbin/umount + for dep in ${dependencies} + command -v unzip /usr/sbin/unzip + for dep in ${dependencies} + command -v useradd /usr/sbin/useradd + for dep in ${dependencies} + command -v wc /usr/sbin/wc + for dep in ${dependencies} + command -v wget /usr/sbin/wget + for dep in ${dependencies} + command -v xauth /usr/sbin/xauth + for dep in ${dependencies} + command -v zip /usr/sbin/zip + for dep in ${dependencies} + command -v zsh /usr/sbin/zsh + return 0 + touch /.containersetupdone ++ command -v zsh + SHELL=/usr/sbin/zsh + /usr/bin/distrobox-host-exec -Y test + : + '[' 0 -eq 0 ']' + command -v xdg-open + mkdir -p /usr/local/bin/ + ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open + command -v flatpak + ln -sf /usr/bin/distrobox-host-exec /usr/bin/flatpak + su --version + grep -q util-linux + su --version + sort --check=quiet --version-sort + awk '{printf "%s\n%s", $4, 2.34}' + printf 'distrobox: Setting up devpts mounts...\n' distrobox: Setting up devpts mounts... + grep -q tty /etc/group + mount -t devpts devpts -o noexec,nosuid,newinstance,ptmxmode=0666,mode=0620,gid=tty /dev/pts/ + mount --bind /dev/pts/ptmx /dev/ptmx + mount --make-rshared / + printf 'distrobox: Setting up read-only mounts...\n' distrobox: Setting up read-only mounts... + for host_mount_ro in ${HOST_MOUNTS_RO} ++ get_locked_mount_flags /run/host/etc/localtime ++ src=/run/host/etc/localtime ++ prev= ++ locked_flags= ++ command -v findmnt ++ ls /run/host/etc/localtime ++ true +++ findmnt --noheadings --output OPTIONS --target /run/host/etc/localtime �++ flags=rw,relatime,lowerdir=/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4:/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4/../diff1:/home/anir183/.local/share/containers/storage/overlay/l/G34SHUDHRNO4STEVLWBFPYJAQT:/home/anir183/.local/share/containers/storage/overlay/l/DHSHY7HIFN6DQSDE5OQGY7NBEA,upperdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/diff,workdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/work,redirect_dir=nofollow,index=off,metacopy=off,userxattr �++ '[' -n rw,relatime,lowerdir=/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4:/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4/../diff1:/home/anir183/.local/share/containers/storage/overlay/l/G34SHUDHRNO4STEVLWBFPYJAQT:/home/anir183/.local/share/containers/storage/overlay/l/DHSHY7HIFN6DQSDE5OQGY7NBEA,upperdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/diff,workdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/work,redirect_dir=nofollow,index=off,metacopy=off,userxattr ']' ++ break ++ for flag in nodev noexec nosuid �++ printf %s rw,relatime,lowerdir=/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4:/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4/../diff1:/home/anir183/.local/share/containers/storage/overlay/l/G34SHUDHRNO4STEVLWBFPYJAQT:/home/anir183/.local/share/containers/storage/overlay/l/DHSHY7HIFN6DQSDE5OQGY7NBEA,upperdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/diff,workdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/work,redirect_dir=nofollow,index=off,metacopy=off,userxattr ++ grep -q nodev ++ for flag in nodev noexec nosuid ++ grep -q noexec �++ printf %s rw,relatime,lowerdir=/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4:/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4/../diff1:/home/anir183/.local/share/containers/storage/overlay/l/G34SHUDHRNO4STEVLWBFPYJAQT:/home/anir183/.local/share/containers/storage/overlay/l/DHSHY7HIFN6DQSDE5OQGY7NBEA,upperdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/diff,workdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/work,redirect_dir=nofollow,index=off,metacopy=off,userxattr ++ for flag in nodev noexec nosuid �++ printf %s rw,relatime,lowerdir=/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4:/home/anir183/.local/share/containers/storage/overlay/l/IPMFKOHN7RU6O3FZISSOYOCDU4/../diff1:/home/anir183/.local/share/containers/storage/overlay/l/G34SHUDHRNO4STEVLWBFPYJAQT:/home/anir183/.local/share/containers/storage/overlay/l/DHSHY7HIFN6DQSDE5OQGY7NBEA,upperdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/diff,workdir=/home/anir183/.local/share/containers/storage/overlay/82cfee6cd2fe983dcc5956f9bbd08a2db26e936d5d293889ef0c4ba72dd4f2eb/work,redirect_dir=nofollow,index=off,metacopy=off,userxattr ++ grep -q nosuid ++ printf %s '' + locked_flags= + mount_bind /run/host/etc/localtime /etc/localtime ro + source_dir=/run/host/etc/localtime + target_dir=/etc/localtime + mount_flags= + '[' 3 -gt 2 ']' + mount_flags=ro + '[' -L /run/host/etc/localtime ']' ++ init_readlink /run/host/etc/localtime ++ ls -l /run/host/etc/localtime ++ grep -Eo '\->.*' ++ cut '-d ' -f2- ++ sed 's|\.\./|/|g' + source_dir=/usr/share/zoneinfo/Asia/Kolkata + printf %s /usr/share/zoneinfo/Asia/Kolkata + grep -q /run/host + source_dir=/run/host/usr/share/zoneinfo/Asia/Kolkata + '[' '!' -d /run/host/usr/share/zoneinfo/Asia/Kolkata ']' + '[' '!' -f /run/host/usr/share/zoneinfo/Asia/Kolkata ']' + '[' -e /etc/localtime ']' + findmnt /etc/localtime + umount /etc/localtime + '[' -L /etc/localtime ']' + '[' -d /run/host/usr/share/zoneinfo/Asia/Kolkata ']' + '[' -f /run/host/usr/share/zoneinfo/Asia/Kolkata ']' ++ dirname /etc/localtime + '[' '!' -d /etc ']' + touch /etc/localtime + '[' ro = '' ']' + mount --rbind -o ro /run/host/usr/share/zoneinfo/Asia/Kolkata /etc/localtime + return 0 + for host_mount_ro in ${HOST_MOUNTS_RO} ++ get_locked_mount_flags /run/host/var/lib/systemd/coredump ++ src=/run/host/var/lib/systemd/coredump ++ prev= ++ locked_flags= ++ command -v findmnt ++ ls /run/host/var/lib/systemd/coredump ++ true +++ findmnt --noheadings --output OPTIONS --target /run/host/var/lib/systemd/coredump ++ flags=rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ '[' -n rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ']' ++ break ++ for flag in nodev noexec nosuid ++ printf %s rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ grep -q nodev ++ for flag in nodev noexec nosuid ++ printf %s rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ grep -q noexec ++ for flag in nodev noexec nosuid ++ printf %s rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ grep -q nosuid ++ printf %s '' + locked_flags= + mount_bind /run/host/var/lib/systemd/coredump /var/lib/systemd/coredump ro + source_dir=/run/host/var/lib/systemd/coredump + target_dir=/var/lib/systemd/coredump + mount_flags= + '[' 3 -gt 2 ']' + mount_flags=ro + '[' -L /run/host/var/lib/systemd/coredump ']' + '[' '!' -d /run/host/var/lib/systemd/coredump ']' + '[' -e /var/lib/systemd/coredump ']' + findmnt /var/lib/systemd/coredump + umount /var/lib/systemd/coredump + '[' -L /var/lib/systemd/coredump ']' + '[' -d /run/host/var/lib/systemd/coredump ']' + mkdir -p /var/lib/systemd/coredump + '[' ro = '' ']' + mount --rbind -o ro /run/host/var/lib/systemd/coredump /var/lib/systemd/coredump + return 0 + for host_mount_ro in ${HOST_MOUNTS_RO} ++ get_locked_mount_flags /run/host/var/log/journal ++ src=/run/host/var/log/journal ++ prev= ++ locked_flags= ++ command -v findmnt ++ ls /run/host/var/log/journal ++ true +++ findmnt --noheadings --output OPTIONS --target /run/host/var/log/journal ++ flags=rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ '[' -n rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ']' ++ break ++ for flag in nodev noexec nosuid ++ printf %s rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ grep -q nodev ++ for flag in nodev noexec nosuid ++ printf %s rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ grep -q noexec ++ for flag in nodev noexec nosuid ++ printf %s rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ ++ grep -q nosuid ++ printf %s '' + locked_flags= + mount_bind /run/host/var/log/journal /var/log/journal ro + source_dir=/run/host/var/log/journal + target_dir=/var/log/journal + mount_flags= + '[' 3 -gt 2 ']' + mount_flags=ro + '[' -L /run/host/var/log/journal ']' + '[' '!' -d /run/host/var/log/journal ']' + '[' -e /var/log/journal ']' + findmnt /var/log/journal + umount /var/log/journal + '[' -L /var/log/journal ']' + '[' -d /run/host/var/log/journal ']' + mkdir -p /var/log/journal + '[' ro = '' ']' + mount --rbind -o ro /run/host/var/log/journal /var/log/journal + return 0 + printf 'distrobox: Setting up read-write mounts...\n' distrobox: Setting up read-write mounts... + '[' -e /var/home/anir183 ']' + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/etc/host.conf /etc/host.conf + source_dir=/run/host/etc/host.conf + target_dir=/etc/host.conf + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/etc/host.conf ']' + '[' '!' -d /run/host/etc/host.conf ']' + '[' '!' -f /run/host/etc/host.conf ']' + '[' -e /etc/host.conf ']' + findmnt /etc/host.conf + '[' -L /etc/host.conf ']' + '[' -d /run/host/etc/host.conf ']' + '[' -f /run/host/etc/host.conf ']' ++ dirname /etc/host.conf + '[' '!' -d /etc ']' + touch /etc/host.conf + '[' '' = '' ']' + mount --rbind /run/host/etc/host.conf /etc/host.conf + mount --make-rslave /etc/host.conf + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/etc/machine-id /etc/machine-id + source_dir=/run/host/etc/machine-id + target_dir=/etc/machine-id + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/etc/machine-id ']' + '[' '!' -d /run/host/etc/machine-id ']' + '[' '!' -f /run/host/etc/machine-id ']' + '[' -e /etc/machine-id ']' + '[' -L /etc/machine-id ']' + '[' -d /run/host/etc/machine-id ']' + '[' -f /run/host/etc/machine-id ']' ++ dirname /etc/machine-id + '[' '!' -d /etc ']' + touch /etc/machine-id + '[' '' = '' ']' + mount --rbind /run/host/etc/machine-id /etc/machine-id + mount --make-rslave /etc/machine-id + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/media /media + source_dir=/run/host/media + target_dir=/media + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/media ']' + '[' '!' -d /run/host/media ']' + '[' '!' -f /run/host/media ']' + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/mnt /mnt + source_dir=/run/host/mnt + target_dir=/mnt + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/mnt ']' + '[' '!' -d /run/host/mnt ']' + '[' -e /mnt ']' + findmnt /mnt + '[' -L /mnt ']' + '[' -d /run/host/mnt ']' + mkdir -p /mnt + '[' '' = '' ']' + mount --rbind /run/host/mnt /mnt + mount --make-rslave /mnt + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/libvirt /run/libvirt + source_dir=/run/host/run/libvirt + target_dir=/run/libvirt + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/libvirt ']' + '[' '!' -d /run/host/run/libvirt ']' + '[' '!' -f /run/host/run/libvirt ']' + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/media /run/media + source_dir=/run/host/run/media + target_dir=/run/media + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/media ']' + '[' '!' -d /run/host/run/media ']' + '[' -e /run/media ']' + '[' -L /run/media ']' + '[' -d /run/host/run/media ']' + mkdir -p /run/media + '[' '' = '' ']' + mount --rbind /run/host/run/media /run/media + mount --make-rslave /run/media + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/netconfig/ /run/netconfig/ + source_dir=/run/host/run/netconfig/ + target_dir=/run/netconfig/ + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/netconfig/ ']' + '[' '!' -d /run/host/run/netconfig/ ']' + '[' '!' -f /run/host/run/netconfig/ ']' + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/systemd/journal /run/systemd/journal + source_dir=/run/host/run/systemd/journal + target_dir=/run/systemd/journal + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/systemd/journal ']' + '[' '!' -d /run/host/run/systemd/journal ']' + '[' -e /run/systemd/journal ']' + '[' -L /run/systemd/journal ']' + '[' -d /run/host/run/systemd/journal ']' + mkdir -p /run/systemd/journal + '[' '' = '' ']' + mount --rbind /run/host/run/systemd/journal /run/systemd/journal + mount --make-rslave /run/systemd/journal + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/systemd/resolve/ /run/systemd/resolve/ + source_dir=/run/host/run/systemd/resolve/ + target_dir=/run/systemd/resolve/ + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/systemd/resolve/ ']' + '[' '!' -d /run/host/run/systemd/resolve/ ']' + '[' '!' -f /run/host/run/systemd/resolve/ ']' + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/systemd/seats /run/systemd/seats + source_dir=/run/host/run/systemd/seats + target_dir=/run/systemd/seats + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/systemd/seats ']' + '[' '!' -d /run/host/run/systemd/seats ']' + '[' -e /run/systemd/seats ']' + findmnt /run/systemd/seats + umount /run/systemd/seats + '[' -L /run/systemd/seats ']' + '[' -d /run/host/run/systemd/seats ']' + mkdir -p /run/systemd/seats + '[' '' = '' ']' + mount --rbind /run/host/run/systemd/seats /run/systemd/seats + mount --make-rslave /run/systemd/seats + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/systemd/sessions /run/systemd/sessions + source_dir=/run/host/run/systemd/sessions + target_dir=/run/systemd/sessions + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/systemd/sessions ']' + '[' '!' -d /run/host/run/systemd/sessions ']' + '[' -e /run/systemd/sessions ']' + findmnt /run/systemd/sessions + umount /run/systemd/sessions + '[' -L /run/systemd/sessions ']' + '[' -d /run/host/run/systemd/sessions ']' + mkdir -p /run/systemd/sessions + '[' '' = '' ']' + mount --rbind /run/host/run/systemd/sessions /run/systemd/sessions + mount --make-rslave /run/systemd/sessions + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/systemd/users /run/systemd/users + source_dir=/run/host/run/systemd/users + target_dir=/run/systemd/users + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/systemd/users ']' + '[' '!' -d /run/host/run/systemd/users ']' + '[' -e /run/systemd/users ']' + findmnt /run/systemd/users + umount /run/systemd/users + '[' -L /run/systemd/users ']' + '[' -d /run/host/run/systemd/users ']' + mkdir -p /run/systemd/users + '[' '' = '' ']' + mount --rbind /run/host/run/systemd/users /run/systemd/users + mount --make-rslave /run/systemd/users + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/run/udev /run/udev + source_dir=/run/host/run/udev + target_dir=/run/udev + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/run/udev ']' + '[' '!' -d /run/host/run/udev ']' + '[' -e /run/udev ']' + '[' -L /run/udev ']' + '[' -d /run/host/run/udev ']' + mkdir -p /run/udev + '[' '' = '' ']' + mount --rbind /run/host/run/udev /run/udev + mount --make-rslave /run/udev + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/var/lib/libvirt /var/lib/libvirt + source_dir=/run/host/var/lib/libvirt + target_dir=/var/lib/libvirt + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/var/lib/libvirt ']' + '[' '!' -d /run/host/var/lib/libvirt ']' + '[' '!' -f /run/host/var/lib/libvirt ']' + return 0 + for host_mount in ${HOST_MOUNTS} + mount_bind /run/host/var/mnt /var/mnt + source_dir=/run/host/var/mnt + target_dir=/var/mnt + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/var/mnt ']' + '[' '!' -d /run/host/var/mnt ']' + '[' '!' -f /run/host/var/mnt ']' + return 0 + printf 'distrobox: Setting up host'\''s sockets integration...\n' distrobox: Setting up host's sockets integration... ++ find /run/host/run -path /run/host/run/media -prune -o -path /run/host/run/timeshift -prune -o -name user -prune -o -name bees -prune -o -name nscd -prune -o -name schroot -prune -o -name system_bus_socket -prune -o -name io.systemd.Multiplexer -prune -o -name io.systemd.DropIn -prune -o -name io.systemd.NameServiceSwitch -prune -o -type s -print ++ : �+ host_sockets=$'/run/host/run/greetd-1114.sock\n/run/host/run/ssh-unix-local/socket\n/run/host/run/polkit/agent-helper.socket\n/run/host/run/udev/io.systemd.Udev\n/run/host/run/udev/control\n/run/host/run/systemd/machine/io.systemd.MachineImage\n/run/host/run/systemd/machine/io.systemd.Machine\n/run/host/run/systemd/io.systemd.Login\n/run/host/run/systemd/io.systemd.Hostname\n/run/host/run/systemd/io.systemd.sysext\n/run/host/run/systemd/io.systemd.BootControl\n/run/host/run/systemd/io.systemd.Import\n/run/host/run/systemd/io.systemd.Repart\n/run/host/run/systemd/io.systemd.MuteConsole\n/run/host/run/systemd/io.systemd.FactoryReset\n/run/host/run/systemd/io.systemd.Credentials\n/run/host/run/systemd/coredump\n/run/host/run/systemd/io.systemd.AskPassword\n/run/host/run/systemd/io.systemd.Manager\n/run/host/run/systemd/io.systemd.ManagedOOM\n/run/host/run/systemd/private\n/run/host/run/systemd/journal/io.systemd.journal\n/run/host/run/systemd/journal/stdout\n/run/host/run/systemd/journal/socket\n/run/host/run/systemd/journal/dev-log\n/run/host/run/systemd/userdb/io.systemd.DynamicUser\n/run/host/run/systemd/notify\n/run/host/run/systemd/inaccessible/sock' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/greetd-1114.sock ++ sed 's|/run/host||g' + container_socket=/run/greetd-1114.sock + '[' '!' -S /run/greetd-1114.sock ']' + '[' '!' -L /run/greetd-1114.sock ']' + rm -f /run/greetd-1114.sock ++ dirname /run/greetd-1114.sock + mkdir -p /run + ln -s /run/host/run/greetd-1114.sock /run/greetd-1114.sock + for host_socket in ${host_sockets} ++ printf %s /run/host/run/ssh-unix-local/socket ++ sed 's|/run/host||g' + container_socket=/run/ssh-unix-local/socket + '[' '!' -S /run/ssh-unix-local/socket ']' + '[' '!' -L /run/ssh-unix-local/socket ']' + rm -f /run/ssh-unix-local/socket ++ dirname /run/ssh-unix-local/socket + mkdir -p /run/ssh-unix-local + ln -s /run/host/run/ssh-unix-local/socket /run/ssh-unix-local/socket + for host_socket in ${host_sockets} ++ printf %s /run/host/run/polkit/agent-helper.socket ++ sed 's|/run/host||g' + container_socket=/run/polkit/agent-helper.socket + '[' '!' -S /run/polkit/agent-helper.socket ']' + '[' '!' -L /run/polkit/agent-helper.socket ']' + rm -f /run/polkit/agent-helper.socket ++ dirname /run/polkit/agent-helper.socket + mkdir -p /run/polkit + ln -s /run/host/run/polkit/agent-helper.socket /run/polkit/agent-helper.socket + for host_socket in ${host_sockets} ++ printf %s /run/host/run/udev/io.systemd.Udev ++ sed 's|/run/host||g' + container_socket=/run/udev/io.systemd.Udev + '[' '!' -S /run/udev/io.systemd.Udev ']' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/udev/control ++ sed 's|/run/host||g' + container_socket=/run/udev/control + '[' '!' -S /run/udev/control ']' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/machine/io.systemd.MachineImage ++ sed 's|/run/host||g' + container_socket=/run/systemd/machine/io.systemd.MachineImage + '[' '!' -S /run/systemd/machine/io.systemd.MachineImage ']' + '[' '!' -L /run/systemd/machine/io.systemd.MachineImage ']' + rm -f /run/systemd/machine/io.systemd.MachineImage ++ dirname /run/systemd/machine/io.systemd.MachineImage + mkdir -p /run/systemd/machine + ln -s /run/host/run/systemd/machine/io.systemd.MachineImage /run/systemd/machine/io.systemd.MachineImage + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/machine/io.systemd.Machine ++ sed 's|/run/host||g' + container_socket=/run/systemd/machine/io.systemd.Machine + '[' '!' -S /run/systemd/machine/io.systemd.Machine ']' + '[' '!' -L /run/systemd/machine/io.systemd.Machine ']' + rm -f /run/systemd/machine/io.systemd.Machine ++ dirname /run/systemd/machine/io.systemd.Machine + mkdir -p /run/systemd/machine + ln -s /run/host/run/systemd/machine/io.systemd.Machine /run/systemd/machine/io.systemd.Machine + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.Login ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.Login + '[' '!' -S /run/systemd/io.systemd.Login ']' + '[' '!' -L /run/systemd/io.systemd.Login ']' + rm -f /run/systemd/io.systemd.Login ++ dirname /run/systemd/io.systemd.Login + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.Login /run/systemd/io.systemd.Login + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.Hostname ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.Hostname + '[' '!' -S /run/systemd/io.systemd.Hostname ']' + '[' '!' -L /run/systemd/io.systemd.Hostname ']' + rm -f /run/systemd/io.systemd.Hostname ++ dirname /run/systemd/io.systemd.Hostname + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.Hostname /run/systemd/io.systemd.Hostname + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.sysext ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.sysext + '[' '!' -S /run/systemd/io.systemd.sysext ']' + '[' '!' -L /run/systemd/io.systemd.sysext ']' + rm -f /run/systemd/io.systemd.sysext ++ dirname /run/systemd/io.systemd.sysext + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.sysext /run/systemd/io.systemd.sysext + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.BootControl ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.BootControl + '[' '!' -S /run/systemd/io.systemd.BootControl ']' + '[' '!' -L /run/systemd/io.systemd.BootControl ']' + rm -f /run/systemd/io.systemd.BootControl ++ dirname /run/systemd/io.systemd.BootControl + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.BootControl /run/systemd/io.systemd.BootControl + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.Import ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.Import + '[' '!' -S /run/systemd/io.systemd.Import ']' + '[' '!' -L /run/systemd/io.systemd.Import ']' + rm -f /run/systemd/io.systemd.Import ++ dirname /run/systemd/io.systemd.Import + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.Import /run/systemd/io.systemd.Import + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.Repart ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.Repart + '[' '!' -S /run/systemd/io.systemd.Repart ']' + '[' '!' -L /run/systemd/io.systemd.Repart ']' + rm -f /run/systemd/io.systemd.Repart ++ dirname /run/systemd/io.systemd.Repart + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.Repart /run/systemd/io.systemd.Repart + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.MuteConsole ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.MuteConsole + '[' '!' -S /run/systemd/io.systemd.MuteConsole ']' + '[' '!' -L /run/systemd/io.systemd.MuteConsole ']' + rm -f /run/systemd/io.systemd.MuteConsole ++ dirname /run/systemd/io.systemd.MuteConsole + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.MuteConsole /run/systemd/io.systemd.MuteConsole + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.FactoryReset ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.FactoryReset + '[' '!' -S /run/systemd/io.systemd.FactoryReset ']' + '[' '!' -L /run/systemd/io.systemd.FactoryReset ']' + rm -f /run/systemd/io.systemd.FactoryReset ++ dirname /run/systemd/io.systemd.FactoryReset + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.FactoryReset /run/systemd/io.systemd.FactoryReset + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.Credentials ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.Credentials + '[' '!' -S /run/systemd/io.systemd.Credentials ']' + '[' '!' -L /run/systemd/io.systemd.Credentials ']' + rm -f /run/systemd/io.systemd.Credentials ++ dirname /run/systemd/io.systemd.Credentials + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.Credentials /run/systemd/io.systemd.Credentials + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/coredump ++ sed 's|/run/host||g' + container_socket=/run/systemd/coredump + '[' '!' -S /run/systemd/coredump ']' + '[' '!' -L /run/systemd/coredump ']' + rm -f /run/systemd/coredump ++ dirname /run/systemd/coredump + mkdir -p /run/systemd + ln -s /run/host/run/systemd/coredump /run/systemd/coredump + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.AskPassword ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.AskPassword + '[' '!' -S /run/systemd/io.systemd.AskPassword ']' + '[' '!' -L /run/systemd/io.systemd.AskPassword ']' + rm -f /run/systemd/io.systemd.AskPassword ++ dirname /run/systemd/io.systemd.AskPassword + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.AskPassword /run/systemd/io.systemd.AskPassword + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.Manager ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.Manager + '[' '!' -S /run/systemd/io.systemd.Manager ']' + '[' '!' -L /run/systemd/io.systemd.Manager ']' + rm -f /run/systemd/io.systemd.Manager ++ dirname /run/systemd/io.systemd.Manager + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.Manager /run/systemd/io.systemd.Manager + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/io.systemd.ManagedOOM ++ sed 's|/run/host||g' + container_socket=/run/systemd/io.systemd.ManagedOOM + '[' '!' -S /run/systemd/io.systemd.ManagedOOM ']' + '[' '!' -L /run/systemd/io.systemd.ManagedOOM ']' + rm -f /run/systemd/io.systemd.ManagedOOM ++ dirname /run/systemd/io.systemd.ManagedOOM + mkdir -p /run/systemd + ln -s /run/host/run/systemd/io.systemd.ManagedOOM /run/systemd/io.systemd.ManagedOOM + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/private ++ sed 's|/run/host||g' + container_socket=/run/systemd/private + '[' '!' -S /run/systemd/private ']' + '[' '!' -L /run/systemd/private ']' + rm -f /run/systemd/private ++ dirname /run/systemd/private + mkdir -p /run/systemd + ln -s /run/host/run/systemd/private /run/systemd/private + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/journal/io.systemd.journal ++ sed 's|/run/host||g' + container_socket=/run/systemd/journal/io.systemd.journal + '[' '!' -S /run/systemd/journal/io.systemd.journal ']' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/journal/stdout ++ sed 's|/run/host||g' + container_socket=/run/systemd/journal/stdout + '[' '!' -S /run/systemd/journal/stdout ']' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/journal/socket ++ sed 's|/run/host||g' + container_socket=/run/systemd/journal/socket + '[' '!' -S /run/systemd/journal/socket ']' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/journal/dev-log ++ sed 's|/run/host||g' + container_socket=/run/systemd/journal/dev-log + '[' '!' -S /run/systemd/journal/dev-log ']' + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/userdb/io.systemd.DynamicUser ++ sed 's|/run/host||g' + container_socket=/run/systemd/userdb/io.systemd.DynamicUser + '[' '!' -S /run/systemd/userdb/io.systemd.DynamicUser ']' + '[' '!' -L /run/systemd/userdb/io.systemd.DynamicUser ']' + rm -f /run/systemd/userdb/io.systemd.DynamicUser ++ dirname /run/systemd/userdb/io.systemd.DynamicUser + mkdir -p /run/systemd/userdb + ln -s /run/host/run/systemd/userdb/io.systemd.DynamicUser /run/systemd/userdb/io.systemd.DynamicUser + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/notify ++ sed 's|/run/host||g' + container_socket=/run/systemd/notify + '[' '!' -S /run/systemd/notify ']' + '[' '!' -L /run/systemd/notify ']' + rm -f /run/systemd/notify ++ dirname /run/systemd/notify + mkdir -p /run/systemd + ln -s /run/host/run/systemd/notify /run/systemd/notify + for host_socket in ${host_sockets} ++ printf %s /run/host/run/systemd/inaccessible/sock ++ sed 's|/run/host||g' + container_socket=/run/systemd/inaccessible/sock + '[' '!' -S /run/systemd/inaccessible/sock ']' + '[' '!' -L /run/systemd/inaccessible/sock ']' + rm -f /run/systemd/inaccessible/sock ++ dirname /run/systemd/inaccessible/sock + mkdir -p /run/systemd/inaccessible + ln -s /run/host/run/systemd/inaccessible/sock /run/systemd/inaccessible/sock + '[' 0 -eq 1 ']' + printf 'distrobox: Integrating host'\''s themes, icons, fonts...\n' distrobox: Integrating host's themes, icons, fonts... + mount_bind /run/host/usr/share/themes /usr/local/share/themes + source_dir=/run/host/usr/share/themes + target_dir=/usr/local/share/themes + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/usr/share/themes ']' + '[' '!' -d /run/host/usr/share/themes ']' + '[' -e /usr/local/share/themes ']' + '[' -L /usr/local/share/themes ']' + '[' -d /run/host/usr/share/themes ']' + mkdir -p /usr/local/share/themes + '[' '' = '' ']' + mount --rbind /run/host/usr/share/themes /usr/local/share/themes + mount --make-rslave /usr/local/share/themes + return 0 + mount_bind /run/host/usr/share/icons /usr/local/share/icons + source_dir=/run/host/usr/share/icons + target_dir=/usr/local/share/icons + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/usr/share/icons ']' + '[' '!' -d /run/host/usr/share/icons ']' + '[' -e /usr/local/share/icons ']' + '[' -L /usr/local/share/icons ']' + '[' -d /run/host/usr/share/icons ']' + mkdir -p /usr/local/share/icons + '[' '' = '' ']' + mount --rbind /run/host/usr/share/icons /usr/local/share/icons + mount --make-rslave /usr/local/share/icons + return 0 + mount_bind /run/host/usr/share/fonts /usr/local/share/fonts + source_dir=/run/host/usr/share/fonts + target_dir=/usr/local/share/fonts + mount_flags= + '[' 2 -gt 2 ']' + '[' -L /run/host/usr/share/fonts ']' + '[' '!' -d /run/host/usr/share/fonts ']' + '[' -e /usr/local/share/fonts ']' + '[' -L /usr/local/share/fonts ']' + '[' -d /run/host/usr/share/fonts ']' + mkdir -p /usr/local/share/fonts + '[' '' = '' ']' + mount --rbind /run/host/usr/share/fonts /usr/local/share/fonts + mount --make-rslave /usr/local/share/fonts + return 0 + printf 'distrobox: Setting up distrobox profile...\n' distrobox: Setting up distrobox profile... + touch /run/.toolboxenv + '[' '!' -d /etc/profile.d ']' + cat + '[' -e /etc/fish/config.fish ']' + printf 'distrobox: Setting up sudo...\n' distrobox: Setting up sudo... + mkdir -p /etc/sudoers.d + '[' -e /etc/sudoers ']' + sed -i 's|^Defaults targetpw.*||g' /etc/sudoers + cat + '[' -e /etc/doas.conf ']' + command -v doas + '[' '!' -e /etc/pam.d/su ']' + grep -q pam_systemd.so /etc/pam.d/su + printf %s '-session optional pam_systemd.so' + '[' 1000 -ne 0 ']' + '[' 0 -eq 0 ']' + printf '"%s" ALL = (root) NOPASSWD:ALL\n' anir183 + '[' -e /etc/doas.conf ']' + grep -q '^anir183:' /etc/group + '[' -d /run/host/var/kerberos ']' + printf 'distrobox: Setting up user'\''s group list...\n' distrobox: Setting up user's group list... + additional_groups= + grep -q '^sudo' /etc/group + grep -q '^wheel' /etc/group + additional_groups=wheel + '[' 0 -eq 1 ']' ++ printf %s anir183 ++ tr '\\' . + grep -q '^anir183:' /etc/passwd + '[' '!' -e /etc/passwd.done ']' ++ printf %s anir183 ++ tr '\\' . + grep -q '^anir183:' /etc/passwd + printf 'distrobox: Setting up existing user...\n' distrobox: Setting up existing user... + usermod --home /home/anir183/.envs/test --shell /usr/sbin/zsh --groups wheel --gid 1000 anir183 + '[' anir183 '!=' anir183 ']' ++ getent passwd anir183 ++ cut -d: -f3 + '[' 1000 '!=' 1000 ']' ++ getent passwd anir183 ++ cut -d: -f6 + '[' /home/anir183/.envs/test '!=' /home/anir183/.envs/test ']' + '[' '!' -e /etc/passwd.done ']' + printf 'distrobox: Ensuring user'\''s access...\n' distrobox: Ensuring user's access... ++ md5sum ++ cut '-d ' -f1 + temporary_password=4d1da88fe08ab1ddd75c051c453760c0 + chpasswd_failed=0 + chpasswd + printf %s:%s anir183 4d1da88fe08ab1ddd75c051c453760c0 + passwd -d anir183 passwd: password changed. + '[' 0 -eq 1 ']' + '[' 0 -eq 0 ']' + passwd_cmd=passwd + passwd --help + grep -q -- --stdin + passwd_cmd='passwd --stdin' + printf '%s\n%s\n' 4d1da88fe08ab1ddd75c051c453760c0 4d1da88fe08ab1ddd75c051c453760c0 + passwd --stdin root + passwd -d root passwd: password changed. + '[' 0 -eq 1 ']' + touch /etc/passwd.done + '[' -n /home/anir183 ']' + '[' -d /etc/skel ']' + printf 'distrobox: Setting up skel...\n' distrobox: Setting up skel... ++ find /etc/skel/ -type f + skel_files=$'/etc/skel/.bash_logout\n/etc/skel/.bash_profile\n/etc/skel/.bashrc' + for skel_file in ${skel_files} ++ basename /etc/skel/.bash_logout + base_file_name=.bash_logout ++ dirname /etc/skel/.bash_logout + skel_file_path=/etc/skel + file_path_for_home= + '[' -n '' ']' + '[' '!' -f /home/anir183/.envs/test/.bash_logout ']' + '[' '!' -L /home/anir183/.envs/test/.bash_logout ']' + cp /etc/skel/.bash_logout /home/anir183/.envs/test/.bash_logout + chown 1000:1000 /home/anir183/.envs/test/.bash_logout + for skel_file in ${skel_files} ++ basename /etc/skel/.bash_profile + base_file_name=.bash_profile ++ dirname /etc/skel/.bash_profile + skel_file_path=/etc/skel + file_path_for_home= + '[' -n '' ']' + '[' '!' -f /home/anir183/.envs/test/.bash_profile ']' + '[' '!' -L /home/anir183/.envs/test/.bash_profile ']' + cp /etc/skel/.bash_profile /home/anir183/.envs/test/.bash_profile + chown 1000:1000 /home/anir183/.envs/test/.bash_profile + for skel_file in ${skel_files} ++ basename /etc/skel/.bashrc + base_file_name=.bashrc ++ dirname /etc/skel/.bashrc + skel_file_path=/etc/skel + file_path_for_home= + '[' -n '' ']' + '[' '!' -f /home/anir183/.envs/test/.bashrc ']' + '[' '!' -L /home/anir183/.envs/test/.bashrc ']' + cp /etc/skel/.bashrc /home/anir183/.envs/test/.bashrc + chown 1000:1000 /home/anir183/.envs/test/.bashrc + '[' -n '' ']' + HOST_WATCH=$'\n\t/etc/hostname\n\t/etc/hosts\n\t/etc/localtime\n\t/etc/resolv.conf\n' + id=test + '[' -e /run/.containerenv ']' + . /run/.containerenv ++ engine=podman-5.7.1 ++ name=test ++ id=ce547b02f3f1e0820bb94a8b099ebb43e102ba181c20f1f9d5a2694c542275c5 ++ image=docker.io/library/archlinux:latest ++ imageid=565265df54812b4519894e6d690dd2b19d5d1fefc81e8bb325e4ccc2fb729c60 ++ rootless=1 ++ graphRootMounted=1 + '[' 0 -eq 0 ']' + printf 'container_setup_done\n' container_setup_done + set +x ``` </details> **Desktop:** - Using Podman 5.7.1 - Using Distrobox 1.8.2.3 - Flatpak 1.16.3 available on host 1.16.3 - `host-spawn` version inside container 1.6.0 - Host: Arch Linux - Distrobox Installed via `paru -S distrobox` **Additional context** * Found #1198 and checked the thread throughly * Flatpak is installed * Flatpak helper service and `flatpak-spawn` works fine * No problems with D-Bus * I have two laptops, say Device 1 and Device 2 with identical setups (arch + niri + zsh). Device 1 has Distrobox Version 1.8.2.2 installed while Device 2 (which is a fresh arch machine) has the latest Distrobox Version 1.8.2.3 Noticed that `distrobox-host-exec` worked on Device 1 but not Device 2. Upgraded Device 1 from 1.8.2.2 to 1.8.2.3. `distrobox-host-exec` stopped working on Device 1 (even on already existing containers). * I tried reinstalling podman and distrobox a couple times and got `distrobox-host-exec` to work once and only once. Could not reproduce.
5 条评论