mrrl-containers

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

commit 4e95277d8604661534867ed3f8fffba241cc9a1f
parent 490abf87cbf15d95ea3cddb2df5b1bdafe8e9760
Author: ccx <ccx@te2000.cz>
Date:   Sat, 20 Apr 2024 13:39:29 +0000

Specify source for s6-mount -o remount

Diffstat:
Mzsh-functions/confz_containers_init | 4++--
Mzsh-functions/confz_site_containers_init | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init @@ -413,7 +413,7 @@ confz_container_service_ephemeral_check() { dst_el=\"${${dst//\\/\\\\}//\"/\\\"}\" pid1_el_lines+=( "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el }" - "if { s6-mount -o remount,$rw,nodev,nosuid $dst_el }" + "if { s6-mount -o remount,$rw,nodev,nosuid . $dst_el }" ) done @@ -508,7 +508,7 @@ confz_container_service_generic_check() { dst_el=\"${${dst//\\/\\\\}//\"/\\\"}\" pid1_el_lines+=( "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el }" - "if { s6-mount -o remount,$rw,nodev,nosuid $dst_el }" + "if { s6-mount -o remount,$rw,nodev,nosuid . $dst_el }" ) done diff --git a/zsh-functions/confz_site_containers_init b/zsh-functions/confz_site_containers_init @@ -35,7 +35,7 @@ confz_site_containers_usersvc_simple_check() { pid1_el_lines+=( "if { mkdir -p $dst_el }" "if { s6-mount -r -o bind,nodev,nosuid $src_el $dst_el }" - "if { s6-mount -o remount,ro,nodev,nosuid $dst_el }" + "if { s6-mount -o remount,ro,nodev,nosuid . $dst_el }" ) done fi @@ -51,7 +51,7 @@ confz_site_containers_usersvc_simple_check() { pid1_el_lines+=( "if { mkdir -p $dst_el }" "if { s6-mount -r -o bind,nodev,nosuid $src_el $dst_el }" - "if { s6-mount -o remount,rw,nodev,nosuid $dst_el }" + "if { s6-mount -o remount,rw,nodev,nosuid . $dst_el }" ) done fi