Package: prosody
Version: 13.0.1-1+deb131u2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

Since the security update 13.0.1-1+deb131u2 I get an error when starting
the Prosody systemd service:

prosody[1191]: modulemanager: Error initializing module 'legacyauth' on 
'timmy.digitalbrains.com': /usr/lib/prosody/util/startup.lua:211: module 
'prosody.encodings' not found:
                     no field package.preload['encodings']
                     no field package.preload['prosody.encodings']
                     no file '/usr/lib/prosody/encodings.lua'
                     [...]

At a glance, the bug seems simple. This line:

https://salsa.debian.org/xmpp-team/prosody/-/commit/aeed92ad7d2b13c23e68c7959f09e01a1cfeea35?file_path=debian%2Fpatches%2F0017-mod_legacyauth-Run-password-through-saslprep-and-rej.patch#line_39c296d24_A18

local saslprep = require "prosody.encodings".stringprep.saslprep;

should probably read:

local saslprep = require "prosody.util.encodings".stringprep.saslprep;

If I change it to be that, the systemd service no longer logs errors. I
have to admit I can't actually vouch that legacyauth clients can
succesfully log in; the only legacyauth client I use is an IoT device I
can't trigger from where I currently am. Still, given how basic the
mistake seems to be, I was hoping you would just recognise it as the
obviously correct fix. If this is not the case, I can do more testing
later.

Thank you,

Peter.

- -- System Information:
Debian Release: 13.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.118+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prosody depends on:
ii  adduser                             3.152
ii  init-system-helpers                 1.69~deb13u1
ii  libc6                               2.41-12+deb13u5
ii  libicu76                            76.1-4
ii  libssl3t64                          3.5.10-1~deb13u1
ii  lua-bitop [lua5.4-bitop]            1.0.2-7+b2
ii  lua-expat [lua5.4-expat]            1.5.2-1+b1
ii  lua-filesystem [lua5.4-filesystem]  1.8.0-3+b2
ii  lua-sec [lua5.4-sec]                1.3.2-2+b2
ii  lua-socket [lua5.4-socket]          3.1.0-1+b2
ii  lua5.4                              5.4.7-1+b2
ii  ssl-cert                            1.1.3

Versions of packages prosody recommends:
ii  lua-event [lua5.4-event]        0.4.6-2+b3
ii  lua-readline [lua5.4-readline]  3.3-3+b3
ii  lua-unbound [lua5.4-unbound]    1.0.0-2+b2

Versions of packages prosody suggests:
pn  lua-dbi-mysql       <none>
pn  lua-dbi-postgresql  <none>
ii  lua-dbi-sqlite3     0.7.4-1
pn  lua-zlib            <none>

- -- Configuration Files:
/etc/prosody/conf.avail/example.com.cfg.lua [Errno 13] Permission denied: 
'/etc/prosody/conf.avail/example.com.cfg.lua'
/etc/prosody/conf.avail/localhost.cfg.lua [Errno 13] Permission denied: 
'/etc/prosody/conf.avail/localhost.cfg.lua'
/etc/prosody/prosody.cfg.lua [Errno 13] Permission denied: 
'/etc/prosody/prosody.cfg.lua'

- -- no debconf information

- -- debsums errors found:
debsums: changed file /usr/lib/prosody/modules/mod_legacyauth.lua (from prosody 
package)

-----BEGIN PGP SIGNATURE-----

iQFMBAEBCgA2FiEEZQCNwiCq4qJXTWzVlp4Bj95s3KEFAmsVcZkYHHBldGVyQGRp
Z2l0YWxicmFpbnMuY29tAAoJEJaeAY/ebNyhWaIH/01biQpUvVcZ0/oLxJPf90i3
DscGfrlslYlyPeRbv0pWdvgeIfuQikyWEDvdkoYYPrYJHS6Y75pMG2NWmBNZytOx
1pFpEVkdVHihhJAaE69DaVaBWbEpUSAkSsJTUX6k5Y1YGWQ42ksAPwtzOP+R16eK
Zn/s9HHM671N9S7ZV6RwqzT/7sy6XCx6/sKYMzXuBzBpi71rkwvx+weE8Yd5MVJc
/Q1tiJ9V1ExC52Mk9TDJ/S6hOX7qKVJ0X2+x+FAYsHyPlVycgf1YlOC+6Zl/Z1QS
aRRZy5J2Q9MmqWaXur/TUARsNyUj2jQL8+8yneLUCdq2zwz2hoaRSkAq1BYuusE=
=pdGV
-----END PGP SIGNATURE-----

Reply via email to