Bug#887904: dh_installsystemd will unmask services *after* an attempt to start them

Michael Biebl biebl at debian.org
Sun Jan 21 15:28:56 GMT 2018


Package: debhelper
Version: 11.1.3
Severity: important

dh_installsystemd masks services on "remove". The background here is, that
SysV init scripts are conffiles which are only removed on "purge".

Upon re-installation, this mask is removed again.
With dh_systemd_enable, this was done before dh_installinit, so the mask
was gone when invoke-rc.d tried to start the service.

With compat 11 and dh_installsystemd, the dh_installsystemd helper is
called after dh_installinit. As a result, invoke-rc.d will try to start
a service which is still masked.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages debhelper depends on:
ii  autotools-dev            20171216.1
ii  binutils                 2.29.1-13
ii  dh-autoreconf            15
ii  dh-strip-nondeterminism  0.040-1
ii  dpkg                     1.19.0.5
ii  dpkg-dev                 1.19.0.5
ii  file                     1:5.32-1
ii  libdpkg-perl             1.19.0.5
ii  man-db                   2.7.6.1-4
ii  perl                     5.26.1-4
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201701
pn  dwz      <none>

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list