sudo: account validation failure after container save and restore on different user
- Vorherrschende Sprache
- Go
- Sterne
- 13k
- Forks
- 541
- Ø Merge
- 20 Std. 47 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
**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**
1. Create a container
2. Save it using the steps in https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#container-save-and-restore
3. 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
[podman-logs.txt](https://github.com/user-attachments/files/23637668/podman-logs.txt)
**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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.