From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Brent B. Powers" Newsgroups: gmane.emacs.bugs Subject: bug#65005: server hangs forever if not properly initialized Date: Tue, 1 Aug 2023 18:24:35 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004199510601e4daf1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16862"; mail-complaints-to="usenet@ciao.gmane.io" To: 65005@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 02 04:28:26 2023 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 1qR1b8-0004GL-A6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Aug 2023 04:28:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qR1am-0002ic-1h; Tue, 01 Aug 2023 22:28:04 -0400 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 1qR1ak-0002iO-I7 for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2023 22:28:02 -0400 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 1qR1ak-0001Eo-AF for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2023 22:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qR1ak-0001uu-2h for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2023 22:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Brent B. Powers" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Aug 2023 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65005 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16909432717350 (code B ref -1); Wed, 02 Aug 2023 02:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2023 02:27:51 +0000 Original-Received: from localhost ([127.0.0.1]:48528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qR1aY-0001uU-U2 for submit@debbugs.gnu.org; Tue, 01 Aug 2023 22:27:51 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:49698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQyjX-0005kA-IP for submit@debbugs.gnu.org; Tue, 01 Aug 2023 19:24:55 -0400 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 1qQyjS-0000mh-7e for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2023 19:24:50 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQyjQ-0006TO-QA for bug-gnu-emacs@gnu.org; Tue, 01 Aug 2023 19:24:49 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b9cdba1228so79598681fa.2 for ; Tue, 01 Aug 2023 16:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690932286; x=1691537086; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Co1+J4vAngzeEy6EmXvOJT9sWVhx2lqRq0nUE3x5NS8=; b=Fv2UsSBuzQAeu8UItSp+8os0AiFepV9uuvUeKGBc2PWwt5ZBRzdWkUwFHqymDuxWgQ yk8RHcrqBk6tecDx+Qr5RSrDr97KL6vKcCRqZ4jvCiHs/rmVjWma9IBE9bmvhQ6HXsEL wwR26NJTgUc2OOJxsuWdB6xyNxxoqIBJHbHoia/Pn7wcwN7jhMmMHPAFwQPF4VgGdLVx nxOhYfdy0ZuV5sd7UI9e6d2jcwWROatnTilNZqK0tvG2FShIwhw0LfZs6bqG14LSjqda +ivZwzHyRpIIiDCb+Sx6GG2HdYYRYaZ/ngYpZlKx989bKruPp8VrB2Dq9dPYJgrO+wim lVEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690932286; x=1691537086; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Co1+J4vAngzeEy6EmXvOJT9sWVhx2lqRq0nUE3x5NS8=; b=SuCl8bddirGeEiVIC0paAgHmgALEfqqy5FUBbP5rd/ByzNYpmWrvhlvliPJTWlVD+U 8s3AzcOY7x0ahQ1lFUQjVHIzVz9CRVNCm8ujJetjOSi9UhRtGuQuT4juJ2ITA2wpCo6c 5uiexHsUrtXJPIHZAgjWEdYx3O0YCE9fmdF8rqzZBKkvOwWstzzfzUa7/Y0UkjEA6WXJ XN5ww1TmAYJer1/NK4F8wfW/zqrnvzFkt9SZoFQDcR1pEpxHabjQLbfiKhSa67ounfQp Ok2LaHw8/jd3k3tq9UU8fzskJJ9NTgStxylWcNaPiPocplEmtiGCmQmt68LFAPVICd7O UQfw== X-Gm-Message-State: ABy/qLazYZqp1pJOZJnYVDbN7pNDILv//O5GYHnvVDhTG7RTPeTf5/N4 a2g+1GDJ+giepooxzg0BQu8BirX0kFXIul+B16r9HKHbQRg= X-Google-Smtp-Source: APBJJlESrWsuHyZOe9VTsH5nHOzUDflZOCaz8mkYsrU1v0LRGU/PnntpsdxyY3/clGwDsx+9NRlspxCUcfb8fQtdrF4= X-Received: by 2002:a2e:805a:0:b0:2b6:e2aa:8fbc with SMTP id p26-20020a2e805a000000b002b6e2aa8fbcmr3099954ljg.8.1690932286165; Tue, 01 Aug 2023 16:24:46 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=brent.b.powers@gmail.com; helo=mail-lj1-x232.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 01 Aug 2023 22:27:49 -0400 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:266481 Archived-At: --0000000000004199510601e4daf1 Content-Type: text/plain; charset="UTF-8" server-start fails to start, with the message: apply: Cannot bind server socket: No such file or directory To reproduce: 1. Kill any existing emacs-server 2. Rename or delete $XDG_RUNTIME_DIR/emacs 3. Execute server-start The problem is that the directory specified in XDG_RUNTIME_DIR existed, but with no emacs subdirectory. I do believe that emacs ought simply create the directory --0000000000004199510601e4daf1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
server-start fails to start, with the message:

apply: Cannot bind server socket: No such file or directory

To reproduce:

1. = Kill any existing emacs-server
2. Rename or delete $XDG_RUNTIME_D= IR/emacs
3. Execute server-start


The problem is that the directory specified in XDG_RUNTIME_DIR exis= ted, but with no emacs subdirectory. I do believe that emacs ought simply c= reate the directory


--0000000000004199510601e4daf1--