distrobox
distrobox copied to clipboard
sudo: account validation failure after container save and restore on different user
Describe the bug Following the instructions on https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#container-save-and-restore, if a user were to save a distrobox container, and then another user were to restore the container, the result would be a broken sudo.
To Reproduce
- Create a container
- Save it using the steps in https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#container-save-and-restore
- Restore the container with a different user
Expected behavior Sudo should be usable from within the container
Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag
Desktop (please complete the following information):
- Are you using podman, docker or lilipod? podman
- Which version or podman, docker or lilipod? podman 5.6.2
- Which version of distrobox? 1.8.2.1
- Which host distribution? openSUSE Tumbleweed
- How did you install distrobox? Through the Tumbleweed repos