[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944145: marked as done (Please exclude .path/.timer & .service pairs from systemd-service-file-missing-install-key)



Your message dated Tue, 19 Nov 2019 16:50:57 +0000
with message-id <E1iX6iP-0006ux-Jv@fasolo.debian.org>
and subject line Bug#944145: fixed in lintian 2.37.0
has caused the Debian Bug report #944145,
regarding Please exclude .path/.timer & .service pairs from systemd-service-file-missing-install-key
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 owner@bugs.debian.org
immediately.)


-- 
944145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944145
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.32.0
Severity: normal

To fix #933109, lintian no longer emits
package-supports-alternative-init-but-no-init.d-script when there is a
.service and .timer pair.

I would like to see this extended to also include a .service and .path
pair. Just as with a .timer, if a .path unit is launching a .service
unit, we would not expect an equivalent init.d script.

Furthermore, in both cases, since the .timer or .path will be triggering
the .service, it is completely normal that the .service unit will not
have an [Install] section. Most [Install] sections just contain
WantedBy, which is to make something (typically the default target)
Wants= the .service unit so it starts on bootup. That is not relevant
for .service units that are launched by .timer and .path units. So it
would be nice if the systemd-service-file-missing-install-key was
similarly not emitted in these cases.


Here is an example from ntpsec:

debian/ntpsec-systemd-netif.path
[Unit]
Documentation=file:///usr/share/doc/ntpsec/README.Debian.gz#DHCP
DefaultDependencies=no

[Path]
PathChanged=/run/systemd/netif/leases

[Install]
WantedBy=network-pre.target


debian/ntpsec-systemd-netif.service
[Unit]
Documentation=file:///usr/share/doc/ntpsec/README.Debian.gz#DHCP

[Service]
Environment=reason=BOUND
ExecStart=/bin/sh -c '. /etc/dhcp/dhclient-exit-hooks.d/ntpsec'

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.37.0

We believe that the bug you reported is fixed in the latest version of
lintian, 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 944145@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 19 Nov 2019 16:23:48 +0000
Source: lintian
Architecture: source
Version: 2.37.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 944145 944895
Changes:
 lintian (2.37.0) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * WIP (generated upon release).
   * Don't emit missing-depends-on-sensible-utils for sensible-utils itself. (Closes: #944895)
   * Correct logic when excluding .path/.timer & .service pairs from systemd-service-file-missing-install-key. Thanks, Richard Laager <rlaager@wiktel.com>. (Closes: #944145)
 .
   [ Paul Wise ]
   * spelling: Add several corrections
Checksums-Sha1:
 90680cb962c0be4ae5c6d56143240a27a99d0e05 4103 lintian_2.37.0.dsc
 bcabd3dbb6fb576641add7bcc3929262fa53ce59 1799560 lintian_2.37.0.tar.xz
 89fa79f71ee49ac8d44b9fa50e9307c9754bae6a 17110 lintian_2.37.0_amd64.buildinfo
Checksums-Sha256:
 97582cfdc802ce1160c5ae7cbcd26c0b994e4c1ba33673d26a328940dcfd40f4 4103 lintian_2.37.0.dsc
 357862076f09695bc5c7894454e91cc22aac67f19f32f39b7f4c16cbe68c323e 1799560 lintian_2.37.0.tar.xz
 f5436f49e9a15fea2e48491cd6030f5ca86e034be899847a0a8b1bd4b7dc2fc9 17110 lintian_2.37.0_amd64.buildinfo
Files:
 e8cd843d027d466f063db2e2cfd67bfc 4103 devel optional lintian_2.37.0.dsc
 b77e96454d93d9944602cb56c8093879 1799560 devel optional lintian_2.37.0.tar.xz
 6c294ab4fe49387500ec0dd56da15c00 17110 devel optional lintian_2.37.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl3UGzEACgkQHpU+J9Qx
HlglJxAAwnpTQ241Q99oI9e1Rbz1M2r9p/5FQiMobfAU/tohwbI0GPdCy8DnFx5a
5WFaShW5FQssmxTVufDtv40JZcTSXWPt2TyYVxSEDHdX8gChD9+/MmgPJaWRTi06
fMAA2NAjrIkxcfRi//B7RXKZVsPqWTQJVvzhjPt+RhnS/YdyikBoVzWozLEXXubX
Nt25u0Q4wXygcKWJlR+fMaKzxR1e15pcIVxkNWIlVi3PzCYPdVtSP8832/EMLTsu
gNkZCnSPI9crm1e+G3zD0h80DjKK/IKfDi0aovxC/Ybgas91b4+2GcbVAtQRoe1Y
0kaUwsba7rUP7btwrX88wHiGg2Tou22O+Zbk9zE4dxaGDglcS/vyGWjB2jdsukN4
IWeBKI9yBemoQzViSjEmDJAmFhIfcRhRiiUrphun5MQyOJKT7Xli5J+TZDRIu58R
Q1J5jjvy2Hx8PflbL0H49/GsLGqHOMgbfmv8z1DhsxTZm2o/sCcJ+JrcvPWBwK9n
SMMGJtl34ktHa3jP4cXkUSYu5dshj6CMYC2eAr97xXxS/sT4xszldzuZbew0/TTa
IyP4ACQzEH7XfKiF+nXQb0S/OO6QVyN1+sHYrlp+LXl/LKsn1wXUFdB1dA96AboK
C4kEqmzieoJ0r+tS+UGC8c2YPCJN/V4+ASBnwbqjB5yfCPEKd/g=
=h3xU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: