Comment 14 for bug 1764853

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: [Bug 1764853] Re: winbind returns PAM_AUTHINFO_UNAVAIL on first login after reboot

I've seen a 5s delay in dns resolution upon first boot in bionic. I don't
have the bug at hand now, but I filed it against system two days ago or so.

On Sat, Apr 21, 2018, 08:48 Andreas Hasenack <email address hidden> wrote:

> Does your normal resolve.conf contain 127.0.0.53, or your actual dns up?
>
> On Sat, Apr 21, 2018, 07:00 msaxl <email address hidden> wrote:
>
>> Some additions:
>>
>> I discovered that if I do not symlink /etc/resolv.conf ->
>> /lib/systemd/resolv.conf but /etc/resolvconf/resolv.conf
>> and add
>> dns=dnsmasq
>> rc-manager=resolvconf
>>
>> in /etc/NetworkManager/NetworkManager.conf,
>>
>> the problem is gone.
>>
>> Additionally I re-added the 127.0.1.1 entry in /etc/hosts (should not be
>> required with systemd-resolved).
>>
>> This entry is the source of the problem: if it is missing, getaddrinfo
>> in source3/lib/util.c should get the domain name from systemd-resolve
>> (hostname -f does, getent hosts <hostname> also), but on the first call
>> after reboot it does not return the fqdn but only the hostname. Very
>> strange.. I will look if I find something in systemd-resolve, maybe
>> there is a regression
>>
>> --
>> You received this bug notification because you are subscribed to samba
>> in Ubuntu.
>> https://bugs.launchpad.net/bugs/1764853
>>
>> Title:
>> winbind returns PAM_AUTHINFO_UNAVAIL on first login after reboot
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1764853/+subscriptions
>>
>