commit 0a13123bdaf6331fa70a4728d3477b5fcb79f426
parent 2b73f729dcff425ced5d73540c57701ba3a9d699
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Fri, 18 Dec 2020 06:32:56 +0100
Add IPv6 loopback address too and up the interface.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/service_scripts/xsession/run b/service_scripts/xsession/run
@@ -32,5 +32,7 @@ env
unshare -n # make new network namespace
if { ip addr add 127.0.0.1/24 dev lo }
+if { ip addr add ::1/128 dev lo }
+if { ip link set lo up }
/root/ns_run data/root /mnt/ns/bin/s6-applyuidgid -U /run/init