From 2c6445b46c2ff3a339d6a0c3c3ddd003cb73a024 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 29 Sep 2023 18:58:41 +0200 Subject: [PATCH] regenconf/ssowat: tmp debug to see what's happening on the CI .. --- hooks/conf_regen/01-yunohost | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooks/conf_regen/01-yunohost b/hooks/conf_regen/01-yunohost index adccfa17c6..5ea74990df 100755 --- a/hooks/conf_regen/01-yunohost +++ b/hooks/conf_regen/01-yunohost @@ -188,6 +188,8 @@ do_post_regen() { getent passwd ynh-portal &>/dev/null || useradd --no-create-home --shell /usr/sbin/nologin --system --user-group ynh-portal if [ ! -e /etc/yunohost/.ssowat_cookie_secret ]; then + # Tmp debug to try to see what's happening on the CI ... + echo "Initializing ssowat cookie secret" >&2 # NB: we need this to be exactly 32 char long, because it is later used as a key for AES256 dd if=/dev/urandom bs=1 count=1000 2>/dev/null | tr --complement --delete 'A-Za-z0-9' | head -c 32 > /etc/yunohost/.ssowat_cookie_secret fi