From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: bug#33847: 27.0.50; emacsclient does not find server socket Date: Wed, 26 Dec 2018 00:29:39 +0100 Message-ID: References: <8a6fc59c-08b3-e274-4fb1-74674c79540a@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545780488 12897 195.159.176.226 (25 Dec 2018 23:28:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2018 23:28:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33847@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 26 00:28:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gbw7H-0003Gk-9m for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Dec 2018 00:28:03 +0100 Original-Received: from localhost ([127.0.0.1]:43695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbw9O-0007oI-1U for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Dec 2018 18:30:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbw9G-0007lw-Fc for bug-gnu-emacs@gnu.org; Tue, 25 Dec 2018 18:30:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gbw9C-0001RA-ES for bug-gnu-emacs@gnu.org; Tue, 25 Dec 2018 18:30:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gbw9C-0001Q2-Am for bug-gnu-emacs@gnu.org; Tue, 25 Dec 2018 18:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gbw9C-0006g7-47 for bug-gnu-emacs@gnu.org; Tue, 25 Dec 2018 18:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Dec 2018 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33847-submit@debbugs.gnu.org id=B33847.154578059325633 (code B ref 33847); Tue, 25 Dec 2018 23:30:02 +0000 Original-Received: (at 33847) by debbugs.gnu.org; 25 Dec 2018 23:29:53 +0000 Original-Received: from localhost ([127.0.0.1]:36502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gbw93-0006fN-3f for submit@debbugs.gnu.org; Tue, 25 Dec 2018 18:29:53 -0500 Original-Received: from smtp.gentoo.org ([140.211.166.183]:40604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gbw90-0006f7-7J for 33847@debbugs.gnu.org; Tue, 25 Dec 2018 18:29:50 -0500 Original-Received: from a1i15 (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 64E61335C3D; Tue, 25 Dec 2018 23:29:43 +0000 (UTC) In-Reply-To: <8a6fc59c-08b3-e274-4fb1-74674c79540a@cs.ucla.edu> (Paul Eggert's message of "Tue, 25 Dec 2018 13:02:34 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153851 Archived-At: >>>>> On Tue, 25 Dec 2018, Paul Eggert wrote: > Instead, I suggest unsetting XDG_RUNTIME_DIR if you wish to start an > Emacs client or server that is independent of your session and are on > a host that is secured well enough so that the security issues are of > no concern. Alternatively, you can use --socket-name when starting > emacsclient. IMHO that's not an acceptable solution. emacsclient should just work in the default configuration, without requiring the user to jump through hoops, and an Emacs daemon should persist between sessions (otherwise "daemon" would be a misnomer). Or is that use case really so uncommon? Also, if there is a security problem, how would it disappear by moving the socket to XDG_RUNTIME_DIR? Note that other tools like "screen" also place their sockets in a subdir of /tmp.