From 460922d3b258ba5b437afc99b5b02d2690788db9 Mon Sep 17 00:00:00 2001 From: Alexander Scheel Date: Tue, 27 Jul 2021 15:20:08 -0400 Subject: [PATCH] Remove FragmentPath check from service_disabled In https://github.com/systemd/systemd/issues/582 it is documented that systemd could eventually replace FragmentPath=/dev/null (on masked services) with the actual service path -- not the fully (symlink) resolved path as is currently the case. This matches the behavior currently seen in Ubuntu (all versions) and RHEL 9/Fedora 34. Per discussion with Gabriel, Matej, Richard, and Matt, it is best to remove this check, especially since ActiveState=Masked suffices. Resolves: #7280 Resolves: #7248 Signed-off-by: Alexander Scheel --- shared/templates/service_disabled/oval.template | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/shared/templates/service_disabled/oval.template b/shared/templates/service_disabled/oval.template index 33b52518307..e4ccb0566e7 100644 --- a/shared/templates/service_disabled/oval.template +++ b/shared/templates/service_disabled/oval.template @@ -13,7 +13,6 @@ - @@ -41,18 +40,6 @@ masked - - - - - - ^{{{ SERVICENAME }}}\.(service|socket)$ - FragmentPath - - - /dev/null - - {{% else %}} {{% if init_system != "systemd" %}}