Can't auto login after upgrading to 2.3.1-3ubuntu4 on 20.10

Bug #1917718 reported by Kevin Yeh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sssd (Ubuntu)
Expired
Medium
Unassigned

Bug Description

[Summary]
Can't auto login after upgrading sssd to 2.3.1-3ubuntu in 20.10

[Steps to reproduce]
1. Install ubuntu 20.10
2. set login automatically while installing.
3. after installation reboot once, it works.
4. run apt update; apt install sssd
5. reboot.

[Failure rate]
5/5

[additional information]
System : Dell precsion-3551-C3X, Dell precision-5530-C13, Dell precision-5540

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: sssd 2.3.1-3ubuntu4
ProcVersionSignature: Ubuntu 5.8.0-44.50-generic 5.8.18
Uname: Linux 5.8.0-44-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 4 01:52:59 2021
InstallationDate: Installed on 2020-10-22 (132 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sssd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Kevin Yeh (kevinyeh)
Changed in sssd (Ubuntu):
status: New → Confirmed
Kevin Yeh (kevinyeh)
Changed in sssd (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for taking the time to file this bug.

While checking the logs I noticed this:

Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: Loaded settings from: /usr/lib/realmd/realmd-defaults.conf /usr/lib/realmd/realmd-distro.conf
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: holding daemon: startup
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: starting service
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: connected to bus
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: GLib-GIO: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: released daemon: startup
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: claimed name on bus: org.freedesktop.realmd
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: client using service: :1.115
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: holding daemon: :1.115
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: * Resolving: _ldap._tcp.taipei
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: * Resolving: _ldap._tcp.taipei
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: Resolving taipei failed: No DNS record of the requested type for “_kerberos._udp.taipei”
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: No DNS record of the requested type for “_ldap._tcp.taipei”
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: * Resolving: taipei
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: * Resolving: taipei
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: Error resolving “taipei”: Temporary failure in name resolution
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: * No results: taipei
Mar 4 01:49:13 precision-3551-c3x-202002-27718 realmd[2210]: * No results: taipei

Which makes me believe this is a DNS issue. Could share your sssd conf to help us understand your setup? And possibly reproduce the bug locally. FWIW I am subscribing Sergio who has been working on sssd recently.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for the bug report, Kevin.

I followed your instructions on how to reproduce it, but failed. The auto-login feature is working in my pristine Groovy VM even after I fully upgrade the system and install sssd.

What Lucas pointed above is indeed strange: you could be facing some unrelated issue (like DNS) that might be affecting how your system behaves. For example, it seems like there is some sort of LDAP-based authentication that you're trying to use, maybe?

Other things that caught my attention in the logs:

1) I could not find any mention to sssd.service whatsoever in your journalctl.log.

2) You seem to be using a system that has been configured before. Based on the instructions you posted in the bug description explaining how to reproduce the issue, I was under the impression that the problem happened after a pristine installation of Ubuntu Groovy.

Having said all that, I would like to reinforce Lucas's request and ask you to provide your sssd configuration file so that we can try to reproduce the issue here. Also, please try to mention everything that might affect the authentication process, like the use of LDAP servers, AD, etc.

Because I could not reproduce the bug locally, I am marking it as Incomplete. When you provide the necessary information, feel free to mark the bug as New again.

Thanks.

Changed in sssd (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sssd (Ubuntu) because there has been no activity for 60 days.]

Changed in sssd (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.