Commit 6567a56b authored by Chris Lamb's avatar Chris Lamb 💬

Don't emit systemd-service-file-missing-hardening-features for...

Don't emit systemd-service-file-missing-hardening-features for WantedBy=sleep.target "services" such as autosuspend.
parent 2d3f5801
......@@ -256,7 +256,9 @@ sub check_systemd_service_file {
last;
}
tag 'systemd-service-file-missing-hardening-features', $file
unless $seen_hardening or $is_oneshot;
unless $seen_hardening
or $is_oneshot
or any { 'sleep.target' eq $_ } @wanted_by;
}
return 1;
......
......@@ -10,6 +10,9 @@ lintian (2.5.118) UNRELEASED; urgency=medium
+ [CL] Avoid a number of false-positives in documentation files when
processing the uses-dpkg-database-directly tag as these are
invariably legitimate.
* checks/systemd.pm:
+ [CL] Don't emit systemd-service-file-missing-hardening-features for
WantedBy=sleep.target "services" such as autosuspend.
* checks/testsuite.{desc,pm}:
+ [CL] Apply a patch series from Paul Gevers to warn about obsolete
debian/tests/control.autodep8 files. (MR: !95)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment