diff --git a/linux_os/guide/system/logging/log_rotation/ensure_logrotate_activated/oval/shared.xml b/linux_os/guide/system/logging/log_rotation/ensure_logrotate_activated/oval/shared.xml
index a13b81a329c..b4cb3fbadc6 100644
--- a/linux_os/guide/system/logging/log_rotation/ensure_logrotate_activated/oval/shared.xml
+++ b/linux_os/guide/system/logging/log_rotation/ensure_logrotate_activated/oval/shared.xml
@@ -12,7 +12,7 @@
{{% if product in ["rhcos4", "rhel9", "rhel10", "sle12", "sle15", "ol9"] %}}
-
+
{{% endif %}}
@@ -56,14 +56,14 @@
{{% if product in ["rhcos4", "rhel9", "rhel10", "sle12", "sle15", "ol9"] %}}
-
+ comment="look for logrotate.timer in multi-user.target.wants and timers.target.wants"
+ id="test_logrotate_enabled_systemd_target" version="1">
+
-
- /etc/systemd/system/multi-user.target.wants/logrotate.timer
+
+ ^/etc/systemd/system/(multi-user|timers)\.target\.wants/logrotate\.timer$
unit_logrotate_state_symlink