From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails Date: Wed, 14 Feb 2024 16:35:00 +0200 Message-ID: <86plwzxgff.fsf@gnu.org> References: <875xys127y.fsf@> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24443"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68799@debbugs.gnu.org, sbaugh@janestreet.com To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 14 15:36:04 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1raGMm-00065G-BR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Feb 2024 15:36:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raGMW-0003m3-5e; Wed, 14 Feb 2024 09:35:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raGMS-0003j6-V8 for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 09:35:45 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raGMS-0006u1-K0 for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 09:35:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raGMk-0001KP-Dt for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 09:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2024 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68799 X-GNU-PR-Package: emacs Original-Received: via spool by 68799-submit@debbugs.gnu.org id=B68799.17079213325069 (code B ref 68799); Wed, 14 Feb 2024 14:36:02 +0000 Original-Received: (at 68799) by debbugs.gnu.org; 14 Feb 2024 14:35:32 +0000 Original-Received: from localhost ([127.0.0.1]:50908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raGMF-0001Jh-Um for submit@debbugs.gnu.org; Wed, 14 Feb 2024 09:35:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raGMC-0001JR-Or for 68799@debbugs.gnu.org; Wed, 14 Feb 2024 09:35:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raGLo-0006hl-7P; Wed, 14 Feb 2024 09:35:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=W/TQwShaJSajZLdMIRj5hEwZjdKR7Rzpk5FAWXOAaFI=; b=gxhk2s04/dI155Anou2E DhalF+B490KtrMJHUTL248t+AZ1Dha7sWnDy7cG0c5j8PpIaA3kkZnmx3JhAj0VNyrpxTztuoRFkt vAWITDaELaVqYFA0L6uu52O7LGigQCCyTQXGEJk2U1WxfzaQlkLZad7m1HMBRTAKAJqk7inYN/p7r 2WPmHW2z7enj78LBLsZCXfUh7AW7AJP/PNEs/wel3PHV2X8kNsmR7AyiH3L/LZ5LYKev9vjNhq+Ns X11pearFhkVk1RrOxICrCr8Ae4dr2IWuT5TjaXd3L91eK40LYZnm5CWAWCI85XKbJ/hnEAL3vZnzg Dswq+Fj/LYleKQ==; In-Reply-To: <875xys127y.fsf@> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280006 Archived-At: > Cc: 68799@debbugs.gnu.org > Date: Tue, 13 Feb 2024 23:30:41 +0200 > From: Björn Bidar via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > A side effect of this bug and another is that when emacs --fg-daemon is > used e.g. in combination with a systemd service. If the service > takes to long to be ready when a user calls emacsclient that it using > the standard desktop file it creates another daemon which will then > make the Emacs started with --fg-daemon fail resulting in the emacs in > the systemd service fail in circles. Please tell more details about the scenario you have in mind, because I don't think I follow. In particular, why would starting the daemon take too long? due to what problems? And how is user invoking emacsclient relevant in this case? AFAIU, systemd starts Emacs at system start or user login time, whereas emacsclient is invoked when the user wants to run some command or clicks a desktop shortcut, and those events are not adjacent in time. I'm probably missing something here. Thanks.