toolbox: Sudo does not work in Fedora 34

Describe the bug Sudo commands fails with sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

Steps how to reproduce the behaviour

toolbox create --distro fedora --release 34
toolbox enter --release 34
sudo

Expected behaviour sudo works

Actual behaviour sudo outputs sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

Output of toolbox --version (v0.0.90+) toolbox version 0.0.99.1

Toolbox package info (rpm -q toolbox) toolbox-0.0.99.1-1.fc34.x86_64

Output of podman version

Version:      3.1.0
API Version:  3.1.0
Go Version:   go1.16
Built:        Tue Mar 30 15:29:36 2021
OS/Arch:      linux/amd64

Podman package info (rpm -q podman) podman-3.1.0-1.fc34.x86_64

Info about your OS Fedora Silverblue 34

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

I’ve started with an empty ~/.local/share/containers and recreated the F35 toolbox container (and downloaded the image) and things are working.