Revert "{facts,vars}/generator: also setup /proc"

This reverts commit 943f836997a54f8b0d40665b555034b8ac5a5da4.

This currently fails in nix sandbox builds... figure this out later.
This commit is contained in:
Jörg Thalheim
2024-10-29 13:39:16 +01:00
parent 5feb248e8f
commit 825fb1b6d6
2 changed files with 0 additions and 2 deletions

View File

@@ -49,7 +49,6 @@ def bubblewrap_cmd(generator: str, facts_dir: Path, secrets_dir: Path) -> list[s
"--ro-bind", "/nix/store", "/nix/store",
"--tmpfs", "/usr/lib/systemd",
"--dev", "/dev",
"--proc", "/proc",
"--bind", str(facts_dir), str(facts_dir),
"--bind", str(secrets_dir), str(secrets_dir),
"--unshare-all",

View File

@@ -41,7 +41,6 @@ def bubblewrap_cmd(generator: str, tmpdir: Path) -> list[str]:
"--ro-bind", "/nix/store", "/nix/store",
"--tmpfs", "/usr/lib/systemd",
"--dev", "/dev",
"--proc", "/proc",
"--bind", str(tmpdir), str(tmpdir),
"--unshare-all",
"--unshare-user",