Hi,

I searched a bug description:

This is actually a bug. I've been seeing this myself and it appears I am not alone.

Rebooting is just a workaround that fixes this _sometimes_ and its sheer luck, due to a race condition. The issue seems to be affecting other distro's too and seems to be due to a stale /run/nologin file being left lingering after boot, making login impossible. So its not really solved at all until the underlying race condition (bug) gets fixed.

If you ctrl-alt-f1 and login as root and remove /run/nologin all will be well (for a little while).

Please see the following links where its explained in more detail:

https://bugzilla.opensuse.org/show_bug.cgi?id=980324

Bug filed with systemd author:

https://github.com/systemd/systemd/issues/3436

https://ubuntuforums.org/showthread.php?t=2327330&s=5adf394c8fb2da8aa4f4e067afb1c68b&p=13504009#post13504009

You can reboot to try solve it.

or, just remove pam_nologin.so at /etc/pam.d/sshd


On 10/16/17 17:21, Frédéric wrote:
Hi,

This morning after booting, I can see the screen of sddm, fine.
But nobody can login from from there.
Going to a terminal, we can see this message:
system is booting up. see pam_nologin (8)

We discovered a /run/nologin file that we had to remove.

The log is provided below.

Any idea what is the cause of that?

F

oct. 16 08:49:02 gamma sddm-helper[1930]: pam_kwallet5(sddm:auth):
(null): pam_sm_authenticate
oct. 16 08:49:02 gamma audit[1930]: USER_AUTH pid=1930 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
grantors=pam_unix,pam_gnome_keyring,pam_kwallet5,pam_kwallet
acct="ale" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=?
res=success'
oct. 16 08:49:02 gamma audit[1930]: USER_ACCT pid=1930 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
grantors=? acct="ale" exe="/usr/libexec/sddm-helper" hostname=? addr=?
terminal=? res=failed'
oct. 16 08:49:02 gamma sddm[1581]: Oops, secure memory pool already initialized
oct. 16 08:49:02 gamma sddm-helper[1930]: pam_kwallet(sddm:auth):
(null): pam_sm_authenticate
oct. 16 08:49:02 gamma sddm[1581]: Authentication error: "\"System is
booting up. See pam_nologin(8)\""
oct. 16 08:49:02 gamma sddm-helper[1930]: [PAM] acctMgmt: Authentication failure
oct. 16 08:49:02 gamma sddm[1581]: Authentication error:
"Authentication failure"
oct. 16 08:49:02 gamma sddm[1581]: Auth: sddm-helper exited with 1
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org