systemctl restart systemd-logind.service reboots/hangs

Karl Auer kauer at biplane.com.au
Tue Jul 7 03:31:34 UTC 2020


Just out of interest, would anyone expect (on 20.04) the above command
to cause a reset or hang?

I changed /etc/systemd/login.conf, then ran this command:

systemctl restart systemd-logind.service

It's happened twice now. I am fine with it causing a logout (which is
what it does on a vanilla 20.04 install on a virtual) but a full reset
seems extreme. last on the VM shows these entries, meaning the VM did
not reset, but did log me out:

kauer    :1 :1  Tue Jul  7 13:22   still logged in
kauer    :1 :1  Tue Jul  7 13:19 - 13:22  (00:02)
kauer    :0 :0  Tue Jul  7 13:18 - 13:18  (00:00)
reboot   system boot  5.4.0-40-generic Mon Jul  6 02:19   still running

On my real system, though, I see this:

kauer    :1 :1  Mon Jul  6 02:20   still logged in
reboot   system boot  5.4.0-40-generic Mon Jul  6 02:19   still running
kauer    :1 :1  Mon Jul  6 00:58 - crash  (01:20)

That crash is when I ran the restart command above.

Obviously DO NOT TEST THIS unless you have closed all open files etc.

I've also seen two other crashes not related to running that command,
so I'm starting to wonder about 20.04 (or my RAM).

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
Old fingerprint: 8D08 9CAA 649A AFEF E862 062A 2E97 42D4 A2A0 616D





More information about the ubuntu-users mailing list