Blame SOURCES/fapolicyd-readme.patch

090c79
From b4618d133f473b9bbc36f2a5e94b8b0f257ba3e0 Mon Sep 17 00:00:00 2001
090c79
From: Radovan Sroka <rsroka@redhat.com>
090c79
Date: Fri, 5 Aug 2022 14:49:30 +0200
090c79
Subject: [PATCH] Add mention that using of names requires name resolution
090c79
090c79
- using of user and group names as uid and gid attributes
090c79
  requires correct name resolution
090c79
090c79
Signed-off-by: Radovan Sroka <rsroka@redhat.com>
090c79
---
090c79
 README.md | 6 ++++++
090c79
 1 file changed, 6 insertions(+)
090c79
090c79
diff --git a/README.md b/README.md
090c79
index d932e00..abc5eee 100644
090c79
--- a/README.md
090c79
+++ b/README.md
090c79
@@ -131,6 +131,12 @@ You can similarly do this for trusted users that have to execute things in
090c79
 the home dir. You can create a trusted_user group, add them the group,
090c79
 and then write a rule allowing them to execute from their home dir.
090c79
 
090c79
+When you want to use user or group name (as a string). You have to guarantee
090c79
+that these names were correctly resolved. In case of systemd, you need to add
090c79
+a new after target 'After=nss-user-lookup.target'.
090c79
+To achieve that you can use `systemctl edit --full fapolicyd`,
090c79
+uncomment the respective line and save the change.
090c79
+
090c79
 ```
090c79
 allow perm=any gid=trusted_user : ftype=%languages dir=/home
090c79
 deny_audit perm=any all : ftype=%languages dir=/home