mrrl-containers

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

commit f43b2bf0b8b3335d4eaac4ddd04103e85e75cd50
parent d9e4c02ee4bfb5b11aec8822b1d64356b96caf73
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 18 Dec 2020 05:24:46 +0100

Prevent s6-quote from interpretting quoted args as options.
Diffstat:
Msbin/ns_run | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbin/ns_run b/sbin/ns_run @@ -22,7 +22,7 @@ # import variables from environment, with defaults multisubstitute { - importas -D mnt/ns NS_TMPFS NS_TMPFS + importas -D mnt/ns NS_TMPFS NS_TMPFS importas -D /mnt/volumes/containers/bin NS_BIN NS_BIN importas -D /mnt/chroot NS_ROOT NS_ROOT } @@ -60,7 +60,7 @@ backtick -i NS_FINAL_SCRIPT { } 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 + forx -o 0 X { $@ } importas -i X X s6-quote -- $X } # mount and enter the chroot directory