From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#6302: 24.0.50; Unable to use su in term. Date: Thu, 10 Jun 2010 01:08:51 -0400 Message-ID: <66eigflbj0.fsf@fencepost.gnu.org> References: <87pr0fth4g.fsf@tux.homenetwork> <1taarbd9av.fsf@fencepost.gnu.org> <87aarbb6bg.fsf@tux.homenetwork> <87iq5y4znh.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276147751 17099 80.91.229.12 (10 Jun 2010 05:29:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 05:29:11 +0000 (UTC) Cc: 6302@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 10 07:29:09 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMaK7-0000Z3-Uh for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 07:29:04 +0200 Original-Received: from localhost ([127.0.0.1]:50299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMaK7-0003xw-7q for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 01:29:03 -0400 Original-Received: from [140.186.70.92] (port=53374 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMaJN-0003bB-5B for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 01:28:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMaJJ-0007KW-SK for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 01:28:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56476) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMaJJ-0007KS-Qp for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 01:28:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OMa0j-0007fm-SN; Thu, 10 Jun 2010 01:09:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87pr0fth4g.fsf@tux.homenetwork> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jun 2010 05:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6302-submit@debbugs.gnu.org id=B6302.127614653629488 (code B ref 6302); Thu, 10 Jun 2010 05:09:01 +0000 Original-Received: (at 6302) by debbugs.gnu.org; 10 Jun 2010 05:08:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMa0e-0007fZ-9H for submit@debbugs.gnu.org; Thu, 10 Jun 2010 01:08:56 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMa0c-0007fT-OF for 6302@debbugs.gnu.org; Thu, 10 Jun 2010 01:08:55 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OMa0Z-0000fi-9v; Thu, 10 Jun 2010 01:08:51 -0400 X-Spook: csystems MIT-LL lynch CID spies Agfa infowar Crypto AG X-Ran: w],0lQ&LZp;U\GK3D{owVQs_;C6HW34G6)QcJd3mt$*}:eW'Rs/-lx5Nw6|dEeWiz.7c+% X-Hue: white X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 10 Jun 2010 01:09:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37645 Archived-At: Thierry Volpiatto wrote: >> thierry@tux ~ $ su -l > Fail. (same with --login and -) > > So it's clear that come from the -l option of su. Is there anything odd in root's ~/.bash_profile (or whatever the appropriate config file for root login shells is)? Does it work to su -l to a non-root user? One with no shell config files? Can you put some debug statements in the shell config files to find out if they get sourced at all? If so, where do things go wrong? >> Also, can you M-x trace-function-background RET term-emulate-terminal >> RET, reproduce the problem and then show us the *trace-output*? > I can't find function `term-emulate-terminal'. ? It's in term.el.