From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#13275: 24.2; Tramp regression: remote shells no longer work Date: Mon, 24 Dec 2012 19:13:43 -0800 Message-ID: <87623qakns.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356405275 27471 80.91.229.3 (25 Dec 2012 03:14:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2012 03:14:35 +0000 (UTC) To: 13275@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 25 04:14:51 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TnKyg-0004wO-Qi for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Dec 2012 04:14:51 +0100 Original-Received: from localhost ([::1]:46938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnKyS-00031N-K5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Dec 2012 22:14:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnKyO-000314-4E for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:14:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnKyL-0005Sy-9z for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:14:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnKyL-0005Sr-6J for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:14:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TnKys-0005bx-Av for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Dec 2012 03:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13275 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135640528421527 (code B ref -1); Tue, 25 Dec 2012 03:15:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Dec 2012 03:14:44 +0000 Original-Received: from localhost ([127.0.0.1]:58562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TnKyZ-0005b9-Mc for submit@debbugs.gnu.org; Mon, 24 Dec 2012 22:14:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52937) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TnKyV-0005b0-9v for submit@debbugs.gnu.org; Mon, 24 Dec 2012 22:14:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnKxp-0005LF-Sm for submit@debbugs.gnu.org; Mon, 24 Dec 2012 22:14:05 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:55524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnKxp-0005L9-Pd for submit@debbugs.gnu.org; Mon, 24 Dec 2012 22:13:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnKxh-0002SW-Ql for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:13:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnKxf-0005KF-G2 for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:13:49 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnKxf-0005Ji-8O for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 22:13:47 -0500 Original-Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5DC7C207F0 for ; Mon, 24 Dec 2012 22:13:45 -0500 (EST) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 24 Dec 2012 22:13:45 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=jjTeYFRPQRLD8oLayIBmTrXi7Gk=; b=AHytNz3Oj9yJbYsSgSNuB LM6NCnMZ/12InydVcbcjyylP3lhvoQMB908krlVkchaZYviAOM96cwmAZAripD9A YR2OnjSzbjAk6iaCaA1gNOJiv9NWmJRuX9bJCrzrX8j7gVrChAdVp+OOBW5c0V87 go7fmieRtA6gGChCgUav0I= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=jjTeYFRPQRLD8oLayIBmTr Xi7Gk=; b=QNBmiZoxAEpzUBu8BTz5Cea+eaiguC0FGdRrbOoLS0vSczKy8EL9B9 C6QSkn0bd2+bEfvtu1kz/eLEJSChT/PCOz7HSmxfZuDbyRQwbEl1kBYV7dt3MG5M h2JvUFNz6XIJdChifBLO6JcNuzvFOoDFhwYzHyZgMGVQvLiY21Nqo= X-Sasl-enc: Z1bRaaWwiqVakIrf/c6CQuLhvF3/I27+DjcHm9x2qZ2q 1356405225 Original-Received: from shorty.local (unknown [76.169.242.46]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B847482657 for ; Mon, 24 Dec 2012 22:13:45 -0500 (EST) Original-Received: from dima by shorty.local with local (Exim 4.80) (envelope-from ) id 1TnKxb-0002v3-HG for bug-gnu-emacs@gnu.org; Mon, 24 Dec 2012 19:13:43 -0800 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69023 Archived-At: I'm observing that remote tramp shells no longer work with the most recent emacs from git. I have only tried with recent linux kernels and amd64 machines for both the client and the server. My HEAD is currently at 9ca828f0bb329dcc50e68f52d19f17b4e53d68dd (gnus-related commit made on 2012/12/24), although this issue has been around for about a month now. To reproduce: 1. launch emacs 2. open anything with tramp. For instance C-x C-f /server: 3. M-x shell then accept the defaults for the shell and path You'll get a shell at this point, but even though emacs thinks it is remote, it's actually local, as can be verified with 'uname -n'. Other remote processes other than shell-mode are affected; for instance gud-gdb now suffers from this issue as well. A bisection indicates that this regression was introduced on Nov 13 in commit 46d8d668c19b4f299b49856be204a419c15c0af5 : "Use faccessat, not access, when checking file permissions". I haven't investigated further. Thanks.