[pkg-uWSGI-devel] Bug#970793: uwsgi: uswgi server startup failure if configuration strict=True used

Manfred Benesch manfred.benesch at tu-dresden.de
Wed Sep 23 14:21:23 BST 2020


Package: uwsgi
Version: 2.0.18-1
Severity: normal
Tags: patch

Dear Maintainer,

when using the configuration option strict=True for a uwsgi app the server does
not start anymore. After setting the strict-option to False all apps run fine.

The problem is the use of 'deb-confnamespace' and 'deb-confname' options in the
default.ini without declaring them.

Applying the following patch would solve that problem by declaring the two
options:

--- /usr/share/uwsgi/conf/default.ini.orig      2020-09-23 15:17:13.770408349
+0200
+++ /usr/share/uwsgi/conf/default.ini   2020-09-23 15:16:48.780689187 +0200
@@ -35,6 +35,10 @@
 #
 # Example: name of '/etc/uwsgi/apps-enabled/site.ini' is 'site'.

+# declare deb-confnamespace and deb-confname options
+declare-option = deb-confnamespace=$1
+declare-option = deb-confname=$1
+
 # enable master process manager
 master = true

Disabling the use of the inherited config in /etc/default/uwsgi would also
solve it but i think after package installation it should run user apps without
change the default configuration.





-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'), (150, 'experimental'), (50, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.6-thinkpad (SMP w/8 CPU cores; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages uwsgi depends on:
ii  lsb-base    10.2019051400
ii  uwsgi-core  2.0.18-1

uwsgi recommends no packages.

uwsgi suggests no packages.

-- no debconf information



More information about the pkg-uWSGI-devel mailing list