From 2d6db5e47598c4b8115c4cd19a0e8bc23651f459 Mon Sep 17 00:00:00 2001 From: Natalia Serrano Date: Sun, 18 May 2025 11:18:54 +0200 Subject: [PATCH] refs #2026 run stunnel in the foreground --- chroot-tasks.py | 4 ++++ includes/etc/initramfs-tools/scripts/VERSION.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/chroot-tasks.py b/chroot-tasks.py index db375cf..9546ea6 100755 --- a/chroot-tasks.py +++ b/chroot-tasks.py @@ -109,10 +109,13 @@ def updateCaCertificates(): utils.run (['update-ca-certificates']) def configure_stunnel(): + print ('configure_stunnel', file=sys.stderr) with open ('/etc/stunnel/menu.conf', 'w') as fd: fd.write ('setuid = stunnel4\n') fd.write ('setgid = stunnel4\n') fd.write ('pid = /var/run/stunnel4/menu.pid\n') + fd.write ('foreground = yes\n') + fd.write ('debug = info\n') fd.write ('\n') fd.write ('[menu]\n') fd.write ('client = yes\n') @@ -128,6 +131,7 @@ def boottoolsPythonModules(): utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages']) def boottoolsRemovePackages(): + print ('boottoolsRemovePackages', file=sys.stderr) apt.remove (['python3-dev', 'python3-setuptools', 'python3-pip']) def setup_resolvconf(): diff --git a/includes/etc/initramfs-tools/scripts/VERSION.txt b/includes/etc/initramfs-tools/scripts/VERSION.txt index fac038b..3269160 100644 --- a/includes/etc/initramfs-tools/scripts/VERSION.txt +++ b/includes/etc/initramfs-tools/scripts/VERSION.txt @@ -1 +1 @@ -OpenGnsys Client 3.3.0 +OpenGnsys Client 3.4.0