unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36221: Make GDM *not* restart 504 times on failure
@ 2019-06-15  6:18 pelzflorian (Florian Pelz)
  2019-06-17  9:22 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-06-15  6:18 UTC (permalink / raw)
  To: 36221

If GDM does not start for whatever reason, it attempts to restart 504
more times which all fail and overwrite all five old logs.  It
probably should not attempt to restart at all.

Regards,
Florian

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

* bug#36221: Make GDM *not* restart 504 times on failure
  2019-06-15  6:18 bug#36221: Make GDM *not* restart 504 times on failure pelzflorian (Florian Pelz)
@ 2019-06-17  9:22 ` Ludovic Courtès
  2019-06-20 20:14   ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2019-06-17  9:22 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 36221

Hi,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

> If GDM does not start for whatever reason, it attempts to restart 504
> more times which all fail and overwrite all five old logs.  It
> probably should not attempt to restart at all.

I think the auto-restart code that’s triggered is in GDM itself, no?

Ludo’.

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

* bug#36221: Make GDM *not* restart 504 times on failure
  2019-06-17  9:22 ` Ludovic Courtès
@ 2019-06-20 20:14   ` pelzflorian (Florian Pelz)
  2019-06-23 17:23     ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 5+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-06-20 20:14 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36221

On Mon, Jun 17, 2019 at 11:22:57AM +0200, Ludovic Courtès wrote:
> "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:
> I think the auto-restart code that’s triggered is in GDM itself, no?
> 

Yes, you are right, I did not expect that.  GDM gets stuck in a
not-quite-endless loop of recreating its seat after Xorg failures, in
gdm-3.28.2/daemon/gdm-local-display-factory.c in “case
GDM_DISPLAY_FINISHED”, until after some 505 repetitions recreation
fails due to “WARNING **: 20:41:01.908: Could not start command
'/gnu/store/2sh9nh36fdh2k6l65q24154c2czq1v57-gdm-3.28.2/libexec/gdm-session-worker':
Too many open files”.  I will investigate further if this happens on
newer GNOME and other distros as well.

Regards,
Florian

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

* bug#36221: Make GDM *not* restart 504 times on failure
  2019-06-20 20:14   ` pelzflorian (Florian Pelz)
@ 2019-06-23 17:23     ` pelzflorian (Florian Pelz)
  2019-06-24  8:30       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-06-23 17:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36221-done

This is not a Guix bug.  Closing.

Very many GDM restarts is what happens on Debian Stretch and Arch
(GNOME 3.32) as well after renaming /usr/share/xorg/modules, just like
it does on Guix.  On Guix’ wip-gnome3.30 GDM fails in a different way;
maybe I will investigate further and then file a bug at GDM.

Regards,
Florian

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

* bug#36221: Make GDM *not* restart 504 times on failure
  2019-06-23 17:23     ` pelzflorian (Florian Pelz)
@ 2019-06-24  8:30       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-06-24  8:30 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 36221-done

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

> This is not a Guix bug.  Closing.
>
> Very many GDM restarts is what happens on Debian Stretch and Arch
> (GNOME 3.32) as well after renaming /usr/share/xorg/modules, just like
> it does on Guix.  On Guix’ wip-gnome3.30 GDM fails in a different way;
> maybe I will investigate further and then file a bug at GDM.

Thanks for checking!

Ludo’.

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

end of thread, other threads:[~2019-06-24  8:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-15  6:18 bug#36221: Make GDM *not* restart 504 times on failure pelzflorian (Florian Pelz)
2019-06-17  9:22 ` Ludovic Courtès
2019-06-20 20:14   ` pelzflorian (Florian Pelz)
2019-06-23 17:23     ` pelzflorian (Florian Pelz)
2019-06-24  8:30       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).