Comment 2 for bug 1958259

Revision history for this message
Jörg Hänsel (spiderbaby) wrote : Re: [Bug 1958259] Re: systemd not enabled in postinst script

That are good news.
Thank you, Sergio!

Am Mi., 19. Jan. 2022 um 18:01 Uhr schrieb Sergio Durigan Junior <
<email address hidden>>:

> Thanks for the report, Jörg.
>
> I was able to confirm the problem and identify the underlying issue.
> This also affects the Debian package, and since asterisk is a sync from
> Debian we should first fix the problem there. I've now proposed a patch
> which should hopefully be accepted soon.
>
> Thanks.
>
> ** Bug watch added: Debian Bug tracker #985314
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985314
>
> ** Also affects: asterisk (Debian) via
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985314
> Importance: Unknown
> Status: Unknown
>
> ** Changed in: asterisk (Ubuntu)
> Status: New => In Progress
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1958259
>
> Title:
> systemd not enabled in postinst script
>
> Status in asterisk package in Ubuntu:
> In Progress
> Status in asterisk package in Debian:
> Unknown
>
> Bug description:
> affected version is: 1:16.16.1~dfsg-4build1 (jammy)
>
> 1. dh_systemd_enable section is missing in
> /var/lib/dpkg/info/asterisk.postinst
> 2. [Install] Section with "WantedBy" is missing in
> /lib/systemd/system/asterisk.service
>
> 1+2 lead to missing /etc/system/mutli-
> user.target.wants/asterisk.service
>
>
> After installation asterisk is only started once via the invocation of
> "invoce-rc.d asterisk restart". But after a reboot is is not started
> anymore due to the described reason above.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1958259/+subscriptions
>
>