From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#51327: 28.0.60; emacsclient warns about XDG_RUNTIME_DIR when starting daemon on-demand Date: Wed, 8 Dec 2021 14:56:47 -0800 Message-ID: <0e5e4724-7a31-b537-da3a-72e91bb19feb@gmail.com> References: <53706fa9-1458-fb5c-bd31-15ab555b59e9@gmail.com> <834k7kze0z.fsf@gnu.org> <212e4974-785a-65e0-70cc-fed7ea3ddacf@cs.ucla.edu> <3107b151-c56b-7c8d-7277-cbc39273a401@gmail.com> <835yryx5yf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Paul Eggert , 51327@debbugs.gnu.org To: Ulrich Mueller , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 08 23:57:10 2021 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 1mv5s5-0003fv-Ml for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 23:57:09 +0100 Original-Received: from localhost ([::1]:56204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mv5s4-0001Iw-K0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 17:57:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mv5ry-0001IL-2z for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 17:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mv5rx-0001A9-Ro for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 17:57:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mv5rx-0005dJ-RL for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 17:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2021 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51327 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security patch Original-Received: via spool by 51327-submit@debbugs.gnu.org id=B51327.163900421621640 (code B ref 51327); Wed, 08 Dec 2021 22:57:01 +0000 Original-Received: (at 51327) by debbugs.gnu.org; 8 Dec 2021 22:56:56 +0000 Original-Received: from localhost ([127.0.0.1]:41846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv5rs-0005cx-9n for submit@debbugs.gnu.org; Wed, 08 Dec 2021 17:56:56 -0500 Original-Received: from mail-pl1-f181.google.com ([209.85.214.181]:40753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mv5rq-0005ck-LC for 51327@debbugs.gnu.org; Wed, 08 Dec 2021 17:56:55 -0500 Original-Received: by mail-pl1-f181.google.com with SMTP id v19so2543646plo.7 for <51327@debbugs.gnu.org>; Wed, 08 Dec 2021 14:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=yZjx3TiuO/7Et2IZ3MxHk1jY9ITwATTXF4BaaiDscns=; b=Fhx3rb1byTySpGGB1lZ2eSJIaQwe8dnGIy10kwpO1jqud5Xm1m7L8imoqrXIEGTkeC 8k/Jsg7sqqVYEqSvegkXAjysTTEphWKjxMfYkCSV5LeNeB6ME672edpJx1Kazdlq7LWM UYpX/7W+et5cbRiKwJOreMGY7OlfdKY89FT/Baagq57XcUa+IyuLOB/XQx9s67oDCtQv W91YLuoBHd5b/a+yWxPKx5iUo6pi1oAfa9iPu4zkUUC3sPtIwS3qyZD+7JVR+d02OJU4 sBTW400k37xizMh4SjF7tSRpcGr4w8gh1R1acq6esAk4CzO5q8N90IX3RBXypiQzBU9q pAsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yZjx3TiuO/7Et2IZ3MxHk1jY9ITwATTXF4BaaiDscns=; b=jygRGMv5FTYuxvhfLS9+B9uKazO4BE+Y/VRpq0aWaVtJSqZ5c+N7XnEXOj5MnczSOL BwHSMIiPAaG1Rs9fnQRiL3ytT1EtAfF8uRxrsaB7rpSuuNkjeV5WX7RUCyA5J5IlxyQq eKoQ7N6JNB46ewsJQT91J9IuzYHubnTCmS0KOC2caEJzoC95PBSv/N18CpXXE0uikDXA 3qDHO9HGTyDj5JO5bxtg7FqGYbAqw1io81625h3qHHi792+jUJpBgzaMks2vLPeMCRma S3v8Q0UDwNOpRnsyY/90k2MO9NjDoC71jFZAeOLwNLnyNT4VgBuCH0WLgjX84uvfi4Rc 8k+A== X-Gm-Message-State: AOAM5310bDKMNThbgel6vBb2XcW3JO8hYxFFUhPJX2Cmr0WXatgiakGI SvBosBlU0RQ2OU6myuguhlJqaF7SRGc= X-Google-Smtp-Source: ABdhPJwdN/8IXRXNvGRhXoYsv4VQs+D/VkBhChbiEU7R4/gtCYzb3UlzlAt9fVX3atXGnbiax5zR8A== X-Received: by 2002:a17:90b:4f44:: with SMTP id pj4mr10913425pjb.150.1639004208785; Wed, 08 Dec 2021 14:56:48 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id x14sm3836050pjl.27.2021.12.08.14.56.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Dec 2021 14:56:48 -0800 (PST) In-Reply-To: Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:221959 Archived-At: On 12/8/2021 1:56 PM, Ulrich Mueller wrote: > That's not an acceptable solution, because it will break the existing > workflow of users. Furthermore, it will make users jump through hoops to > achieve functionality which was the default in previous versions. > > So, can we please think about a better solution, and not knee-jerk > something half-baked into Emacs 28, like checking for yet another > environment variable? > > Even reverting to the Emacs 27 behaviour would be better than what has > been suggested above: In Emacs 27, you can set EMACS_SOCKET_NAME to make > things work. There's no advantage in introducing yet another variable, > which would only complicate things. Given the goal to release Emacs 28.1 soon, I'm not sure there's time to come up with (and be confident in) a better solution for 28. In that case, I guess the available options are: * If the security issue is considered minor enough, keep the current Emacs 28 behavior and silence the warning. * Otherwise, revert to the Emacs 27 behavior and come up with a better solution for Emacs 29.