[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 Fri, 15 Nov 2019 18:55:11 +0000
with message-id <E1iVgkR-000A6x-2d@fasolo.debian.org>
and subject line Bug#944145: fixed in lintian 2.36.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.36.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: Fri, 15 Nov 2019 12:18:04 +0000
Source: lintian
Built-For-Profiles: nocheck
Architecture: source
Version: 2.36.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 944145
Changes:
 lintian (2.36.0) unstable; urgency=medium
 .
   * Don't emit systemd-service-file-missing-install-key for .service files
     with corresponding .path or .timer pairs. (Closes: #944145)
Checksums-Sha1:
 712762ae7ff52735f0f099e7dee1bb0ab5b4aa08 4070 lintian_2.36.0.dsc
 1eff6d67f945b25fdbb73acc4822d52f2f4821cf 1798472 lintian_2.36.0.tar.xz
 4876e83a7150f0ce0c8b89d8f35eccbbac0a04c4 5846 lintian_2.36.0_amd64.buildinfo
Checksums-Sha256:
 fca4cd7a0656e2fa96fcf6d514f8b79036583cf03e4b3a8d5d947e52520e1afd 4070 lintian_2.36.0.dsc
 7b0d32d5c2b6a56269b79cad2f6a46b62993e9f59b025c0b1cf7bcdcca22a327 1798472 lintian_2.36.0.tar.xz
 c818b0a6c4323bf0921a3c9101a5576e38bd61b080763f1c2ec0fc5aa5a3f120 5846 lintian_2.36.0_amd64.buildinfo
Files:
 56e64a786708db8b29c0de1ee212b43f 4070 devel optional lintian_2.36.0.dsc
 50bd97459465431eea66d71872d01a64 1798472 devel optional lintian_2.36.0.tar.xz
 fc24cc41924cd837da77f0353bcb1ed4 5846 devel optional lintian_2.36.0_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl3O8PoACgkQHpU+J9Qx
HliPfQ/+Mh53Ah6CxiiZ/fyHstap5ty8pbphb2xx5sZTO+8e1Gzj6w53AzciaK4p
Av8p4FYTq5/x8Jbzq/xYsbEzonZ6lNzIT0v8/UQR5iJXBppVNoV8RGcJu+2cCgiJ
76BVO/yleVcEzVKowJSAkI4pn4P5DIUIkBMRdv1InGSQwq2QkVxUBhNN1+gDkoK5
fq/onxqddOzGDmPfd3HYmVo1XL/PN04sYNJjEBF1ORNevC207st5fFpP9scoNHo6
/t7v5yh4Od50RsfH5kfL+e6SqIJr4XoP3m/u0WI6EOfgLwjj9fpfhsb7UzXYWVWy
KuNRp/0sgEOy2ykzmdQ5t+iVe875YDH8SPkEggmNMtoEApugnSQA05Y1BXnD+w2T
Oplo8ZYLrs4szVZ9jNP5bTcopeNTNyD6BkpYf1gDNaos1uYbZF5ySdtCPRn3Bp/B
EwVTMBPbubSApSgur8FSVoyFy9JfgR7z+K3X6PdXR9TgT/OgOoUJQ+US/uNwY1lR
RRtRcJ17PVHnSkcjQgzcw+bAegr9aVndUHixyWJly+Lc9Rbfa+zHIi9QS4kHpdTT
TNL8U4N9m78/DTF8zXHofDhV6nyfP9lsFdw4m0OglUJ5KNrLP+UbWUzC+REvXTRs
5J2eFO8HV/0l72pAQDebReGeyFn8CrN9+yGYKOHlhO+by6LFeYM=
=df5Z
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: