Hi. I installed Guix on WSL2 following this guide: Installing GuixSD on WSL2 - System Crafters.
However, after launching guix using the command
wsl -d guix --exec /bin/busybox sh -c "/root/boot.sh"
I am unable to run sudo or any command from /run/setuid-programs. It errors out as:
sh> sudo -s
sudo: effective uid is not 0, is /run/setuid-programs/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
Looks like WSL mounts /run with nosuid
sh> mount|grep run
none on /run type tmpfs (rw,nosuid,nodev,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,noatime)
none on /run/shm type tmpfs (rw,nosuid,nodev,noatime)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,noatime,mode=755)
Seeking help to fix this because I am unable to figure out a solution