From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 07 00:59:11 2015 Received: (at submit) by debbugs.gnu.org; 7 Jul 2015 04:59:11 +0000 Received: from localhost ([127.0.0.1]:42670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCKyM-0001ms-5R for submit@debbugs.gnu.org; Tue, 07 Jul 2015 00:59:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCI94-00069A-1R for submit@debbugs.gnu.org; Mon, 06 Jul 2015 21:58:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCI8w-0004SQ-PY for submit@debbugs.gnu.org; Mon, 06 Jul 2015 21:57:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCI8w-0004SM-MY for submit@debbugs.gnu.org; Mon, 06 Jul 2015 21:57:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCI8u-0002iO-1W for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 21:57:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCI8s-0004Qq-0l for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 21:57:51 -0400 Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:33201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCI8r-0004QS-PR for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2015 21:57:49 -0400 Received: by igh16 with SMTP id 16so40603909igh.0 for ; Mon, 06 Jul 2015 18:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WBFf35IGGy/eVrcARTvl6rAG8s9gUaqusSk+107GRi4=; b=ZLllnQbrUEDvo9t0tZcOFtXwMhricCwjd3wrVVMMt7ny3TPQF56XM4YKo8u4H7BLhd q1pXH1HaYPRluRTbq4LDxGDorfZIMP6NIhTdPtwTMhNfHocqz/iKwPJOHXEsKOW3MV2n 868hO1yAApzIYCHuN7I3FdnhF/5k43eBKJZcEOgtICaoGFYBrfaG1qJ97ocncb7BUkEa H+szxd5j7/8YBw5cfxpxLM5EDAuJ08IV5+nHxZVqHJSgwVnkiboa3VkW9vqAMB7YDl6p jPNqjbj2KCG/aSfaGZZjuy4NfPAUshHqu23y82nWgCoCkd5XWu3myY82cBoh7axYGmAm 29LA== X-Received: by 10.50.30.105 with SMTP id r9mr74490021igh.11.1436234268268; Mon, 06 Jul 2015 18:57:48 -0700 (PDT) MIME-Version: 1.0 From: Mike Alexander Date: Tue, 07 Jul 2015 01:57:38 +0000 Message-ID: Subject: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=e89a8f64277a5fe1f1051a3f59a8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 07 Jul 2015 00:59:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --e89a8f64277a5fe1f1051a3f59a8 Content-Type: text/plain; charset=UTF-8 Many standard programs will automatically use the UID (the number) of a user instead of the USER (username) when the USER string is longer than 8 characters. In my case the username assigned to me is 11 characters long and cannot be changed. Starting the emacs daemon with "emacs --daemon=$EMACS_DAEMON_NAME", where the $EMACS_DAEMON_NAME matches the standard letter, number, underscore requrements, ends up using my UID in the socket creation since my username is longer than 8 characters ("/tmp/emacs$(id -u)/$EMACS_DAEMON_NAME"). However, running "emacsclient -c -s $EMACS_DAEMON_NAME" fails with a refused connection because it attempts to connect using my username instead of the UID and fails to find the socket ("/tmp/emacs$USER/$EMACS_DAEMON_NAME"). These behaviors should be consistent between the two since they're expected to be used in tandem. In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2014-12-18 on GOL-AP21-DV Windowing system distributor `The Cygwin/X Project', version 11.0.11602000 System Description: Ubuntu 10.04.4 LTS Configured using: `configure --prefix=/home/mtalexander/local/ --with-xpm=no --with-gif=no --with-tiff=no' Important settings: locale-coding-system: nil Major mode: Lisp Interaction Minor modes in effect: global-visible-mark-mode: t visible-mark-mode: t helm-mode: t shell-dirtrack-mode: t helm-autoresize-mode: t projectile-global-mode: t projectile-mode: t global-company-mode: t company-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-idle-completions-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-local-symbol-highlight-mode: t global-semantic-idle-summary-mode: t winner-mode: t show-paren-mode: t global-semantic-highlight-func-mode: t global-semantic-stickyfunc-mode: t global-semantic-show-parser-state-mode: t semantic-mode: t global-linum-mode: t linum-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p r t o r t - e m a c s - b u g Recent messages: Loading /home/mtalexander/.emacs.d/smooth-scrolling.el (source)...done Loading /home/mtalexander/.emacs.d/init-etags.el (source)...done Loading /home/mtalexander/.emacs.d/grep-buffers.el (source)...done Loading /home/mtalexander/.emacs.d/multi-term.el (source)...done Loading /home/mtalexander/.emacs.d/linum.el (source)...done ad-handle-definition: `tramp-read-passwd' got redefined Helm completion enabled Loading /home/mtalexander/.emacs.d/elpa/helm-20150319.1356/helm-autoloads.el (source)...done [sml] sml/theme set to respectful For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils company-files company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-c-headers visible-mark lk-file-search xcscope smart-mode-line-respectful-theme smart-mode-line rich-minority helm-swoop helm-projectile helm-config async-bytecomp async helm-aliases helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver shell dired-x dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-help helm-org org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs helm-match-plugin helm-grep helm-regexp helm-plugin grep helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util mm-util mail-prsvr password-cache url-vars mailcap helm-utils compile comint ansi-color helm helm-source projectile ibuf-ext ibuffer dash thingatpt company easy-mmode multi-term cl-macs cl term disp-table ehelp grep-buffers mule-util elscreen dired init-etags smooth-scrolling advice help-fns+ info wid-edit help-fns help-mode+ help-mode edmacro kmacro cl-loaddefs cl-lib package epg-config semantic/mru-bookmark semantic/db-mode semantic/db gv eieio-base semantic/idle semantic/format ezimage semantic/ctxt semantic/decorate/mode semantic/tag-ls semantic/find semantic/decorate pulse winner ring paren semantic/util-modes easymenu semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile cconv eieio-core mode-local cedet linum cus-start cus-load time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 325520 172357) (symbols 48 41544 5) (miscs 40 563 1081) (strings 32 105861 99545) (string-bytes 1 3546932) (vectors 16 32991) (vector-slots 8 629990 41331) (floats 8 197 223) (intervals 56 504 3080) (buffers 960 13) (heap 1024 35991 15990)) --e89a8f64277a5fe1f1051a3f59a8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Many standard programs will automatically use the UID= (the number) of a
user instead of the USER (username) when the U= SER string is longer than
8 characters.=C2=A0 In my case the user= name assigned to me is 11 characters
long and cannot be changed.<= /div>

Starting the emacs daemon with "emacs --daemo= n=3D$EMACS_DAEMON_NAME", where
the $EMACS_DAEMON_NAME matche= s the standard letter, number, underscore requrements, ends up using
<= div>my UID in the socket creation since my username is longer than 8
<= div>characters ("/tmp/emacs$(id -u)/$EMACS_DAEMON_NAME").=C2=A0 H= owever, running
"emacsclient -c -s $EMACS_DAEMON_NAME" = fails with a refused connection
because it attempts to connect us= ing my username instead of the UID and
fails to find the socket (= "/tmp/emacs$USER/$EMACS_DAEMON_NAME").=C2=A0 These
beha= viors should be consistent between the two since they're expected to
be used in tandem.




In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ V= ersion 2.20.1)
=C2=A0of 2014-12-18 on GOL-AP21-DV
Windo= wing system distributor `The Cygwin/X Project', version 11.0.11602000
System Description: Ubuntu 10.04.4 LTS

Configured us= ing:
=C2=A0`configure --prefix=3D/home/mtalexander/local/ --with-= xpm=3Dno
=C2=A0--with-gif=3Dno --with-tiff=3Dno'
Important settings:
=C2=A0 locale-coding-system: nil=

Major mode: Lisp Interaction

=
Minor modes in effect:
=C2=A0 global-visible-mark-mode: t
=C2=A0 visible-mark-mode: t
=C2=A0 helm-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 helm-autoresize-mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 projectile-mode: t=
=C2=A0 global-company-mode: t
=C2=A0 company-mode: t
=C2=A0 global-semantic-mru-bookmark-mode: t
=C2=A0 globa= l-semanticdb-minor-mode: t
=C2=A0 global-semantic-idle-completion= s-mode: t
=C2=A0 global-semantic-idle-scheduler-mode: t
=C2=A0 global-semantic-idle-local-symbol-highlight-mode: t
=C2= =A0 global-semantic-idle-summary-mode: t
=C2=A0 winner-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 global-semantic-highligh= t-func-mode: t
=C2=A0 global-semantic-stickyfunc-mode: t
=C2=A0 global-semantic-show-parser-state-mode: t
=C2=A0 semanti= c-mode: t
=C2=A0 global-linum-mode: t
=C2=A0 linum-mode= : t
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode:= t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-= mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mo= de: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encry= ption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 co= lumn-number-mode: t
=C2=A0 line-number-mode: t
=C2=A0 t= ransient-mark-mode: t

Recent input:
M-x = r e p r t <backspace> <backspace> o r t - e m a=C2=A0
c s - b u g <return>

Recent messages:
=
Loading /home/mtalexander/.emacs.d/smooth-scrolling.el (source)...done=
Loading /home/mtalexander/.emacs.d/init-etags.el (source)...done=
Loading /home/mtalexander/.emacs.d/grep-buffers.el (source)...do= ne
Loading /home/mtalexander/.emacs.d/multi-term.el (source)...do= ne
Loading /home/mtalexander/.emacs.d/linum.el (source)...done
ad-handle-definition: `tramp-read-passwd' got redefined
Helm completion enabled
Loading /home/mtalexander/.emacs.d/elp= a/helm-20150319.1356/helm-autoloads.el (source)...done
[sml] sml/= theme set to respectful
For information about GNU Emacs and the G= NU system, type C-h C-a.

Load-path shadows:
<= div>None found.

Features:
(shadow sort m= ail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies = mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
send= mail rfc2047 rfc2045 ietf-drums mail-utils company-files
company-= oddmuse company-keywords company-etags etags company-gtags
compan= y-dabbrev-code company-dabbrev company-capf company-cmake
company= -xcode company-clang company-semantic company-eclim
company-templ= ate company-css company-nxml company-bbdb company-c-headers
visib= le-mark lk-file-search xcscope smart-mode-line-respectful-theme
s= mart-mode-line rich-minority helm-swoop helm-projectile helm-config
async-bytecomp async helm-aliases helm-mode helm-files rx image-dired
tramp tramp-compat tramp-loaddefs trampver shell dired-x dired-aux = ffap
helm-buffers helm-elscreen helm-tags helm-bookmark helm-adap= tive
helm-info bookmark pp helm-locate helm-help helm-org org org= -macro
org-footnote org-pcomplete pcomplete org-list org-faces or= g-entities
noutline outline org-version ob-emacs-lisp ob ob-tangl= e ob-ref ob-lob
ob-table ob-exp org-src ob-keys ob-comint ob-core= ob-eval org-compat
org-macs org-loaddefs format-spec find-func c= al-menu calendar
cal-loaddefs helm-match-plugin helm-grep helm-re= gexp helm-plugin grep
helm-external helm-net browse-url xml url u= rl-proxy url-privacy
url-expand url-methods url-history url-cooki= e url-domsuf url-util
url-parse auth-source gnus-util mm-util mai= l-prsvr password-cache
url-vars mailcap helm-utils compile comint= ansi-color helm helm-source
projectile ibuf-ext ibuffer dash thi= ngatpt company easy-mmode multi-term
cl-macs cl term disp-table e= help grep-buffers mule-util elscreen dired
init-etags smooth-scro= lling advice help-fns+ info wid-edit help-fns
help-mode+ help-mod= e edmacro kmacro cl-loaddefs cl-lib package
epg-config semantic/m= ru-bookmark semantic/db-mode semantic/db gv
eieio-base semantic/i= dle semantic/format ezimage semantic/ctxt
semantic/decorate/mode = semantic/tag-ls semantic/find semantic/decorate
pulse winner ring= paren semantic/util-modes easymenu semantic/util
semantic semant= ic/tag semantic/lex semantic/fw eieio byte-opt bytecomp
byte-comp= ile cconv eieio-core mode-local cedet linum cus-start cus-load
ti= me-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type
=
mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
<= div>tabulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax=
facemenu font-core frame cham georgian utf-8-lang misc-lang viet= namese
tibetan thai tai-viet lao korean japanese hebrew greek rom= anian slovak
czech european ethiopic indian cyrillic chinese case= -table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvi= ce loaddefs button
faces cus-face macroexp files text-properties = overlay sha1 md5 base64
format env code-pages mule custom widget = hashtable-print-readable
backquote make-network-process dbusbind = gfilenotify dynamic-setting
font-render-setting move-toolbar gtk = x-toolkit x multi-tty emacs)

Memory information:
((conses 16 325520 172357)
=C2=A0(symbols 48 41544 5)
=C2=A0(miscs 40 563 1081)
=C2=A0(strings 32 105861 99545)=
=C2=A0(string-bytes 1 3546932)
=C2=A0(vectors 16 32991= )
=C2=A0(vector-slots 8 629990 41331)
=C2=A0(floats 8 1= 97 223)
=C2=A0(intervals 56 504 3080)
=C2=A0(buffers 96= 0 13)
=C2=A0(heap 1024 35991 15990))
--e89a8f64277a5fe1f1051a3f59a8-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 07 11:48:23 2015 Received: (at 20999) by debbugs.gnu.org; 7 Jul 2015 15:48:23 +0000 Received: from localhost ([127.0.0.1]:43591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCV6c-0003S1-S0 for submit@debbugs.gnu.org; Tue, 07 Jul 2015 11:48:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38099) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCV6b-0003Rn-Bt for 20999@debbugs.gnu.org; Tue, 07 Jul 2015 11:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCV6T-00034K-0j for 20999@debbugs.gnu.org; Tue, 07 Jul 2015 11:48:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCV6Q-00033T-F7; Tue, 07 Jul 2015 11:48:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZCV6O-0006Cx-8A; Tue, 07 Jul 2015 11:48:08 -0400 From: Glenn Morris To: Mike Alexander Subject: Re: bug#20999: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon References: X-Spook: cryptographic Operation Iraqi Freedom S Box Stranded X-Ran: tKKj0wGt@t]vfvP@D2lfO(U)2\em3F}WPQ#q*N4RBnR.5{+^$IPGL$w-[6F&p"T#v%g-Lu X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 07 Jul 2015 11:48:08 -0400 In-Reply-To: (Mike Alexander's message of "Tue, 07 Jul 2015 01:57:38 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: 20999 Cc: 20999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) Mike Alexander wrote: > Starting the emacs daemon with "emacs --daemon=$EMACS_DAEMON_NAME", where > the $EMACS_DAEMON_NAME matches the standard letter, number, underscore > requrements, ends up using > my UID in the socket creation since my username is longer than 8 > characters ("/tmp/emacs$(id -u)/$EMACS_DAEMON_NAME"). I've never seen this use anything BUT the UID, no matter how long your username is. That's what it has always used for me, with a two character username, and emacsclient works fine. Nevertheless, I tried with a username with more than 8 chars, and that too worked fine. > However, running "emacsclient -c -s $EMACS_DAEMON_NAME" fails with a > refused connection because it attempts to connect using my username > instead of the UID and fails to find the socket > ("/tmp/emacs$USER/$EMACS_DAEMON_NAME"). How did you conclude that it was trying to use your username? I don't suppose you have a huge UID? Are you sure your version of emacsclient matches your version of emacs? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 08 11:50:25 2015 Received: (at 20999) by debbugs.gnu.org; 8 Jul 2015 15:50:25 +0000 Received: from localhost ([127.0.0.1]:44438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCrc7-0007u4-Ui for submit@debbugs.gnu.org; Wed, 08 Jul 2015 11:50:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47123) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCrc5-0007to-9v for 20999@debbugs.gnu.org; Wed, 08 Jul 2015 11:50:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCrbx-0003gz-R9 for 20999@debbugs.gnu.org; Wed, 08 Jul 2015 11:50:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,HTML_MESSAGE, RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCrbx-0003gf-O9 for 20999@debbugs.gnu.org; Wed, 08 Jul 2015 11:50:13 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZCrbx-0000nE-Ck for 20999@debbugs.gnu.org; Wed, 08 Jul 2015 11:50:13 -0400 Resent-Message-ID: <21917.18100.843610.379138@gnu.org> Resent-Date: Wed, 8 Jul 2015 11:50:12 -0400 Resent-From: Glenn Morris Resent-To: 20999@debbugs.gnu.org Bcc: rgm@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=95pqKlHiWOX1QM/HZ16c7beK+t4fIQCooVitoE52Ofo=; b=mHwM5GlB1reQjw/nbnrmWOOgC/lklHWaHiEv+XEL+0eLuQl2f2/5qjfchYDchnhn21 01vOIFI4VkhTvpimoEHcxpSq4Kl7XQ7bsdob89S0UsT0uTdRwvBRhcIBV3Lrs6L9sNgG rbhPN+wGMrNMmfnkRxBtm4xcLltw10pMOttPww+o9jwkqXf9TouL60Jrhq+yrvJVWQmX 6cRbNtnQ0IsaDRdt+IbhyP43+fgcOhpG8zLryAnngbdpIIFceqzW/64pAvF0vZF540Si sTHTHJJJ/bJnUYdXyQaVtrIZfkBfTtg70MxuIn3jOT7TcIQtfeGqgXSXVuiHP9QEmfwK sBgg== X-Received: by 10.107.166.203 with SMTP id p194mr10159892ioe.30.1436299228724; Tue, 07 Jul 2015 13:00:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Message-ID: Content-Type: multipart/alternative; boundary=001a11414af451c4eb051a4e79c5 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). Date: Tue, 07 Jul 2015 20:00:19 +0000 From: Mike Alexander To: 20999@debbugs.gnu.org Subject: Re: bug#20999: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon X-Bogosity: no, spamicity=0.040391, v1.2.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 20999 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) --001a11414af451c4eb051a4e79c5 Content-Type: text/plain; charset=UTF-8 emacs --version gives 24.4.2, while emacsclient --version gives 24.4. Furthermore, both are the version installed automatically with the make install target after building from source (using the config script). I guess I don't _know_ it's using my username instead of UID, but I get a connection refused from the command "emacsclient -c -s $EMACS_DAEMON_NAME" after starting and confirming the daemon is running via the command "emacs --daemon=$EMACS_DAEMON_NAME". To be safe, I replaced the environment variable with the direct text and saw the exact same issue. A " sudo netstat -xaupen | grep emac" shows the correct socket (using the UID) for the server, but the client still refuses the connection. I saw a hit on a blog talking about a similar problem and needing to specify the fullly pathed socket name to the client so I tried that and found it worked. Maybe it's not really a username versus UID issue, but the construction method between the two is clearly different somehow. Incidentally I'm working on a corporate server that integrates with a company wide user base, so I do have a huge UID. In my case the username is mtalexander and the UID is 1073796907. -Mike On Tue, Jul 7, 2015, 08:48 Glenn Morris wrote: > Mike Alexander wrote: > > > Starting the emacs daemon with "emacs --daemon=$EMACS_DAEMON_NAME", where > > the $EMACS_DAEMON_NAME matches the standard letter, number, underscore > > requrements, ends up using > > my UID in the socket creation since my username is longer than 8 > > characters ("/tmp/emacs$(id -u)/$EMACS_DAEMON_NAME"). > > I've never seen this use anything BUT the UID, no matter how long your > username is. That's what it has always used for me, with a two character > username, and emacsclient works fine. > > Nevertheless, I tried with a username with more than 8 chars, and that > too worked fine. > > > However, running "emacsclient -c -s $EMACS_DAEMON_NAME" fails with a > > refused connection because it attempts to connect using my username > > instead of the UID and fails to find the socket > > ("/tmp/emacs$USER/$EMACS_DAEMON_NAME"). > > How did you conclude that it was trying to use your username? > > I don't suppose you have a huge UID? > > Are you sure your version of emacsclient matches your version of emacs? > --001a11414af451c4eb051a4e79c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

emacs --version gives 24.4.2, while emacsclient --version gi= ves 24.4. Furthermore, both are the version installed automatically with th= e make install target after building from source (using the config script).=

I guess I don't _know_ it's using my username instea= d of UID, but I get a connection refused from the command "emacsclient= -c -s $EMACS_DAEMON_NAME" after starting and confirming the daemon is= running via the command "emacs --daemon=3D$EMACS_DAEMON_NAME".= =C2=A0 To be safe, I replaced the environment variable with the direct text= and saw the exact same issue. A " sudo netstat -xaupen | grep emac&qu= ot; shows the correct socket (using the UID) for the server, but the client= still refuses the connection. I saw a hit on a blog talking about a simila= r problem and needing to specify the fullly pathed socket name to the clien= t so I tried that and found it worked. Maybe it's not really a username= versus UID issue, but the construction method between the two is clearly d= ifferent somehow.=C2=A0

Incidentally I'm working on a corporate server that inte= grates with a company wide user base, so I do have a huge UID. In my case t= he username is mtalexander and the UID is 1073796907.

-Mike


On Tue, Jul 7, 2015, 08:48= =C2=A0Glenn Morris <rgm@gnu.org> w= rote:
Mike Alexander wrote:

> Starting the emacs daemon with "emacs --daemon=3D$EMACS_DAEMON_NA= ME", where
> the $EMACS_DAEMON_NAME matches the standard letter, number, underscore=
> requrements, ends up using
> my UID in the socket creation since my username is longer than 8
> characters ("/tmp/emacs$(id -u)/$EMACS_DAEMON_NAME").

I've never seen this use anything BUT the UID, no matter how long your<= br> username is. That's what it has always used for me, with a two characte= r
username, and emacsclient works fine.

Nevertheless, I tried with a username with more than 8 chars, and that
too worked fine.

> However, running "emacsclient -c -s $EMACS_DAEMON_NAME" fail= s with a
> refused connection because it attempts to connect using my username > instead of the UID and fails to find the socket
> ("/tmp/emacs$USER/$EMACS_DAEMON_NAME").

How did you conclude that it was trying to use your username?

I don't suppose you have a huge UID?

Are you sure your version of emacsclient matches your version of emacs?
--001a11414af451c4eb051a4e79c5-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 08 14:06:53 2015 Received: (at 20999) by debbugs.gnu.org; 8 Jul 2015 18:06:53 +0000 Received: from localhost ([127.0.0.1]:44468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCtkC-0004Qz-Um for submit@debbugs.gnu.org; Wed, 08 Jul 2015 14:06:53 -0400 Received: from b2bfep13.mx.upcmail.net ([62.179.121.58]:35391) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCtk9-0004Qk-TQ for 20999@debbugs.gnu.org; Wed, 08 Jul 2015 14:06:50 -0400 Received: from edge11.upcmail.net ([192.168.13.81]) by b2bfep13.mx.upcmail.net (InterMail vM.8.01.05.11 201-2260-151-128-20120928) with ESMTP id <20150708180642.EVLI2939.b2bfep13-int.chello.at@edge11.upcmail.net> for <20999@debbugs.gnu.org>; Wed, 8 Jul 2015 20:06:42 +0200 Received: from iznogoud.viz ([91.119.108.4]) by edge11.upcmail.net with edge id pu6i1q00H05jbv70Bu6ieT; Wed, 08 Jul 2015 20:06:42 +0200 X-SourceIP: 91.119.108.4 Received: from wolfgang by iznogoud.viz with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZCtk2-00015N-3B; Wed, 08 Jul 2015 20:06:42 +0200 From: Wolfgang Jenkner To: Mike Alexander Subject: Re: bug#20999: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon Date: Wed, 08 Jul 2015 20:03:20 +0200 References: Message-ID: <85si8yed71.fsf@iznogoud.viz> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20999 Cc: 20999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Tue, Jul 07 2015, Mike Alexander wrote: > I get a > connection refused from the command "emacsclient -c -s $EMACS_DAEMON_NAME" > after starting and confirming the daemon is running via the command "emacs > --daemon=$EMACS_DAEMON_NAME". Since connect() is a syscall you could run emacsclient under strace to easily find out with which arguments it is called. In my case (using truss under FreeBSD) I see the following syscalls leading up to the connect() call socket(PF_LOCAL,SOCK_STREAM,0) = 3 (0x3) geteuid() = 1002 (0x3ea) mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34380709888 (0x801400000) stat("/tmp/emacs1002/foobar",{ mode=srwx------ ,inode=23,size=0,blksize=4096 }) = 0 (0x0) geteuid() = 1002 (0x3ea) madvise(0x801406000,0x1000,0x5,0xaaaaaaaaaaaaaaab,0x801400030,0x800de29e0) = 0 (0x0) connect(3,{ AF_UNIX "/tmp/emacs1002/foobar" },23) = 0 (0x0) From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 09 11:35:52 2015 Received: (at 20999) by debbugs.gnu.org; 9 Jul 2015 15:35:52 +0000 Received: from localhost ([127.0.0.1]:45334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDDrb-0004NF-KO for submit@debbugs.gnu.org; Thu, 09 Jul 2015 11:35:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43772) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDDra-0004N0-5D for 20999@debbugs.gnu.org; Thu, 09 Jul 2015 11:35:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDDrT-0006WW-TT for 20999@debbugs.gnu.org; Thu, 09 Jul 2015 11:35:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDDrQ-0006Vl-W7; Thu, 09 Jul 2015 11:35:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZDDrP-0002xf-3p; Thu, 09 Jul 2015 11:35:39 -0400 From: Glenn Morris To: Mike Alexander , 20999@debbugs.gnu.org Subject: Re: bug#20999: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon References: <85si8yed71.fsf@iznogoud.viz> X-Spook: TB Nuclear threat DRM Agriculture Ft. Bragg Aladdin Cyber X-Ran: T}\w;Ri'qS?:`@2ifNxnLa=ihDo*.&%r6Q}%(7oLx (Wolfgang Jenkner's message of "Wed, 08 Jul 2015 20:03:20 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 20999 Cc: Wolfgang Jenkner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Wolfgang Jenkner wrote: > Since connect() is a syscall you could run emacsclient under strace to > easily find out with which arguments it is called. (Perhaps emacsclient should get a --debug argument that prints such things.) Please also post the result of emacs -Q -l server C-h v server-socket-dir From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 17:15:10 2016 Received: (at control) by debbugs.gnu.org; 10 Jun 2016 21:15:10 +0000 Received: from localhost ([127.0.0.1]:36294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBTlm-0006sU-Ab for submit@debbugs.gnu.org; Fri, 10 Jun 2016 17:15:10 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:36111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBTlk-0006kx-HU for control@debbugs.gnu.org; Fri, 10 Jun 2016 17:15:08 -0400 Received: by mail-oi0-f54.google.com with SMTP id p204so130838795oih.3 for ; Fri, 10 Jun 2016 14:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=cxnzk6TGX/QPBivt4V7LBaRTbCRZqPS3O5HONiQ9trw=; b=ghpHM42ys/rcTpovTkemcZ2KaqiKn5XkGl8Mlje387Jhm07ZHmQFREJ6528h42GFZy dpOIAE2zE56n2KUtGMzMnk4aCGq2P1mj7+coWRCDoMgx1RBo058zrlF67cXPpHXMXEm8 vuFRTsoIROkkiBqBbr0kGImeVMwiVhmbYhozQ8kQ20/Hotun7e0k56QwLb6SEgYIbHAR 4FvC4iVetimkv43TUcJjaye+wt7OkD61ig+sJTbUNe3RUUzdu16Ht0mPpzBIx7+7oJMQ 8sRSolNwuBEpkQVAKgL48RbmwJQjwGb0yDO7x70ML+CZhtOjIqeH5aQvoc9Oo1fIWiCG vzdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=cxnzk6TGX/QPBivt4V7LBaRTbCRZqPS3O5HONiQ9trw=; b=OpiKkoONhNRXtTKqk2Mz0iZ0n9aOSabJ/Ohi/1k3XmFYLxlVucTdqn9P/fqoeupPS3 fLKlLteDKrTgmia4AZMtrr+SmMWftmYfQ7alSnRP56w0TfxeKBxOH8lNmy4yzUb5+0n6 /Qo1dDHhkqG10qr7srmYUoms5Uzaq6wxaMDW9JaZWegpLY591yBmLeSSmNb4ncOojMhk LRFWv1XVffaFSL1v/dZOGpACP81vHFYiipavNkPtG4c8XHrALIjgQgTQDM7raaDThaYS 7RjmyPhtdnH4vooVd9vp7UEpeHAhO+bHAJRThs0L7waf65uBDEMxF+RfKqMb27iHSNYH /jYw== X-Gm-Message-State: ALyK8tLUuBFi84hcEzovEXOdEFRH6BBGg6htdFYdpxaVaoVR8Ge5RzUYOyPwSwHUPdsms0PszNn90iP1jBm3Qw== X-Received: by 10.202.197.137 with SMTP id v131mr2042240oif.178.1465593302957; Fri, 10 Jun 2016 14:15:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.5.168 with HTTP; Fri, 10 Jun 2016 14:15:02 -0700 (PDT) From: Noam Postavsky Date: Fri, 10 Jun 2016 17:15:02 -0400 X-Google-Sender-Auth: ebxuSV7_hs4ou_LgPLWWgHE4aUg Message-ID: Subject: Re: bug#20999: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tag 20999 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 14:01:58 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 19:01:58 +0000 Received: from localhost ([127.0.0.1]:59727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEhTa-0006hl-2i for submit@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEhTZ-0006ge-2i for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEhTT-0005EH-FQ for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEhTT-0005ED-Cd for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEhTT-00041q-3S for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:51 -0500 Subject: control message for bug 20999 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 14:01:51 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) tag 20999 + wontfix From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 14:01:52 2016 Received: (at 20999-done) by debbugs.gnu.org; 7 Dec 2016 19:01:52 +0000 Received: from localhost ([127.0.0.1]:59724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEhTT-0006ga-S7 for submit@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEhTS-0006fX-AV for 20999-done@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEhTM-0005DL-Lv for 20999-done@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEhTM-0005DF-JC for 20999-done@debbugs.gnu.org; Wed, 07 Dec 2016 14:01:44 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEhTM-0003m8-4u; Wed, 07 Dec 2016 14:01:44 -0500 From: Glenn Morris To: 20999-done@debbugs.gnu.org Subject: Re: bug#20999: 24.4; Inconsistent UID vs USER resolution between emacsclient and emacs daemon References: <85si8yed71.fsf@iznogoud.viz> X-Spook: Jyllandsposten E. Coli Transportation Security X-Ran: ;!Y<'S1/q/Dp0gkaN/YIy)6/[(Dz?>]2iL]e)zYFyLsGU&|c(=upMn]UhVv}P_a-A\sCDC X-Hue: white X-Attribution: GM Date: Wed, 07 Dec 2016 14:01:44 -0500 In-Reply-To: (Glenn Morris's message of "Thu, 09 Jul 2015 11:35:38 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 20999-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) Glenn Morris wrote: > Wolfgang Jenkner wrote: > >> Since connect() is a syscall you could run emacsclient under strace to >> easily find out with which arguments it is called. > > (Perhaps emacsclient should get a --debug argument that prints such things.) > > Please also post the result of > > emacs -Q -l server > C-h v server-socket-dir More than a year has passed with no further information, so I'm closing this. From unknown Fri Sep 05 20:54:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2017 12:24:18 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator