[Pkg-sympa-devel] Bug#868289: sympa: Package sets wrong path for sendmail binary

Daniel ".koolfy" Faucon koolfy at koolfy.be
Fri Jul 14 08:40:33 UTC 2017


Package: sympa
Version: 6.2.16~dfsg-3
Severity: important

Dear Maintainer,
I have noticed that on my stretch system, the package has set the wrong
path for newaliases binary, as you can see:


Can't exec "/usr/bin/newaliases": No such file or directory at /usr/lib/sympa/bin/sympa_newaliases.pl line 141.
err main::#159 Cannot execute aliases_program "newaliases": No such file or directory
newaliases exited with status 2
root at web:/etc/mail# /usr/bin/newaliases
bash: /usr/bin/newaliases: No such file or directory
root at web:/etc/mail# which newaliases
/usr/sbin/newaliases


Indeed, /usr/lib/sympa/bin/sympa_newaliases.pl line 141 shows:

        q{/usr/bin/newaliases }



Looking at the upstream content of the file:
https://github.com/sympa-community/sympa/blob/master/src/sbin/sympa_newaliases.pl.in#L141

This looks like a templating issue.

While it does not break the aliasmanager outright, all related commands
exit with an error status and confusing error messages (in the UI too.)




More information about the Pkg-sympa-devel mailing list