=== modified file 'sbin/ns_run' --- sbin/ns_run 2020-12-18 04:36:34 +0000 +++ sbin/ns_run 2020-12-18 04:24:46 +0000 @@ -50,15 +50,15 @@ if { printf "%s\n" - "if { pivot_root . \${NS_TMPFS}/oldroot }" + "if { pivot_root . \$NS_TMPFS/oldroot }" } if { ns_umount_script.awk - -vROOT=/${NS_TMPFS}/oldroot - -vBIN=/${NS_TMPFS}/bin + -vROOT=/$NS_TMPFS/oldroot + -vBIN=/$NS_TMPFS/bin /proc/self/mountinfo } - if { printf "%s\n" "./${NS_TMPFS}/bin/busybox chpst -/ ." } + if { printf "%s\n" "./$NS_TMPFS/bin/busybox chpst -/ ." } # quote all the arguments we got for interpretation by execline forx -o 0 X { $@ } importas -i X X s6-quote -- $X } @@ -110,8 +110,8 @@ # mountpoint for privileged operations and pivot_root if { s6-mount -nwt tmpfs -o nosuid,nodev,mode=700 mnt_ns $NS_TMPFS } -if { mkdir ${NS_TMPFS}/oldroot ${NS_TMPFS}/bin } -#if { s6-hiercopy $NS_BIN ${NS_TMPFS}/bin } +if { mkdir $NS_TMPFS/oldroot $NS_TMPFS/bin } +#if { s6-hiercopy $NS_BIN $NS_TMPFS/bin } if { s6-mount -n -o bind,ro $NS_BIN ${NS_TMPFS}/bin } # container-specific setup provided in environment