public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Cannot shutdown or reboot because of logind disconnection
@ 2022-09-17  2:40 johnstrass
  2022-09-17  6:15 ` Walter Dnes
  0 siblings, 1 reply; 9+ messages in thread
From: johnstrass @ 2022-09-17  2:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Dear friends,


After compiling gcc,  I ran reboot or shutdown, and it shows
" Failed to reboot system via logind: connection timed out".


If use "systemctl daemon-reexec" or "systemctl daemon-reload", it shows "Failed to reload daemon: Transport endpoint is not connected".


Compiling gcc uses alot of memory, sometimes only less then 10MB left free ( I am doing this on a small yeeloong netbook with only 1GB memory).  This may cause the logind disconnected. However, after the compilation, there should be enough memery left. However the logind is still disconnected.


If this happens, what is the best way to reboot or shutdown?


Why does the systemd need logind to shutdown? Is it possible to design a way to just shutdown without access of the logind?


Thanks.

[-- Attachment #2: Type: text/html, Size: 1274 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-17 18:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-17  2:40 [gentoo-user] Cannot shutdown or reboot because of logind disconnection johnstrass
2022-09-17  6:15 ` Walter Dnes
2022-09-17  9:37   ` johnstrass
2022-09-17 11:11     ` tastytea
2022-09-17 11:43       ` Michael
2022-09-17 12:21         ` johnstrass
2022-09-17 13:08           ` Rich Freeman
2022-09-17 15:05             ` johnstrass
2022-09-17 18:20   ` Frank Steinmetzger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox