On Wed, Oct 09, 2019 at 12:25:33AM +0000, Vinícius Ferrão via FreeIPA-users wrote: > Hello, > > 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. > > Looking on the web I came across this bug: > https://bugzilla.redhat.com/show_bug.cgi?id=1574778 > > It is Fedora related, but it’s the same version that I’m running, since I’m > on CentOS 7.6. > > How can I check if is in fact this bug? > > Here are some errors on sssd_ssh with debug_level = 9 enabled: > > ==> /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:[email protected]<mailto:[email protected]>] > > ==> /var/log/sssd/sssd_cluster.iq.ufrj.br.log <==
Can you also enable debug_level for the domain to see why is sssd_be replying with Invalid Argument? > > ==> /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] > > > > > Installed versions: > > [root@headnode ~]# rpm -qa | grep -i sssd > sssd-client-1.16.4-21.el7.x86_64 > sssd-ldap-1.16.4-21.el7.x86_64 > sssd-common-pac-1.16.4-21.el7.x86_64 > sssd-dbus-1.16.4-21.el7.x86_64 > sssd-ipa-1.16.4-21.el7.x86_64 > sssd-proxy-1.16.4-21.el7.x86_64 > sssd-common-1.16.4-21.el7.x86_64 > sssd-ad-1.16.4-21.el7.x86_64 > python-sssdconfig-1.16.4-21.el7.noarch > sssd-krb5-common-1.16.4-21.el7.x86_64 > sssd-1.16.4-21.el7.x86_64 > sssd-krb5-1.16.4-21.el7.x86_64 > > > Thanks, > > > _______________________________________________ > FreeIPA-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedorahosted.org/archives/list/[email protected] _______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected]
