xiwrap

slightly higher-level container setup utility
git clone https://git.ce9e.org/xiwrap.git

commit
3284e247f9f93416f28bf56232a5a6e3198ce097
parent
ad9051d92bd2d34b0eca7b5cf5a60de9b006ce55
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-09-14 13:12
use ro-bind for xdg-dbus-proxy environment

Diffstat

M xiwrap.py 5 +++--

1 files changed, 3 insertions, 2 deletions


diff --git a/xiwrap.py b/xiwrap.py

@@ -106,8 +106,9 @@ class DBusProxy:
  106   106         wrapper.push_rule('tmpfs', '/tmp')
  107   107         wrapper.push_rule('dev', '/dev')
  108   108         wrapper.push_rule('proc', '/proc')
  109    -1         for path in ['/bin', '/lib', '/lib64', '/usr', '/etc', '/run']:
  110    -1             wrapper.push_rule('bind', path)
   -1   109         wrapper.push_rule('bind', '/run')
   -1   110         for path in ['/bin', '/lib', '/lib64', '/usr', '/etc']:
   -1   111             wrapper.push_rule('ro-bind-try', path)
  111   112         if app_id:
  112   113             wrapper.push_rule('app-id', app_id)
  113   114