dnf system-upgrade reboot stalled after reboot (KDE F26->F27)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

dnf system-upgrade reboot stalled after reboot (KDE F26->F27)

Frédéric
I followed the instruction from
http://fedoraproject.org/wiki/DNF_system_upgrade
to upgrade a system from F26 to F27. Everything seemed to work
correctly (all packages installed and checked), then the system
rebooted on F27. I saw the fedora icon now surrounded by a white
square.
But it is now stalled with only this on the screen:
[   6.196960] tpm tpm0: tpm_try_transmit: tpm_send: error -62.

Apparently, I can access the system with ssh. Looking at the journal,
I see a lot of red (many more such lines in the log):

May 15 14:14:50 beta sddm-helper[4245]: PAM adding faulty module:
/usr/lib64/security/pam_elogind.so
May 15 14:14:50 beta audit[4245]: USER_ACCT pid=4245 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
grantors=pam_permit acct="sddm" exe="/usr/libe
May 15 14:14:50 beta audit[4245]: USER_AUTH pid=4245 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
grantors=pam_permit acct="sddm" exe="/usr/
May 15 14:14:50 beta sddm-helper[4245]: PAM unable to
dlopen(/usr/lib64/security/pam_elogind.so):
/usr/lib64/security/pam_elogind.so: cannot open shared object file: No
such file or directory
May 15 14:14:50 beta sddm[1233]: QProcess: Destroyed while process
("/usr/libexec/sddm-helper") is still running.
May 15 14:14:49 beta sddm-helper[4240]: PAM adding faulty module:
/usr/lib64/security/pam_elogind.so
May 15 14:14:49 beta audit[4240]: USER_ACCT pid=4240 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
grantors=pam_permit acct="sddm" exe="/usr/libe
May 15 14:14:49 beta audit[4240]: USER_AUTH pid=4240 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
grantors=pam_permit acct="sddm" exe="/usr/
May 15 14:14:49 beta sddm-helper[4240]: PAM unable to
dlopen(/usr/lib64/security/pam_elogind.so):
/usr/lib64/security/pam_elogind.so: cannot open shared object file: No
such file or directory
May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
("/usr/libexec/sddm-helper") is still running.
May 15 14:14:49 beta sddm-helper[4235]: PAM adding faulty module:
/usr/lib64/security/pam_elogind.so
May 15 14:14:49 beta audit[4235]: USER_ACCT pid=4235 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
grantors=pam_permit acct="sddm" exe="/usr/libe
May 15 14:14:49 beta audit[4235]: USER_AUTH pid=4235 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
grantors=pam_permit acct="sddm" exe="/usr/
May 15 14:14:49 beta sddm-helper[4235]: PAM unable to
dlopen(/usr/lib64/security/pam_elogind.so):
/usr/lib64/security/pam_elogind.so: cannot open shared object file: No
such file or directory
May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
("/usr/libexec/sddm-helper") is still running.
May 15 14:14:49 beta sddm-helper[4230]: PAM adding faulty module:
/usr/lib64/security/pam_elogind.so
May 15 14:14:49 beta audit[4230]: USER_ACCT pid=4230 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
grantors=pam_permit acct="sddm" exe="/usr/libe
May 15 14:14:49 beta audit[4230]: USER_AUTH pid=4230 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
grantors=pam_permit acct="sddm" exe="/usr/
May 15 14:14:49 beta sddm-helper[4230]: PAM unable to
dlopen(/usr/lib64/security/pam_elogind.so):
/usr/lib64/security/pam_elogind.so: cannot open shared object file: No
such file or directory
May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
("/usr/libexec/sddm-helper") is still running.
May 15 14:14:49 beta sddm-helper[4225]: PAM adding faulty module:
/usr/lib64/security/pam_elogind.so
May 15 14:14:49 beta audit[4225]: USER_ACCT pid=4225 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
grantors=pam_permit acct="sddm" exe="/usr/libe
May 15 14:14:49 beta audit[4225]: USER_AUTH pid=4225 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
grantors=pam_permit acct="sddm" exe="/usr/
May 15 14:14:49 beta sddm-helper[4225]: PAM unable to
dlopen(/usr/lib64/security/pam_elogind.so):
/usr/lib64/security/pam_elogind.so: cannot open shared object file: No
such file or directory
May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
("/usr/libexec/sddm-helper") is still running.
May 15 14:14:49 beta sddm-helper[4220]: PAM adding faulty module:
/usr/lib64/security/pam_elogind.so

Thanks,

F
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: dnf system-upgrade reboot stalled after reboot (KDE F26->F27)

Ed Greshko
On 05/15/18 20:15, Frédéric wrote:

> I followed the instruction from
> http://fedoraproject.org/wiki/DNF_system_upgrade
> to upgrade a system from F26 to F27. Everything seemed to work
> correctly (all packages installed and checked), then the system
> rebooted on F27. I saw the fedora icon now surrounded by a white
> square.
> But it is now stalled with only this on the screen:
> [   6.196960] tpm tpm0: tpm_try_transmit: tpm_send: error -62.
>
> Apparently, I can access the system with ssh. Looking at the journal,
> I see a lot of red (many more such lines in the log):
>
> May 15 14:14:50 beta sddm-helper[4245]: PAM adding faulty module:
> /usr/lib64/security/pam_elogind.so
> May 15 14:14:50 beta audit[4245]: USER_ACCT pid=4245 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
> grantors=pam_permit acct="sddm" exe="/usr/libe
> May 15 14:14:50 beta audit[4245]: USER_AUTH pid=4245 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
> grantors=pam_permit acct="sddm" exe="/usr/
> May 15 14:14:50 beta sddm-helper[4245]: PAM unable to
> dlopen(/usr/lib64/security/pam_elogind.so):
> /usr/lib64/security/pam_elogind.so: cannot open shared object file: No
> such file or directory
> May 15 14:14:50 beta sddm[1233]: QProcess: Destroyed while process
> ("/usr/libexec/sddm-helper") is still running.
> May 15 14:14:49 beta sddm-helper[4240]: PAM adding faulty module:
> /usr/lib64/security/pam_elogind.so
> May 15 14:14:49 beta audit[4240]: USER_ACCT pid=4240 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
> grantors=pam_permit acct="sddm" exe="/usr/libe
> May 15 14:14:49 beta audit[4240]: USER_AUTH pid=4240 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
> grantors=pam_permit acct="sddm" exe="/usr/
> May 15 14:14:49 beta sddm-helper[4240]: PAM unable to
> dlopen(/usr/lib64/security/pam_elogind.so):
> /usr/lib64/security/pam_elogind.so: cannot open shared object file: No
> such file or directory
> May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
> ("/usr/libexec/sddm-helper") is still running.
> May 15 14:14:49 beta sddm-helper[4235]: PAM adding faulty module:
> /usr/lib64/security/pam_elogind.so
> May 15 14:14:49 beta audit[4235]: USER_ACCT pid=4235 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
> grantors=pam_permit acct="sddm" exe="/usr/libe
> May 15 14:14:49 beta audit[4235]: USER_AUTH pid=4235 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
> grantors=pam_permit acct="sddm" exe="/usr/
> May 15 14:14:49 beta sddm-helper[4235]: PAM unable to
> dlopen(/usr/lib64/security/pam_elogind.so):
> /usr/lib64/security/pam_elogind.so: cannot open shared object file: No
> such file or directory
> May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
> ("/usr/libexec/sddm-helper") is still running.
> May 15 14:14:49 beta sddm-helper[4230]: PAM adding faulty module:
> /usr/lib64/security/pam_elogind.so
> May 15 14:14:49 beta audit[4230]: USER_ACCT pid=4230 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
> grantors=pam_permit acct="sddm" exe="/usr/libe
> May 15 14:14:49 beta audit[4230]: USER_AUTH pid=4230 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
> grantors=pam_permit acct="sddm" exe="/usr/
> May 15 14:14:49 beta sddm-helper[4230]: PAM unable to
> dlopen(/usr/lib64/security/pam_elogind.so):
> /usr/lib64/security/pam_elogind.so: cannot open shared object file: No
> such file or directory
> May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
> ("/usr/libexec/sddm-helper") is still running.
> May 15 14:14:49 beta sddm-helper[4225]: PAM adding faulty module:
> /usr/lib64/security/pam_elogind.so
> May 15 14:14:49 beta audit[4225]: USER_ACCT pid=4225 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting
> grantors=pam_permit acct="sddm" exe="/usr/libe
> May 15 14:14:49 beta audit[4225]: USER_AUTH pid=4225 uid=0
> auid=4294967295 ses=4294967295
> subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication
> grantors=pam_permit acct="sddm" exe="/usr/
> May 15 14:14:49 beta sddm-helper[4225]: PAM unable to
> dlopen(/usr/lib64/security/pam_elogind.so):
> /usr/lib64/security/pam_elogind.so: cannot open shared object file: No
> such file or directory
> May 15 14:14:49 beta sddm[1233]: QProcess: Destroyed while process
> ("/usr/libexec/sddm-helper") is still running.
> May 15 14:14:49 beta sddm-helper[4220]: PAM adding faulty module:
> /usr/lib64/security/pam_elogind.so
See https://bugzilla.redhat.com/show_bug.cgi?id=1515100.

I didn't have a problem when I upgraded a while back.  I don't have F27 system that
had been updated from F26.  But FWIW the current /etc/pam.d/sddm-greeter file contains.

#%PAM-1.0

# Load environment from /etc/environment and ~/.pam_environment
auth            required pam_env.so

# Always let the greeter start without authentication
auth            required pam_permit.so

# No action required for account management
account         required pam_permit.so

# Can't change password
password        required pam_deny.so

# Setup session
session         required pam_unix.so
-session                optional pam_systemd.so
-session                optional pam_elogind.so

And those error messages don't appear on my system and no pam_elogind.so file exists. 


--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: dnf system-upgrade reboot stalled after reboot (KDE F26->F27)

Frédéric
> See https://bugzilla.redhat.com/show_bug.cgi?id=1515100.
>
> I didn't have a problem when I upgraded a while back.  I don't have F27 system that
> had been updated from F26.  But FWIW the current /etc/pam.d/sddm-greeter file contains.
>
> # Setup session
> session         required pam_unix.so
> -session                optional pam_systemd.so
> -session                optional pam_elogind.so

so the difference with mine is just those dash at the start of the
last 2 lines. Is this the same as commenting the lines?

F
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: dnf system-upgrade reboot stalled after reboot (KDE F26->F27)

Ed Greshko
On 05/15/18 22:18, Frédéric wrote:

>> See https://bugzilla.redhat.com/show_bug.cgi?id=1515100.
>>
>> I didn't have a problem when I upgraded a while back.  I don't have F27 system that
>> had been updated from F26.  But FWIW the current /etc/pam.d/sddm-greeter file contains.
>>
>> # Setup session
>> session         required pam_unix.so
>> -session                optional pam_systemd.so
>> -session                optional pam_elogind.so
> so the difference with mine is just those dash at the start of the
> last 2 lines. Is this the same as commenting the lines?
According to the pam.d man page

       If the type value from the list above is prepended with a - character the
       PAM library will not log to the system log if it is not possible to load
       the module because it is missing in the system. This can be useful
       especially for modules which are not always installed on the system and
       are not required for correct authentication and authorization of the
       login session.

So, it isn't the same as commenting the line. 


--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: dnf system-upgrade reboot stalled after reboot (KDE F26->F27)

Frédéric
Thank you very much Ed, it worked. I added the dash in front of the 2
last lines and rebooted.

F
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]