[Bug 1764853] Re: winbind returns PAM_AUTHINFO_UNAVAIL on first login after reboot

Andreas Hasenack andreas at canonical.com
Sat Apr 21 11:50:03 UTC 2018


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 <andreas at canonical.com>
wrote:

> Does your normal resolve.conf contain 127.0.0.53, or your actual dns up?
>
> On Sat, Apr 21, 2018, 07:00 msaxl <1764853 at bugs.launchpad.net> 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
>>
>

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is 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



More information about the Ubuntu-server-bugs mailing list