Hi, this is quite an important bug you have found here, thank you for reporting it!
Debugging the postinst by adding a "set -x" to /var/lib/dpkg/info/ejabberd.postinst revealed, that the bug is not in the debconf part, but in ejabberdctl. What you have seen is ejabberdctl's reaction to ejabberdctl register "$USER" "$HOST" "$PASSWD" when $PASSWD contains special characters as in your examples. E.g.: ~# ejabberdctl register admin localhost 'Cbfy=6Yi?mepN<Ow3!:>mBYJmBr7B<L[' sh: 1: cannot open Ow3!:: No such file Enabling -x in ejabberdctl shows: + su ejabberd -c /usr/bin/erl -sname ctl-ejabberd -noinput -hidden -pa /usr/lib/x86_64-linux-gnu/ejabberd/ebin -s ejabberd_ctl -extra ejabberd register admin localhost Cbfy=6Yi?mepN<Ow3!:>mBYJmBr7B<L[ sh: 1: cannot open Ow3!:: No such file So the problem is somewhere in ctlexec() or later. Regards, -- .''`. Philipp Huebner <debala...@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F `. `'` `-
signature.asc
Description: OpenPGP digital signature