Looks like the username including a dot causes an error for creating the session. See in attached log: Feb 09 12:03:01 cloud gdm-password][99754]: pam_systemd(gdm-password:session): Failed to get user record: Invalid argument Feb 09 12:03:01 cloud gdm-password][99754]: gkr-pam: unable to locate daemon control file Reproducible: Always Steps to Reproduce: 1.Create a user with a dot in it, e.g. "tony.stark" 2.Set a password for the user "tony.stark" 3.Login via gdm Actual Results: The screen blanks and then the login screen is shown again. Expected Results: The desktop is of the user is shown.
Created attachment 613050 [details] Log journal for logging in process
Is there an upstream bug report?
Just created one: https://gitlab.gnome.org/GNOME/gdm/issues/559
It looks to be a pam_systemd issue https://github.com/systemd/systemd/pull/13244 What systemd version are you running?
I can reproduce the pam_systemd issue with sys-apps/systemd-245_rc1-r1. Feb 22 13:22:05 naomi sshd[2623165]: pam_unix(sshd:session): session opened for user tony.stark(uid=10001) by (uid=0) Feb 22 13:22:05 naomi sshd[2623165]: pam_systemd(sshd:session): Failed to get user record: Invalid argument
I'm using sys-apps/systemd-245_rc1-r1 as well.
I'm working on a patch.
Should be resolved in systemd-245_rc2.