Bug#881190: deb-systemd-invoke syntax error in postinst script

Bastian Blank waldi at debian.org
Thu Nov 9 19:35:10 UTC 2017


Control: reassign -1 debhelper/10.10.5

Hi Ben

On Wed, Nov 08, 2017 at 05:55:40PM +0000, Ben Hutchings wrote:
> # Automatically added by dh_installsystemd/10.10.5
> if [ -d /run/systemd/system ]; then
>         systemctl --system daemon-reload >/dev/null || true
>         if [ -n "$2" ]; then
>                 _dh_action=try-restart
>         else
>                 _dh_action=start
>         fi
>         deb-systemd-invoke $_dh_action  >/dev/null || true
> fi
> # End automatically added section

> I don't know if the bug is in debhelper or in a file in the lvm2
> source.

It's a bug in debhelper.  If dh_installsystemd gets zero units to start,
it will create this empty list.

Bastian

-- 
There's another way to survive.  Mutual trust -- and help.
		-- Kirk, "Day of the Dove", stardate unknown



More information about the pkg-lvm-maintainers mailing list