Compare commits
No commits in common. "a631fae406b515a524774a3064969a0bfae981e5" and "edcfaef386495f1b9c62e8cce78478fd00ed9ce7" have entirely different histories.
a631fae406
...
edcfaef386
1 changed files with 0 additions and 6 deletions
|
@ -29,10 +29,6 @@ if [ -f "$config" ]; then
|
||||||
source "$config"
|
source "$config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Kill any previously running instances
|
|
||||||
# This could be due to, say, a broken libappindicator icon (because of broken dbus)
|
|
||||||
sudo -A machinectl kill $CONTAINER_NAME > /dev/null 2>&1
|
|
||||||
|
|
||||||
# Create a XDG_RUNTIME_DIR for guest on host
|
# Create a XDG_RUNTIME_DIR for guest on host
|
||||||
container_xdg_runtime="$(mktemp -d -p /var/tmp)"
|
container_xdg_runtime="$(mktemp -d -p /var/tmp)"
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
@ -79,8 +75,6 @@ if [ "$CONTAINER_USE_USERNS" = true ]; then
|
||||||
private_users=$(shuf -i 65536-$((2147483647 - 65536)) -n1) # Pick a random starting offset
|
private_users=$(shuf -i 65536-$((2147483647 - 65536)) -n1) # Pick a random starting offset
|
||||||
bind_opts="idmap"
|
bind_opts="idmap"
|
||||||
user_on_host=$((private_users + run_as))
|
user_on_host=$((private_users + run_as))
|
||||||
# TODO: DBus is broken inside a user namespace due to permission issues
|
|
||||||
# TODO: Fix this, somehow.
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Grant the user inside the container access to the Wayland / Xorg display
|
# Grant the user inside the container access to the Wayland / Xorg display
|
||||||
|
|
Loading…
Add table
Reference in a new issue