Blame SOURCES/scap-security-guide-0.1.45-smartcards_not_applicable_to_containers.patch

0d5c10
From eebf6eaae22d6d993b9351a0ccaad55ca2bff3d6 Mon Sep 17 00:00:00 2001
0d5c10
From: Marek Haicman <mhaicman@redhat.com>
0d5c10
Date: Fri, 24 May 2019 12:33:57 +0200
0d5c10
Subject: [PATCH] Smartcard not applicable to containers
0d5c10
0d5c10
Smartcard configuration make sense on the host, not in general container base.
0d5c10
---
0d5c10
 .../accounts-physical/screen_locking/smart_card_login/group.yml | 2 ++
0d5c10
 .../smart_card_login/service_pcscd_enabled/rule.yml             | 2 --
0d5c10
 2 files changed, 2 insertions(+), 2 deletions(-)
0d5c10
0d5c10
diff --git a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/group.yml b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/group.yml
0d5c10
index e1ee1122bd..5a2b0728cb 100644
0d5c10
--- a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/group.yml
0d5c10
+++ b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/group.yml
0d5c10
@@ -11,3 +11,5 @@ description: |-
0d5c10
     In Red Hat Enterprise Linux servers and workstations, hardware token login
0d5c10
     {{% endif %}}
0d5c10
     is not enabled by default and must be enabled in the system settings.
0d5c10
+
0d5c10
+platform: machine
0d5c10
diff --git a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/service_pcscd_enabled/rule.yml b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/service_pcscd_enabled/rule.yml
0d5c10
index 03e37fd889..a49f9e755f 100644
0d5c10
--- a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/service_pcscd_enabled/rule.yml
0d5c10
+++ b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/service_pcscd_enabled/rule.yml
0d5c10
@@ -33,5 +33,3 @@ references:
0d5c10
 ocil_clause: 'the pcscd service is not enabled'
0d5c10
 
0d5c10
 ocil: '{{{ ocil_service_enabled(service="pcscd") }}}'
0d5c10
-
0d5c10
-platform: machine