mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 41f54cc133bf6228375c02c7dc0e3a73e47e2cd2
parent ac43c10d1ec1e8f7ee2f5b7ead2dbe12de7216ba
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Thu, 11 Feb 2021 17:33:14 +0000

Clean superfluous execline variables from environment.
Diffstat:
Mservice_scripts/generic/run | 1+
Mservice_scripts/xsession/run | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/service_scripts/generic/run b/service_scripts/generic/run @@ -30,6 +30,7 @@ env # Put UID/GID/GIDLIST into environment for use by s6-applyuidgid below s6-envuidgid ${CONTAINER_USER} +emptyenv -c ns_run data/root /mnt/ns/bin/s6-applyuidgid -U env HOME=${CONTAINER_USER_HOME} diff --git a/service_scripts/xsession/run b/service_scripts/xsession/run @@ -36,6 +36,7 @@ if { ip addr add 127.0.0.1/8 dev lo } if { ip addr add ::1/128 dev lo } if { ip link set lo up } +emptyenv -c /root/ns_run data/root /mnt/ns/bin/s6-applyuidgid -U env HOME=${CONTAINER_USER_HOME}