From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.linux.debian.devel.bugs.general,gmane.emacs.bugs Subject: Bug#476519: shell-mode garbles input Date: Fri, 18 Apr 2008 19:38:35 +0800 Message-ID: <877ievjsuc.fsf@jidanni.org> References: <87lk3co1jt.fsf@gmx.de> Reply-To: jidanni@jidanni.org, 476519@bugs.debian.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208612796 14272 80.91.229.12 (19 Apr 2008 13:46:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 13:46:36 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, nicolas.francois@centraliens.net To: svenjoac@gmx.de, 476519@bugs.debian.org Original-X-From: bounce-debian-bugs-dist=glddb-debian-bugs-dist=m.gmane.org@lists.debian.org Sat Apr 19 15:47:11 2008 connect(): Connection refused Return-path: Envelope-to: glddb-debian-bugs-dist@m.gmane.org Original-Received: from liszt.debian.org ([82.195.75.100]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jmp25-00006s-5W for glddb-debian-bugs-dist@m.gmane.org; Fri, 18 Apr 2008 13:45:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by liszt.debian.org (Postfix) with QMQP id 50EF713A5179; Fri, 18 Apr 2008 11:44:52 +0000 (UTC) Old-Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=4.0 tests=BAYES_00,NO_REAL_NAME, RCVD_IN_DNSWL_LOW,SARE_RECV_SPAM_DOMN0b autolearn=no version=3.2.3 Original-Received: from rietz.debian.org (rietz.debian.org [140.211.166.43]) by liszt.debian.org (Postfix) with ESMTP id 8189413A5108; Fri, 18 Apr 2008 11:44:32 +0000 (UTC) Original-Received: from debbugs by rietz.debian.org with local (Exim 4.63) (envelope-from ) id 1Jmoyg-00030i-D7; Fri, 18 Apr 2008 11:42:02 +0000 X-Loop: owner@bugs.debian.org Resent-From: jidanni@jidanni.org Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Shadow package maintainers Resent-Date: Fri, 18 Apr 2008 11:42:01 +0000 Resent-Message-ID: X-Debian-PR-Message: report 476519 X-Debian-PR-Package: login X-Debian-PR-Keywords: unreproducible X-Debian-PR-Source: shadow Original-Received: via spool by 476519-submit@bugs.debian.org id=B476519.12085187296367 (code B ref 476519); Fri, 18 Apr 2008 11:42:01 +0000 Original-Received: (at 476519) by bugs.debian.org; 18 Apr 2008 11:38:49 +0000 X-Amavis-Spam-Status: No, score=-2.4 required=4.0 tests=BAYES_00,NO_REAL_NAME autolearn=no version=3.1.4-bugs.debian.org_2005_01_02 Original-Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5] helo=blingymail-a3.g.dreamhost.com) by rietz.debian.org with esmtp (Exim 4.63) (envelope-from ) id 1JmovZ-0001eM-5Q for 476519@bugs.debian.org; Fri, 18 Apr 2008 11:38:49 +0000 Original-Received: from jidanni2 (122-127-60-27.dynamic.hinet.net [122.127.60.27]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a3.g.dreamhost.com (Postfix) with ESMTP id 874CD14D766; Fri, 18 Apr 2008 04:38:47 -0700 (PDT) Resent-Date: Fri, 18 Apr 2008 11:42:02 +0000 X-Debian-Message: from BTS X-Rc-Virus: 2007-09-13_01 X-Rc-Spam: 2007-10-04_01 X-Mailing-List: archive/latest/342679 X-Loop: debian-bugs-dist@lists.debian.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: debian-bugs-dist-request@lists.debian.org Xref: news.gmane.org gmane.linux.debian.devel.bugs.general:424958 gmane.emacs.bugs:17861 Archived-At: SJ> Please try the following: SJ> log in as root on the console, type su - nobody (getting the "No SJ> directory,..." message above) and type e. Without hitting return, I got SJ> the message: -su: e: command not found. Holy moly, I can reproduce that. I apologize to emacs & co. It is a su bug. Dear http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476519 team: please see http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-04/msg00080.html First fix that and then maybe 476519 will get fixed in the process. Regarding 476519: NF> Could you reproduce it with another user? No, but yes with the "e" bug. NF> Could you reproduce it with another terminal (console)? tty1: no, but didn't try hard. "e" bug: yes. NF> Are you using special PAM modules? I don't know, I just installed vanilla sid several years ago and don't play around with the advanced parts. NF> You mentioned no messages in /var/log/auth.log, Just the normal ones I posted. On a different machine I get pam_env(su:session): Unable to open env file: /etc/environment: No such file or directory but that doesn't affect if the bug occurs or not. NF> are there messages in /var/log/syslog? No. NF> What's your probability of occurrence? (1 out of 3?) Seems to come in clumps... maybe 5 bads in a row, then good until close the shell window. But not always. Or bad to nobody, good to user2, then bad to nobody. NF> Can you try to get a systrace of su when it fails and compare it with a NF> successful session. If you mean strace, well, whenever I try it the bug doesn't occur, under strace. Anyway, fix the "e" bug and maybe 476519 will get fixed in the process. Actually, it's the first character typed, and not just "e".