From da580dc1613592064dafe2fbae229a90f65986b8 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 23 Mar 2026 21:58:28 +0100 Subject: [PATCH] vmspawn: Drop --sandbox=chroot from virtiofsd command line It's unclear why I added this in fd05c6c7593c5e36864d8784df91b878bbf991ab, 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. --- src/vmspawn/vmspawn.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vmspawn/vmspawn.c b/src/vmspawn/vmspawn.c index cacfc15f7e..c114693d91 100644 --- a/src/vmspawn/vmspawn.c +++ b/src/vmspawn/vmspawn.c @@ -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();