mrrl-containers

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

commit b85ccc110b70790ed0f683c8a3624fdecbfce35d
parent 457ff9de9176975e8edf2e22f714e86ce330ca03
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Thu,  6 Aug 2026 00:19:10 +0000

Use s6-mount over mount

Diffstat:
Mzsh-functions/confz_site_containers_init | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/zsh-functions/confz_site_containers_init b/zsh-functions/confz_site_containers_init @@ -214,7 +214,8 @@ confz_site_containers_user_check() { local with_audio=prepare_el=${(F)el_mount_audio_devices} local -a el_mount_ccx_opt=( - 'if { mount -o bind,ro /home/ccx/opt ./opt }' + 'if { s6-mount -o bind,ro,nosuid,nodev /home/ccx/opt ./opt }' + 'if { s6-mount -o remount,bind,ro,nosuid,nodev _ ./opt }' ) local with_opt=prepare_el=${(F)el_mount_ccx_opt} @@ -374,7 +375,7 @@ confz_site_container_services_check() { 'importas -i GID GID' 'if { mknod -m 660 ./dev/rfkill c 10 242 }' 'if { chown 0:${GID} ./dev/rfkill }' - 'mount -t sysfs sysfs sys' + 'if { s6-mount -t sysfs sysfs sys }' ) local -a el_net_tun=( 'importas -i GID GID'