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@web:/etc/mail# /usr/bin/newaliases
bash: /usr/bin/newaliases: No such file or directory
root@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.)


Reply via email to