The /var/lib/sss/pubconf/known_hosts file is empty on a new installed FreeIPA server. I’ve already joined a machine to the domain but the file is still empty.
I can’t get it populated, already rebooted and/or restarted sssd without success.
It is Fedora related, but it’s the same version that I’m running, since I’m on CentOS 7.6.
==> /var/log/sssd/sssd_ssh.log <==
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sbus_remove_timeout] (0x2000): 0x55b758c55dc0
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sbus_dispatch] (0x4000): dbus conn: 0x55b758c56e10
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sbus_dispatch] (0x4000): Dispatching.
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sss_dp_get_reply] (0x1000): Got reply from Data Provider - DP error code: 3 errno: 22 error message: Invalid argument
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [cache_req_common_dp_recv] (0x0040): CR #2: Data Provider Error: 3, 22, Invalid argument
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [cache_req_common_dp_recv] (0x0400): CR #2: Due to an error we will return cached data
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [cache_req_search_cache] (0x0400): CR #2: Looking up [hpclab01] in cache
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Added timed event "ltdb_callback": 0x55b758c62d50
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Added timed event "ltdb_timeout": 0x55b758c62e10
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Running timer event 0x55b758c62d50 "ltdb_callback"
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Destroying timer event 0x55b758c62e10 "ltdb_timeout"
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Ending timer event 0x55b758c62d50 "ltdb_callback"
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sysdb_search_ssh_hosts] (0x0400): No such host
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [cache_req_search_cache] (0x0400): CR #2: Object [hpclab01] was not found in cache
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [cache_req_process_result] (0x0400): CR #2: Finished: Not found
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Added timed event "ltdb_callback": 0x55b758c60990
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Added timed event "ltdb_timeout": 0x55b758c63960
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Running timer event 0x55b758c60990 "ltdb_callback"
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Destroying timer event 0x55b758c63960 "ltdb_timeout"
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ldb] (0x4000): Ending timer event 0x55b758c60990 "ltdb_callback"
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sysdb_search_ssh_hosts] (0x0400): No such host
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [unique_filename_destructor] (0x2000): Unlinking [/var/lib/sss/pubconf/.known_hosts.yfSd2J]
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [unlink_dbg] (0x2000): File already removed: [/var/lib/sss/pubconf/.known_hosts.yfSd2J]
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [ssh_protocol_done] (0x4000): Sending reply: error [2]: No such file or directory
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [sss_dp_req_destructor] (0x0400): Deleting request: [0x55b7572d88e0:hpclab01:
hpclab01@cluster.iq.ufrj.br]
==> /var/log/sssd/sssd_cluster.iq.ufrj.br.log <==
==> /var/log/sssd/sssd_ssh.log <==
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [client_recv] (0x0200): Client disconnected!
(Tue Oct 8 21:10:37 2019) [sssd[ssh]] [client_close_fn] (0x2000): Terminated client [0x55b758c4f940][18]