From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#12148: 24.1.50; Tramp has problems with Solaris server (test -e) Date: Tue, 07 Aug 2012 10:51:20 +0200 Message-ID: <87ehnjaxvb.fsf@gmx.de> References: <2318D1E1-B7AD-4160-A10F-04666C5385C2@tzi.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344329546 16180 80.91.229.3 (7 Aug 2012 08:52:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 08:52:26 +0000 (UTC) Cc: 12148@debbugs.gnu.org To: Carsten Bormann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 07 10:52:26 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 1SyfWS-00075N-2P for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 10:52:16 +0200 Original-Received: from localhost ([::1]:33391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyfWR-00018B-CB for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 04:52:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyfWO-000185-M9 for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:52:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyfWI-0002MB-5O for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:52:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyfWI-0002M7-1u for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:52:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Syfdy-0004vY-Qp for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 05:00:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <2318D1E1-B7AD-4160-A10F-04666C5385C2@tzi.org> Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Aug 2012 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12148-submit@debbugs.gnu.org id=B12148.134432996818873 (code B ref 12148); Tue, 07 Aug 2012 09:00:02 +0000 Original-Received: (at 12148) by debbugs.gnu.org; 7 Aug 2012 08:59:28 +0000 Original-Received: from localhost ([127.0.0.1]:38787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyfdP-0004uM-Pf for submit@debbugs.gnu.org; Tue, 07 Aug 2012 04:59:28 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:59534) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SyfdN-0004uE-9U for 12148@debbugs.gnu.org; Tue, 07 Aug 2012 04:59:26 -0400 Original-Received: (qmail invoked by alias); 07 Aug 2012 08:51:25 -0000 Original-Received: from p57BB9590.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.144] by mail.gmx.net (mp038) with SMTP; 07 Aug 2012 10:51:25 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+CsfsIEMCC7Ymn9KK23IHgfg94/0QWQXWHg+Zmtp 34XW3micy8NRlM X-From-Line: michael.albinus@gmx.de Tue Aug 07 10:48:54 2012 X-Content-Length: 1128 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 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 (newer, 2) 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:62903 Archived-At: Carsten Bormann writes: > This appears to get circumvented correctly once, but the .emacs.d/tramp > written out from the first emacs says: > > ("file-exists" "test -e") > > which is clearly wrong. > So the next incarnation of emacs will no longer work correcly with that > Solaris server. Hmm. In `tramp-find-file-exists-command', it is correctly tested for "test -e", "/bin/test -e" aso. But the cache seems to get the wrong value. I would need to analyze the cache operations. Would you, please, apply "M-x tramp-cleanup-all-connections" (this also removes cache settings), set `tramp-verbose' to 9, and rerun the test? The resulting debug buffer shall tell us more. > (Because of the caching in .emacs.d/tramp and the behavior of writing out the tramp file during kill-emacs, this can be very confusing to debug. It took me a while to understand that the "works/doesn't work/works/doesn't work" behavior can only be explained by to the tramp file written out with bad information.) Maybe the Tramp info file shall be improved for recipes how to disable the cache for debugging. Best regards, Michael.