mrrl-containers

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

commit cf146194285c6cbd7700583620d9f9404738fea3
parent dd7ff569ca85ad042ecd726727078322ccbbf428
Author: ccx <ccx@te2000.cz>
Date:   Sat, 15 Jun 2024 19:37:20 +0000

Set numeric fd limit, error out when setting fails

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

diff --git a/zsh-functions/confz_site_containers_init b/zsh-functions/confz_site_containers_init @@ -173,8 +173,8 @@ confz_site_containers_user_check() { local in_netns=pid1_el=${(F)el_netns} local -a exec_softlimit_fd=( - "#!$(which zsh)" - 'ulimit -H -n unlimited' + "#!$(which zsh) -e" + 'ulimit -H -n 16384' 'exec "$@"' )