From 97374dba716ee7954d9e267a312d2d3f50386fec Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 9 Aug 2024 11:22:55 +0200 Subject: [PATCH] don't change hostname, it doesn't work well for GUI apps under Gnome --- profiles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles.py b/profiles.py index 57dc010..d2d7841 100644 --- a/profiles.py +++ b/profiles.py @@ -7,7 +7,8 @@ DEFAULT = group( bwrap_flags("--unshare-user", "--unshare-pid", "--unshare-cgroup"), # A different hostname is useful to be able to see when we are inside the sandbox. # However, some applications will not like this unless the hostname also exists in `/etc/hosts`! - bwrap_flags("--unshare-uts", "--hostname", "bubblebox"), + # Also, gnome-shell doesn't display window icons properly when this is set. + #bwrap_flags("--unshare-uts", "--hostname", "bubblebox"), # Make sure the sandbox cannot inject commands into the host terminal. # TODO: This flag breaks some CLI applications, like job control in shells. # Consider using SECCOMP instead. -- 2.30.2