Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-25 Thread Michael Biebl
Am 25.01.2018 um 09:14 schrieb Michael Biebl: > Am 24.01.2018 um 23:21 schrieb Felipe Sateler: >> On Wed, Jan 24, 2018 at 5:44 PM, Michael Biebl wrote: > if ! [ -d /run/systemd/system ] || ! [ -e /lib/sytemd/system/foo.service ] ; then invoke-rc.d foo $_dh_action || exit 1 >

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-25 Thread Michael Biebl
Am 24.01.2018 um 23:21 schrieb Felipe Sateler: > On Wed, Jan 24, 2018 at 5:44 PM, Michael Biebl wrote: >>> if ! [ -d /run/systemd/system ] || ! [ -e /lib/sytemd/system/foo.service ] >>> ; then >>> invoke-rc.d foo $_dh_action || exit 1 >>> fi >> > > Something like this, yes. But this seems

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-25 Thread Michael Biebl
Hi Am 25.01.2018 um 07:53 schrieb Niels Thykier: > I think we should do it in a separate compat bump. With where things > are headed, I think I got enough changes to do a compat 12 as well in > buster. ok > Can we just have " [ -d /run/systemd/system ] " be the gate both ways? > Is there any ca

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-24 Thread Niels Thykier
Felipe Sateler: > Hi, > Hi :) > On Wed, Jan 24, 2018 at 5:44 PM, Michael Biebl wrote: >> >> [...] >> >> I assume the answer will be basically the same as for >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887904#10 >> >> I think we should invert the logic and stop letting >> dh_installini

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-24 Thread Felipe Sateler
Hi, On Wed, Jan 24, 2018 at 5:44 PM, Michael Biebl wrote: > > Am 24.01.2018 um 21:32 schrieb Niels Thykier: > > On Sun, 21 Jan 2018 15:44:05 +0100 Michael Biebl wrote: > >> Package: debhelper > >> Version: 11.1.3 > >> Severity: normal > >> > >> I use the following in network-manager: > >> > >> o

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-24 Thread Michael Biebl
Am 24.01.2018 um 21:32 schrieb Niels Thykier: > On Sun, 21 Jan 2018 15:44:05 +0100 Michael Biebl wrote: >> Package: debhelper >> Version: 11.1.3 >> Severity: normal >> >> I use the following in network-manager: >> >> override_dh_systemd_start: >>dh_link -pnetwork-manager \ >>

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-24 Thread Niels Thykier
On Sun, 21 Jan 2018 15:44:05 +0100 Michael Biebl wrote: > Package: debhelper > Version: 11.1.3 > Severity: normal > > I use the following in network-manager: > > override_dh_systemd_start: >dh_link -pnetwork-manager \ > lib/systemd/system/NetworkManager.service \ >

Bug#887900: dh_installsystemd does not properly handle aliased services

2018-01-21 Thread Michael Biebl
Package: debhelper Version: 11.1.3 Severity: normal I use the following in network-manager: override_dh_systemd_start: dh_link -pnetwork-manager \ lib/systemd/system/NetworkManager.service \ lib/systemd/system/network-manager.service dh_systemd_start -pne