Bug#985314: asterisk spams console output to syslog due to systemd misconfiguration

Utkarsh Gupta utkarsh at debian.org
Thu Jan 20 19:32:35 GMT 2022


Hi Sergio,

On Wed, Jan 19, 2022 at 10:26 PM Sergio Durigan Junior
<sergiodj at debian.org> wrote:
> "Editing patches by hand considered evil" :-).
>
> This upload introduced a problem: the asterisk.service file doesn't
> contain the [Install] section anymore, which makes it be treated as a
> static unit by systemd.  This means that the service cannot be
> enabled/disabled, so when a reboot happens the service doesn't
> automatically start.
>
> This has been reported in
> https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1958259, btw.
>
> The problem happened because the file d/p/systemd.patch was likely
> edited by hand, but the diff header was not updated to reflect the new
> lines that have been added.  Because of this, 'patch' silently drops the
> last 6 lines of the diff when applying it.

I don't think this was a problem in the patch that I attached to the
bug but somehow it got introduced when some applied that and uploaded,
maybe? I could be very wrong but I am trying to understand where did
things go wrong.


- u



More information about the Pkg-voip-maintainers mailing list