[Pkg-xmpp-devel] Bug#1029794: prosody-modules: mod_firewall attempts to call global 'is_admin' a nill value preventing prosody from starting

Diane Trout diane at ghic.org
Fri Jan 27 21:51:31 GMT 2023


Package: prosody-modules
Version: 0.0~hg20230116.ca7feb293d55+dfsg-1~bpo11+1
Severity: important

Dear Maintainer,

I did also talk to the prosody developers and filed the bug with them
as well. I'll mark the forwarded when this gets an bug number assigned.

What steps will reproduce the problem?
1. I upgraded the Debian bullseye backport packages from:
prosody 0.12.1-1~bpo11+1 to 0.12.2-1~bpo11+1 
prosody-modules 0.0~hg20220613.59bedf167910+dfsg-1~bpo11+1 0.0~hg20230116.ca7feb293d55+dfsg-1~bpo11+1

2. I had mod_firewall enabled in prosody.cfg and on restart, I had these errors in the systemd journal.

c2sea5ba0: Traceback[c2s]: mod_firewall::deliver:23: attempt to call global 'is_admin' (a nil valu>
     stack traceback:
     mod_firewall::deliver:23: in function '?'
     /usr/lib/prosody/util/events.lua:81: in function </usr/lib/prosody/util/events.lua:77>
     (...tail calls...)
     /usr/lib/prosody/core/stanza_router.lua:188: in function 'core_post_stanza'
     /usr/lib/prosody/core/stanza_router.lua:128: in function 'core_process_stanza'
     /usr/lib/prosody/modules/mod_c2s.lua:326: in function 'func'
     /usr/lib/prosody/util/async.lua:144: in function </usr/lib/prosody/util/async.lua:142>

I had to disable the firewall to get prosody to load correctly, but I
would like the firewall available for antispam purposes.


-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 6.0.0-0.deb11.6-686-pae (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prosody-modules depends on:
ii  prosody  0.12.2-1~bpo11+1

Versions of packages prosody-modules recommends:
ii  lua-ldap  1.2.5-1+b1

prosody-modules suggests no packages.

-- no debconf information



More information about the Pkg-xmpp-devel mailing list