Bug#825075: deb-systemd-invoke: incomplete handling of policy-rc.d status codes

2016-05-29 Thread Martin Pitt
Control: tag -1 pending

Hello Edward,

Edward Allcutt [2016-05-23 12:22 +0100]:
> In particular, where policy-rc.d returns 0 deb-systemd-invoke prints a
> spurious warning. The original spec for policy-rc.d mentioned only 0 as
> the return code for "action allowed" and 104 was added later.
> invoke-rc.d treats 0 the same as 104 and so should deb-systemd-invoke.

Thanks for pointing out! Fixed in git.

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



Bug#825075: deb-systemd-invoke: incomplete handling of policy-rc.d status codes

2016-05-23 Thread Edward Allcutt

Package: init-system-helpers
Version: 1.33
Severity: normal

Dear Maintainer,

In particular, where policy-rc.d returns 0 deb-systemd-invoke prints a
spurious warning. The original spec for policy-rc.d mentioned only 0 as
the return code for "action allowed" and 104 was added later.
invoke-rc.d treats 0 the same as 104 and so should deb-systemd-invoke.

Thanks,

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages init-system-helpers depends on:
ii  perl-base  5.22.2-1

init-system-helpers recommends no packages.

init-system-helpers suggests no packages.

-- no debconf information