vmspawn: Drop --sandbox=chroot from virtiofsd command line

It's unclear why I added this in fd05c6c759,
but it breaks bind mounting regular directories via --bind,
so drop it again since it's not actually required to make virtiofsd
work with the foreign UID range.
This commit is contained in:
Daan De Meyer
2026-03-24 11:21:02 +00:00
committed by Luca Boccassi
parent 7aa94251fe
commit da580dc161
-1
View File
@@ -1558,7 +1558,6 @@ static int start_virtiofsd(
"--shared-dir", source_uid == FOREIGN_UID_MIN ? "/run/systemd/mount-rootfs" : directory,
"--xattr",
"--fd", sockstr,
"--sandbox=chroot",
"--no-announce-submounts");
if (!argv)
return log_oom();