Packaging issue: .service files are no conffiles (due to /lib) while init scripts are conffiles and hence remain longer on the system upon package removal without purging

Axel Beckert abe at debian.org
Wed Jun 10 12:19:19 BST 2015


Hi,

Michael Biebl wrote:
> To address this, we added code do dh_systemd,

I assume you mean dh-systemd (the package) as there is no such
command.

> to mask the service on remove. So even if the package is only
> removed, but not purged, be remaining sysv init script will not be
> considered by systemd. This mask is removed on purge.

Thanks for that hint.

There's though no mentioning of masking in the dh_systemd_start(1) and
dh_systemd_enable(1) man pages, there is no systemd2init man page, and
/usr/share/doc/dh-systemd/ contains no further documentation either.

After reading the source of
/usr/share/perl5/Debian/Debhelper/Sequence/systemd.pm, I assume that

  dh $@ --with=systemd

suffices.

Will try that.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE




More information about the Pkg-systemd-maintainers mailing list