context/unshare: mount proc after forking
Some checks failed
CI / build (push) Failing after 6m46s

This commit is contained in:
2026-01-09 23:36:27 +01:00
parent a444a5d8d2
commit 42e6165f78

View File

@@ -177,7 +177,6 @@ impl UnshareDriver {
cmd.arg("--map-user=65536")
.arg("--map-group=65536")
.arg("--mount-proc")
.arg("--pid")
.arg("--ipc")
.arg("--uts")
@@ -195,7 +194,7 @@ impl UnshareDriver {
}
cmd.arg("--").arg("bash").arg("-c").arg(format!(
"mount -t devpts devpts /dev/pts; mount --bind /dev/pts/ptmx /dev/ptmx; {} {}",
"mount -t proc proc /proc; mount -t devpts devpts /dev/pts; mount --bind /dev/pts/ptmx /dev/ptmx; {} {}",
program,
args.join(" ")
));