On 6/28/26 17:23, Ken Sharp wrote:
>> root@Noble:/# sudo ls
> You're already running as root.
> 
> $ schroot -c testing-arm64 -- sudo
> sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 
> 'nosuid' option set or an NFS file system without root privileges?

Hello Ken,

chmod u+s /usr/bin/qemu-aarch64-static

fixes the problem for me. But for security reasons this looks like a bad
idea.

Best regards

Heinrich

** Changed in: qemu (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158567

Title:
  sudo fails in a foreign chroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2158567/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to