From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#36221: Make GDM *not* restart 504 times on failure Date: Thu, 20 Jun 2019 22:14:01 +0200 Message-ID: <20190620201401.htd7aht5gng4iwyh@pelzflorian.localdomain> References: <20190615061837.htgtcuvlav7chczc@pelzflorian.localdomain> <87pnnc1s7i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58449) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1he3Sm-0000Vc-Gp for bug-guix@gnu.org; Thu, 20 Jun 2019 16:15:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1he3Se-0005E9-HK for bug-guix@gnu.org; Thu, 20 Jun 2019 16:15:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1he3SY-0005AH-4N for bug-guix@gnu.org; Thu, 20 Jun 2019 16:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1he3SX-0006yW-SH for bug-guix@gnu.org; Thu, 20 Jun 2019 16:15:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87pnnc1s7i.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36221@debbugs.gnu.org On Mon, Jun 17, 2019 at 11:22:57AM +0200, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" 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