summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/unschroot.py2
1 files changed, 1 insertions, 1 deletions
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)