Distrobox mounts some shell scripts from host's /usr/bin to the guest containers /usr/bin. Some distributions like alpine linux are not linking /bin to /usr/bin. In those distribution, shell scripts that starts with /usr/bin/sh can not execute. This is already solved in the distrobox spec file for the following scripts: - /usr/bin/distrobox-export - /usr/bin/distrobox-init This issue is about adding /usr/bin/distrobox-host-exec to the list. Related distrobox issues: - https://github.com/89luca89/distrobox/issues/626 - https://github.com/89luca89/distrobox/issues/127 Reproducible: Always Steps to Reproduce: 1. distrobox create --image alpine tst 2. distrobox enter tst 3. distrobox-host-exec echo "hello" Actual Results: $ distrobox-host-exec echo "hello" bash: /usr/bin/distrobox-host-exec: cannot execute: required file not found Expected Results: $ distrobox-host-exec echo "hello" hello Replacing `#!/usr/bin/sh` with `#!/bin/sh` at the top of /usr/bin/distrobox-host-exec solves the issue.
FEDORA-2024-4e8edfc51d (distrobox-1.7.1-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-4e8edfc51d
FEDORA-2024-8bc20a8711 (distrobox-1.7.1-2.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8bc20a8711
FEDORA-EPEL-2024-a3fef77779 (distrobox-1.7.1-2.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-a3fef77779
FEDORA-EPEL-2024-e0e8dbadbe (distrobox-1.7.1-2.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-e0e8dbadbe
FEDORA-2024-4e8edfc51d has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4e8edfc51d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4e8edfc51d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-74538ba691 (distrobox-1.7.1-2.fc38) has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-74538ba691
FEDORA-2024-8bc20a8711 (distrobox-1.7.1-2.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-a3fef77779 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-a3fef77779 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-e0e8dbadbe has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-e0e8dbadbe See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-74538ba691 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-74538ba691` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-74538ba691 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-e0e8dbadbe (distrobox-1.7.1-2.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-a3fef77779 (distrobox-1.7.1-2.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-74538ba691 (distrobox-1.7.1-2.fc38) has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-4e8edfc51d (distrobox-1.7.1-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.