<div dir="ltr"><div><div>Hi Ondrej,<br><br></div>I'm really sorry for not having tested this carefully before now - but unfortunately it appears that this is not completely fixed yet.  On a system where bird 1.6.0-2+xenial+1 is installed:<br><br></div><div>- systemctl still reports that the bird service is disabled:<br><br>ubuntu@ip-172-31-63-57:~$ systemctl status bird                          <wbr>                              <wbr>                              <wbr>                              <wbr>                           <br>● bird.service - BIRD Internet Routing Daemon (IPv4)                        <wbr>                              <wbr>                              <wbr>                              <wbr>                        <br>   Loaded: loaded (/lib/systemd/system/bird.<wbr>service; disabled; vendor preset: enabled)                      <wbr>                              <wbr>                              <wbr>                      <br>   Active: active (running) since Mon 2016-09-12 13:09:46 UTC; 1h 31min ago                           <wbr>                              <wbr>                              <wbr>                            <br>[...]<br><br></div><div>- In /var/lib/dpkg/info/bird.<wbr>postinst there are no deb-systemd-helper calls; whereas I do see these in one of my own packages that is built --with systemd.<br></div><div><br></div>I guess the problem is that debian/rules needs to have an override for dh_systemd_enable, and to use --name, similarly as it does for dh_installinit, in order to deal correctly with how the .service files are named<br><div><div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 8, 2016 at 4:21 PM Ondrej Filip <<a href="mailto:feela@network.cz" target="_blank">feela@network.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 7.8.2016 01:22, Neil Jerram wrote:<br>
<br>
Hi Neil!<br>
It should be fixed now.<br>
<br>
        Ondrej<br>
<br>
<br>
> Is this the right place to report and discuss an apparent bug with<br>
> packaging in ppa:cz.nic-labs/bird ?  If not, please advise where would<br>
> be better.<br>
><br>
> If it is the right place...  I'd like to report that bird on Xenial<br>
> doesn't restart after a reboot, using bird version 1.6.0-1+xenial+1<br>
> from <a href="http://ppa.launchpad.net/cz.nic-labs/bird/ubuntu" rel="noreferrer" target="_blank">http://ppa.launchpad.net/cz.<wbr>nic-labs/bird/ubuntu</a> xenial/main amd64.<br>
><br>
> It appears the package is a bit inconsistent in its init system handling:<br>
><br>
> - It installs init configuration files for SysV, upstart and systemd.<br>
><br>
> - Its postinst (install-time) script calls 'update-rc.d bird defaults'<br>
> and 'invoke-rc.d bird start'.<br>
><br>
> On Xenial (which uses systemd), the invoke-rc.d call goes through to<br>
> systemd - or at least, systemctl status bird indicates running after<br>
> an 'invoke-rc.d bird start', and inactive after an 'invoke-rc.d bird<br>
> stop' - but the update-rc.d call does not call on to 'systemctl enable<br>
> bird'.  Hence the observation that bird is not restarted on reboot.<br>
><br>
> Thoughts?  From analogy with other packages (that are systemd-enabled<br>
> when installed), I think the fix may be as simple as:<br>
><br>
> - adding '--with systemd' to the dh invocation<br>
><br>
> - adding dh-systemd as a build dep.<br>
><br>
> Thanks,<br>
><br>
>      Neil<br>
><br>
><br>
<br>
</blockquote></div></div></div></div></div>