[debhelper-devel] Bug#876486: dh-systemd: does not generate postinst code for tmpfiles in compat mode > 11

Michael Biebl biebl at debian.org
Fri Sep 22 18:17:44 UTC 2017

Package: debhelper
Version: 10.9
Severity: important

In compat mode 11, the installation of debian/package.tmpfile was moved
from dh_installinit to dh_systemd_enable.
But dh_installinit also generates postinst code to apply the tmpfile
upon installation:

This code will need to be added to dh_systemd_* as well.
I haven't made up my mind yet, if dh_systemd_enable or dh_systemd_start
is a better fit.


-- 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.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE= (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            20161112.1
ii  binutils                 2.29.1-1
ii  dh-autoreconf            14
ii  dh-strip-nondeterminism  0.038-1
ii  dpkg                     1.18.24
ii  dpkg-dev                 1.18.24
ii  file                     1:5.32-1
ii  libdpkg-perl             1.18.24
ii  man-db         
ii  perl                     5.26.0-8
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201608

-- no debconf information

More information about the debhelper-devel mailing list