From a5442bc69c3b9d719f15799730d62f72ad7bee76 Mon Sep 17 00:00:00 2001 From: Rahul Sandhu Date: Tue, 10 Dec 2024 16:05:19 +0000 Subject: [PATCH] authlogin: connect to nsresourced Container UID/GID lookups for utilities such as nspawn require nss clients to be able to make nsresourced lookups. Signed-off-by: Rahul Sandhu --- policy/modules/system/authlogin.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/authlogin.te b/policy/modules/system/authlogin.te index 5f0ae10939..a75a669b93 100644 --- a/policy/modules/system/authlogin.te +++ b/policy/modules/system/authlogin.te @@ -477,6 +477,7 @@ sysnet_dns_name_resolve(nsswitch_domain) ifdef(`init_systemd', ` systemd_stream_connect_userdb(nsswitch_domain) systemd_stream_connect_homed(nsswitch_domain) + systemd_stream_connect_nsresourced(nsswitch_domain) ') tunable_policy(`authlogin_nsswitch_use_ldap',`