From d657a3ae763e0a82dc00bbc80c0b6b64a748cede Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 22 Jun 2024 23:10:56 +0200 Subject: unschroot: allow device access --- examples/unschroot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/unschroot.py b/examples/unschroot.py index 7ad0bed..3d1c900 100755 --- a/examples/unschroot.py +++ b/examples/unschroot.py @@ -243,7 +243,7 @@ def do_run_session(args: argparse.Namespace) -> None: os.setuid(0) linuxnamespaces.bind_mount(".", "/mnt", recursive=True) os.chdir("/mnt") - linuxnamespaces.populate_sys("/", ".", ns) + linuxnamespaces.populate_sys("/", ".", ns, devices=True) linuxnamespaces.populate_proc("/", ".", ns) linuxnamespaces.populate_dev( "/", ".", tun=bool(ns & linuxnamespaces.CloneFlags.NEWNET) -- cgit v1.2.3