Your message dated Thu, 19 Sep 2013 03:20:24 +0000
with message-id <[email protected]>
and subject line Bug#714903: fixed in init-system-helpers 1.10
has caused the Debian Bug report #714903,
regarding masking removed but not purged SysV/LSB services
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
714903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714903
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-systemd
Version: 1.4
Severity: normal
If a package ships both a SysV init script and systemd service, systemd
will prefer the native .service over the init script.
The .service files are shipped in /lib/systemd/system, the init scripts
in /etc/init.d. This means, they are marked as conffiles and only
removed on "purge", whereas the .service files are removed on "remove".
E.g. this leads to:
$ systemctl status rsyslog.service
rsyslog.service - LSB: enhanced syslogd
Loaded: loaded (/etc/init.d/rsyslog)
Active: active (exited) since Do 2013-07-04 08:24:40 CEST; 1min 45s ago
Process: 597 ExecStart=/etc/init.d/rsyslog start (code=exited,
status=0/SUCCESS)
when the rsyslog package has been removed, but not purged.
SysV/LSB init scripts will be started on boot for such
removed but not purged packages. Those init scripts usually have a
"[ -x /usr/bin/mydaemon ] || exit 0" check which make them a no-op in
such a case.
Still, I think this behaviour is unfortunate.
For once, we pointlessly spawn a shell script which simply does nothing,
wasting CPU cycles.
But more importantly, such services show up in systemctl output as
"active (exited)", while they are not really active.
This could be confusing for users.
We might consider to mask such SysV/LSB services on "remove" and remove
the mask on "purge".
Discuss!
Michael
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-systemd depends on:
ii debhelper 9.20130630
ii perl 5.14.2-21
dh-systemd recommends no packages.
dh-systemd suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: init-system-helpers
Source-Version: 1.10
We believe that the bug you reported is fixed in the latest version of
init-system-helpers, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Stapelberg <[email protected]> (supplier of updated
init-system-helpers package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Sep 2013 02:13:14 +0000
Source: init-system-helpers
Binary: init-system-helpers dh-systemd
Architecture: source all
Version: 1.10
Distribution: unstable
Urgency: low
Maintainer: pkg-systemd-maintainers
<[email protected]>
Changed-By: Michael Stapelberg <[email protected]>
Description:
dh-systemd - debhelper add-on to handle systemd unit files
init-system-helpers - helper tools for all init systems
Closes: 714903 723693
Changes:
init-system-helpers (1.10) unstable; urgency=low
.
* Bugfix: check whether /var/lib/systemd/deb-systemd-helper-enabled exists
(Thanks Alf Gaida) (Closes: #723693)
* d-s-h: Fix mask/unmask implementation (Thanks Michael Biebl)
(Closes: #714903)
Checksums-Sha1:
457597f8eba0828b3d3cb3bc431a016612c3e407 1832 init-system-helpers_1.10.dsc
e61f5df4e78638fa2538ecd3d64a8fe358b2d1c9 17369 init-system-helpers_1.10.tar.gz
64c4952185df810630d3ddd8bd859c1430140faf 12300 init-system-helpers_1.10_all.deb
502ba60a84117fb35e54fed7edc58d326043265a 12782 dh-systemd_1.10_all.deb
Checksums-Sha256:
8512becda9e11e5a4cfac40d246970ab37d084cfdc181d4854ecb0d0ae08229b 1832
init-system-helpers_1.10.dsc
ebedbe7f06d4387b289121aad3e607be765277389c2439387a9dc45c9c9c0152 17369
init-system-helpers_1.10.tar.gz
f54c69a816b896c78eb9b212af250643f88e4419d2f66474272c7456343cf7db 12300
init-system-helpers_1.10_all.deb
c538d5edb2181905968a76680ee619fcf0b55e27f34c693344b2935cf86152d5 12782
dh-systemd_1.10_all.deb
Files:
84bcf489849e9493306b4e86db10640d 1832 admin extra init-system-helpers_1.10.dsc
f09a044073d1ed10bd83412aff4eac5c 17369 admin extra
init-system-helpers_1.10.tar.gz
a911b37dffda95fb70f63674c0e3878e 12300 admin extra
init-system-helpers_1.10_all.deb
c2b7fe3e4931a3044b39a16b67b7fda4 12782 admin extra dh-systemd_1.10_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJSOmQQAAoJEE5xYO1KyO4dCrgQALnlA5XN6E7keO5DujK8SGzw
+fiqOXABet4wqsR+xKpFLuYoRPWTdellmT29JYIxlQ7ViHQigNJBaf7cMbIpE8n6
PNyD7YxG+jBqkSjdzVBk3704l2zcYcn4mV28OEOmHv2xtT3FlIS6t8SVQZTAxWtj
xtA0+Oqq5ppMGKTvH3pkb4BjKvVx9Jo9RbPvacdhbLrF6cCuiB3hyXumUqT2pXDt
oSyVi6fy8y9T18xdS7X0iUItCvo5/2XY0bGfl4plfW0eSt0FMrRvDyf72V4MnVf2
JICBSx1rMx8nkkXulhuTz0It7Q1HxlKAnzoeFlmsAK4XfTBzA2UOpFSxQDWz1zDR
ZAD1nrNYcKdjGMgbptLRDs3O/+8SJnou+l9+WYA/sRLVAX9RGUk4vf0E/xpBMW3h
jBe5zjhMGR/zEEkgaFYSdTkLI0rnuHmO/3JU9P5d0QkFTvU4inIDc+gZkotFXikZ
1KFgsg+C/v6aLF4YzrnQJxJZZr7eh6K9y6hQvRKHfJ2w+o6JupSCl8TiN0FCoOWZ
ai7OG+Jql3H4vr/leKBzJ/07w+CTM0QcdFpeWODU8UYzYW21yClbk4F+ipv/mDoS
tQBNV+2LsDyIYyGQxwGKg8CQYV3EJrrgE/SqWsAb07O5McQ0lIo4oT4oopxRRI8s
8c1iGQPJpPLZ2LCKCP3u
=3DnJ
-----END PGP SIGNATURE-----
--- End Message ---