=== modified file 'zsh-functions/confz_site_containers_init' --- old/zsh-functions/confz_site_containers_init 2022-05-24 14:07:05 +0000 +++ new/zsh-functions/confz_site_containers_init 2022-05-24 14:04:21 +0000 @@ -2,11 +2,9 @@ confz_site_containers_user_check() { checkvars containers_dir svscan_dir user - local display container bind bind_dir bindroot uid gid + local display container bind bind_dir bindroot local -a fstab bind=$'\tnone\tbind,nosuid,nodev\t0 0' - uid="${${(s.:.)"$(getent passwd $vars[user])"}[3]}" \ - gid="${${(s.:.)"$(getent group $vars[user])"}[3]}" \ for display in 5 6 7 8; do require container_service_xsession \ @@ -41,9 +39,9 @@ # bind-mounts for alpine-recombee bindroot=$vars[containers_dir]/user/$vars[user]/alpine-recombee/root require fs_d filename=/home/$vars[user]/git - require fs_o filename=/home/$vars[user]/git owner=$uid:$gid + require fs_o filename=/home/$vars[user]/git owner=$vars[user] require fs_d filename=/home/$vars[user]/git/recombee - require fs_o filename=/home/$vars[user]/git/recombee owner=$uid:$gid + require fs_o filename=/home/$vars[user]/git/recombee owner=$vars[user] fstab=( $bind_dir$'\t'$bindroot/${bind_dir#/}$bind ) require container_service_generic \ image_name=alpine-recombee fstab_extra=${(F)fstab} \