Public bug reported:
~ $ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
~ $ apt-cache policy sssd
sssd:
Installed: 1.15.3-2ubuntu1
Candidate: 1.15.3-2ubuntu1
Version table:
*** 1.15.3-2ubuntu1 500
500 http://de.archive.ubuntu.com/ubuntu artful/main amd64 Packages
100 /var/lib/dpkg/status
What I expect: Login in with my ldap/kerberos credentials
What happened:
After boot my host from time to time my kerberos/ldap login don't work.
In the log (/var/log/sssd/sssd_LDAP.log) I can see
sssd has a problem to resolve the kerberos and ldap server from the config in
DNS.
At the same time "getent hosts" or "host" works without problem.
After restart of the sssd service everything is ok.
In the log when it don't work:
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [fo_resolve_service_send] (0x0100):
Trying to resolve service 'KERBEROS'
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_files_send]
(0x0100): Trying to resolve A record of 'foo.x.x' in files
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [set_server_common_status]
(0x0100): Marking server 'foo.x.x' as 'resolving name'
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_files_send]
(0x0100): Trying to resolve AAAA record of 'foo.x.x' in files
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_dns_query]
(0x0100): Trying to resolve A record of 'foo.x.x' in DNS
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_done]
(0x0040): querying hosts database failed [5]: Input/output error
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [fo_resolve_service_done] (0x0020):
Failed to resolve server 'foo.x.x': Could not contact DNS servers
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [set_server_common_status]
(0x0100): Marking server 'foo.x.x' as 'not working'
(Wed Nov 29 09:26:24 2017) [sssd[be[LDAP]]] [be_resolve_server_process]
(0x0080): Couldn't resolve server (foo.x.x), resolver returned [5]:
Input/output error
When it works (after restart of sssd):
(Wed Nov 29 09:30:30 2017) [sssd[be[LDAP]]] [fo_resolve_service_send] (0x0100):
Trying to resolve service 'KERBEROS'
(Wed Nov 29 09:30:30 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_files_send]
(0x0100): Trying to resolve A record of 'foo.x.x' in files
(Wed Nov 29 09:30:30 2017) [sssd[be[LDAP]]] [set_server_common_status]
(0x0100): Marking server 'foo.x.x' as 'resolving name'
(Wed Nov 29 09:30:30 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_files_send]
(0x0100): Trying to resolve AAAA record of 'foo.x.x' in files
(Wed Nov 29 09:30:30 2017) [sssd[be[LDAP]]] [resolv_gethostbyname_dns_query]
(0x0100): Trying to resolve A record of 'foo.x.x' in DNS
(Wed Nov 29 09:30:30 2017) [sssd[be[LDAP]]] [set_server_common_status]
(0x0100): Marking server 'foo.x.x' as 'name resolved'
regards
** Affects: sssd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1735115
Title:
sssd can't resolve hostname in config with dns
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1735115/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs