GNU bug report logs - #4841
23.1.50; tramp su/sudo makes vc-dir hang with viper

Previous Next

Package: emacs;

Reported by: Stefano Zacchiroli <zack <at> upsilon.cc>

Date: Sat, 31 Oct 2009 15:00:05 UTC

Severity: normal

Tags: moreinfo

Done: Stefano Zacchiroli <zack <at> debian.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4841 in the body.
You can then email your comments to 4841 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Sat, 31 Oct 2009 15:00:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack <at> upsilon.cc>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 31 Oct 2009 15:00:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefano Zacchiroli <zack <at> upsilon.cc>
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)
Date: Sat, 31 Oct 2009 15:54:32 +0100
To edit system configuration files, I'd like to use tramp's su:: or
sudo::. What blocks me to do that is that I have versioned /etc (with
etckeepr over Git) and I need to commit the performed changes
afterwards.

When not inside su::/sudo:: I often commit stuff in Git repositories
using vc-mode. That unfortunately does not work under tramp's
su::/sudo::. Trying to do that results in vc-dir hanging forever just
after the "found remote shell on ..." message and the correspondent
"waiting" message in the vc buffer if I stop Emacs with C-g.


Many thanks in advance,
Cheers


In GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-10-23 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20091023-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1.50/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: it_IT.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  global-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:
<return> <return> C-x k <return> C-x o C-x 4 0 M-x 
r e p o <tab> r t - e m <tab> <return> t r a m p SPC 
+ S-SPC s u / s u d o SPC m a k e SPC v s - s t a t 
u s SPC C-g C-h k C-x v d C-x 1 M-x <up> <return>

Recent messages:
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `su - root && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Sending Password
Tramp: Found remote shell prompt on `usha.takhisis.invalid'
Quit
Making completion list...
Quit
Type C-x 1 to delete the help window.
goto-history-element: Beginning of history; no preceding item

Load-path shadows:
/usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-ghci
/usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-doc
/usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-simple-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-c
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-mode
/usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-hugs
/usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-cabal
/usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-decl-scan
/usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/inf-haskell
/usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/23.1.50/site-lisp/haskell-mode/haskell-font-lock
/usr/share/emacs/23.1.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.1.50/lisp/textmodes/rst

Features:
(shadow mail-extr emacsbug help-mode view org-wl org-w3m org-vm
org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp
org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb vc-git
vc-bzr vc-sccs vc-svn vc-cvs vc-rcs tramp-imap epa epg epg-config
imap-hash imap message sendmail ecomplete rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp
ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils assoc tramp-gw
tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source
gnus-util netrc shell comint password-cache format-spec tramp-compat
trampver vc-dir ewoc vc vc-dispatcher org-protocol remember org-remember
org byte-opt bytecomp byte-compile org-footnote org-src org-list
org-faces org-compat org-macs time-date noutline outline easy-mmode
regexp-opt post easymenu derived cl cl-19 rect-mark server windmove
winner ido paren cus-start cus-load viper edmacro kmacro viper-ex
viper-macs viper-mous viper-cmd viper-keym ring viper-util viper-init
advice help-fns advice-preload debian-el debian-el-loaddefs
emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs dpkg-dev-el
dpkg-dev-el-loaddefs tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button
minibuffer faces cus-face text-properties overlay md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind gtk x-toolkit x multi-tty emacs)

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Sun, 01 Nov 2009 18:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 01 Nov 2009 18:50:04 GMT) Full text and rfc822 format available.

Message #10 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefano Zacchiroli <zack <at> upsilon.cc>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)
Date: Sun, 01 Nov 2009 19:44:14 +0100
Stefano Zacchiroli <zack <at> upsilon.cc> writes:

> To edit system configuration files, I'd like to use tramp's su:: or
> sudo::. What blocks me to do that is that I have versioned /etc (with
> etckeepr over Git) and I need to commit the performed changes
> afterwards.
>
> When not inside su::/sudo:: I often commit stuff in Git repositories
> using vc-mode. That unfortunately does not work under tramp's
> su::/sudo::. Trying to do that results in vc-dir hanging forever just
> after the "found remote shell on ..." message and the correspondent
> "waiting" message in the vc buffer if I stop Emacs with C-g.

Looks to me like vc-git is waiting for a password, or something like
this. Could you, please, check the *tramp ...* buffer, whether you see a
corresponding message?

If there is nothing obvious, you might set `tramp-verbose' to 8, and
rerun the test. The corresponding debug buffer of Tramp shall tell us
what happened.

> Many thanks in advance,
> Cheers

Best regards, Michael.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Sun, 01 Nov 2009 22:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack <at> debian.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 01 Nov 2009 22:15:04 GMT) Full text and rfc822 format available.

Message #15 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefano Zacchiroli <zack <at> debian.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found
 remote shell ...)
Date: Sun, 1 Nov 2009 23:05:20 +0100
On Sun, Nov 01, 2009 at 07:44:14PM +0100, Michael Albinus wrote:
> Looks to me like vc-git is waiting for a password, or something like
> this. Could you, please, check the *tramp ...* buffer, whether you see a
> corresponding message?

I've checked the *tramp ...* buffer and I found it empty.

> If there is nothing obvious, you might set `tramp-verbose' to 8, and
> rerun the test. The corresponding debug buffer of Tramp shall tell us
> what happened.

... so I've tried this, the *tramp ...* buffer was still empty, but the
*debug tramp ...* was not. I'm attaching its content, gzipped since it
is 160 Kb (yes, I've cleaned it up just before doing the test, but still
... :-).

AFAICT, in that log I see the password being delivered to su (I did the
test with the "/su::" prefix), luckily not reported in the log, and I
also see the prompt of a root shell clearly returned to tramp, so I
don't think the issue is the "waiting for a password". Rather, it looks
like that in the vc <-> tramp dialog someone fails to recognize that the
login has been properly done.

Thanks for your feedback,
Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Mon, 02 Nov 2009 09:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack <at> debian.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 02 Nov 2009 09:25:05 GMT) Full text and rfc822 format available.

Message #20 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefano Zacchiroli <zack <at> debian.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found
 remote shell ...)
Date: Mon, 2 Nov 2009 10:18:20 +0100
[Message part 1 (text/plain, inline)]
On Sun, Nov 01, 2009 at 11:05:20PM +0100, Stefano Zacchiroli wrote:
> ... so I've tried this, the *tramp ...* buffer was still empty, but the
> *debug tramp ...* was not. I'm attaching its content, gzipped since it
> is 160 Kb (yes, I've cleaned it up just before doing the test, but still

Err, sorry, I forgot the attachment, attaching it now.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
[tramp-debug.log.gz (application/octet-stream, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Tue, 03 Nov 2009 21:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Nov 2009 21:25:05 GMT) Full text and rfc822 format available.

Message #25 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefano Zacchiroli <zack <at> debian.org>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)
Date: Tue, 03 Nov 2009 22:15:35 +0100
Stefano Zacchiroli <zack <at> debian.org> writes:

> On Sun, Nov 01, 2009 at 11:05:20PM +0100, Stefano Zacchiroli wrote:
>> ... so I've tried this, the *tramp ...* buffer was still empty, but the
>> *debug tramp ...* was not. I'm attaching its content, gzipped since it
>> is 160 Kb (yes, I've cleaned it up just before doing the test, but still

The last command Tramp performs is

cd /etc/; exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --

Nothing returned. Could you, please, run the command as root in a shell,
and see what happens? Maybe with and without the "exec" ...

> Cheers.

Best regards, Michael.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Tue, 03 Nov 2009 22:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack <at> debian.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Nov 2009 22:15:05 GMT) Full text and rfc822 format available.

Message #30 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefano Zacchiroli <zack <at> debian.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found
 remote shell ...)
Date: Tue, 3 Nov 2009 23:09:24 +0100
On Tue, Nov 03, 2009 at 10:15:35PM +0100, Michael Albinus wrote:
> The last command Tramp performs is
> 
> cd /etc/; exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
> 
> Nothing returned. Could you, please, run the command as root in a shell,
> and see what happens? Maybe with and without the "exec" ...

Sure:

  root <at> usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
  root <at> usha:/etc# echo $?
  0
  root <at> usha:/etc# touch a
  root <at> usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
  aroot <at> usha:/etc# echo foo >> inittab 
  root <at> usha:/etc# # note the heading 'a' before the prompt
  root <at> usha:/etc# exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
  zack <at> usha:~$ echo $?
  0
  zack <at> usha:~$ 

(I'm not sure the last return code is actually faithful, as I haven't
 verified whether su returns to the caller the exit code of the shell
 process.)

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Sat, 07 Nov 2009 13:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 07 Nov 2009 13:45:05 GMT) Full text and rfc822 format available.

Message #35 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefano Zacchiroli <zack <at> debian.org>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)
Date: Sat, 07 Nov 2009 14:10:07 +0100
Stefano Zacchiroli <zack <at> debian.org> writes:

> On Tue, Nov 03, 2009 at 10:15:35PM +0100, Michael Albinus wrote:
>> The last command Tramp performs is
>> 
>> cd /etc/; exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
>> 
>> Nothing returned. Could you, please, run the command as root in a shell,
>> and see what happens? Maybe with and without the "exec" ...
>
> Sure:
>
>   root <at> usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
>   root <at> usha:/etc# echo $?
>   0
>   root <at> usha:/etc# touch a
>   root <at> usha:/etc# git ls-files -z -o --directory --no-empty-directory --exclude-standard --
>   aroot <at> usha:/etc# echo foo >> inittab 
>   root <at> usha:/etc# # note the heading 'a' before the prompt

No problem. The "-z" option let's return a null byte instead of a
newline. Tramp shall be able to handle it, see bug report #3858.

>   root <at> usha:/etc# exec git ls-files -z -o --directory --no-empty-directory --exclude-standard --
>   zack <at> usha:~$ echo $?
>   0
>   zack <at> usha:~$ 
>
> (I'm not sure the last return code is actually faithful, as I haven't
>  verified whether su returns to the caller the exit code of the shell
>  process.)

What I'm curious about is, why your commands are preceeded by
"exec". I've checked Emacs 23.1.50; git commands are executed without
"exec" in Tramp. Maybe you have an outdated vc-git.el in the way?

Could you, please, start "emacs -Q" and see, whether it works better? If
it still doesn't work, set `tramp-verbose' to 10, and show the debug
buffer of Tramp, again.

> Cheers.

Best regards, Michael.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Fri, 13 Nov 2009 15:40:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack <at> debian.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 13 Nov 2009 15:40:04 GMT) Full text and rfc822 format available.

Message #40 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefano Zacchiroli <zack <at> debian.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found
 remote shell ...)
Date: Fri, 13 Nov 2009 16:29:34 +0100
On Sat, Nov 07, 2009 at 02:10:07PM +0100, Michael Albinus wrote:
> What I'm curious about is, why your commands are preceeded by
> "exec". I've checked Emacs 23.1.50; git commands are executed without
> "exec" in Tramp. Maybe you have an outdated vc-git.el in the way?

The only vc-git.el I've found on my machine is the one shipped with
Emacs 23.1.50 (it's coming from the emacs-snapshot Debian package, the
maintainer is Cc-ed).

> Could you, please, start "emacs -Q" and see, whether it works better?

With "emacs -Q" it works properly.

As my main customization is using viper mode, I've also tried enabling
it just after "emacs -Q" and bingo, it stops working. Looks like the bug
is Viper-related :-(

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Fri, 13 Nov 2009 21:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 13 Nov 2009 21:30:04 GMT) Full text and rfc822 format available.

Message #45 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefano Zacchiroli <zack <at> debian.org>
Cc: 4841 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)
Date: Fri, 13 Nov 2009 22:21:06 +0100
Stefano Zacchiroli <zack <at> debian.org> writes:

> With "emacs -Q" it works properly.
>
> As my main customization is using viper mode, I've also tried enabling
> it just after "emacs -Q" and bingo, it stops working. Looks like the bug
> is Viper-related :-(

Here I cannot help, I don't know that code. Just a short scanning shows,
there are a lot of defadvices, for example for `vc-diff'. This might
require more detailed analysis by somebody familar with viper.

> Cheers.

Best regards, Michael.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4841; Package emacs. (Fri, 13 Nov 2009 21:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack <at> debian.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 13 Nov 2009 21:50:04 GMT) Full text and rfc822 format available.

Message #50 received at 4841 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefano Zacchiroli <zack <at> debian.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: control <at> debbugs.gnu.org, 4841 <at> debbugs.gnu.org,
        rfrancoise <at> debian.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found
 remote shell ...)
Date: Fri, 13 Nov 2009 22:43:44 +0100
retitle 4841 23.1.50; tramp su/sudo makes vc-dir hang with viper
thanks

On Fri, Nov 13, 2009 at 10:21:06PM +0100, Michael Albinus wrote:
> Here I cannot help, I don't know that code. Just a short scanning shows,
> there are a lot of defadvices, for example for `vc-diff'. This might
> require more detailed analysis by somebody familar with viper.

Sure, no problem, I'm just retitling the bug report to highlight the
specificity to viper.

Thanks for all your help!
Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



Changed bug title to '23.1.50; tramp su/sudo makes vc-dir hang with viper' from '23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...)' Request was from Stefano Zacchiroli <zack <at> debian.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 13 Nov 2009 21:50:08 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4841; Package emacs. (Wed, 09 Feb 2022 09:34:02 GMT) Full text and rfc822 format available.

Message #55 received at 4841 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefano Zacchiroli <zack <at> debian.org>
Cc: rfrancoise <at> debian.org, Michael Albinus <michael.albinus <at> gmx.de>,
 4841 <at> debbugs.gnu.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang with viper
Date: Wed, 09 Feb 2022 10:33:32 +0100
Stefano Zacchiroli <zack <at> debian.org> writes:

> With "emacs -Q" it works properly.
>
> As my main customization is using viper mode, I've also tried enabling
> it just after "emacs -Q" and bingo, it stops working. Looks like the bug
> is Viper-related :-(

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Are you still seeing this issue in recent Emacs versions?  If so, can
you post a recipe to reproduce the problem, starting from "emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 09 Feb 2022 09:34:02 GMT) Full text and rfc822 format available.

Reply sent to Stefano Zacchiroli <zack <at> debian.org>:
You have taken responsibility. (Wed, 09 Feb 2022 16:16:01 GMT) Full text and rfc822 format available.

Notification sent to Stefano Zacchiroli <zack <at> upsilon.cc>:
bug acknowledged by developer. (Wed, 09 Feb 2022 16:16:02 GMT) Full text and rfc822 format available.

Message #62 received at 4841-done <at> debbugs.gnu.org (full text, mbox):

From: Stefano Zacchiroli <zack <at> debian.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: rfrancoise <at> debian.org, Michael Albinus <michael.albinus <at> gmx.de>,
 4841-done <at> debbugs.gnu.org
Subject: Re: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang with viper
Date: Wed, 9 Feb 2022 11:23:03 +0100
I confirm it's fixed, thanks for checking in!

On Wed, Feb 09, 2022 at 10:33:32AM +0100, Lars Ingebrigtsen wrote:
> Stefano Zacchiroli <zack <at> debian.org> writes:
> 
> > With "emacs -Q" it works properly.
> >
> > As my main customization is using viper mode, I've also tried enabling
> > it just after "emacs -Q" and bingo, it stops working. Looks like the bug
> > is Viper-related :-(
> 
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> Are you still seeing this issue in recent Emacs versions?  If so, can
> you post a recipe to reproduce the problem, starting from "emacs -Q"?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
> 

-- 
Stefano Zacchiroli . zack <at> upsilon.cc . upsilon.cc/zack          _. ^ ._
Full professor of Computer Science              o     o   o     \/|V|\/   
Télécom Paris, Polytechnic Institute of Paris     o     o o    </>   <\>
Co-founder & CTO Software Heritage            o o o     o       /\|^|/\
Former Debian Project Leader & OSI Board Director               '" V "'




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Mar 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.