Debian bug report logs - #1702 telnet+su root->thermal process Package: bash ; Reported by: richard@sfere.elmail.co.uk (Richard Kettlewell); 13 days old. ----------------------------------------------------------------------- Message received at debian-bugs: From server.et-inf.fho-emden.de!tobias Thu Oct 19 03:08:05 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t5rtI-000BAoC; Thu, 19 Oct 95 03:08 PDT Received: from server.et-inf.fho-emden.de by pixar.com with SMTP id AA11210 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 19 Oct 1995 03:07:28 -0700 Received: by server.et-inf.fho-emden.de (5.65/DEC-Ultrix/4.3) id AA20425; Thu, 19 Oct 1995 10:58:01 +0100 Message-Id: <9510190958.AA20425@server.et-inf.fho-emden.de> Subject: Re: Bug#1702: telnet+su root->thermal process To: richard@sfere.elmail.co.uk, debian-bugs@Pixar.com Date: Thu, 19 Oct 1995 10:58:01 +0100 (MET) From: "Peter Tobias" Reply-To: tobias@et-inf.fho-emden.de In-Reply-To: <8MxkrSOM2@sfere.elmail.co.uk> from "Richard Kettlewell" at Oct 18, 95 07:27:02 pm X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Content-Length: 767 Richard Kettlewell wrote: > Package: bash > Version: 1.14.4-2 [...] > I've had a prod around but I still don't understand what is going on. > At first I thought that it was just that the rogue bash was ignoring > SIGHUP or something; however manually SIGHUPing it (instead of closing > the telnet connection) contradicts this. > > It may be that the bug is in telnetd rather than bash, but the fact > that bash starts eating CPU when it loses its tty is a bug in itself. I just tried it with the csh and it works. Peter -- Peter Tobias EMail: Fachhochschule Ostfriesland tobias@et-inf.fho-emden.de Fachbereich Elektrotechnik und Informatik tobias@perseus.fho-emden.de Constantiaplatz 4, 26723 Emden, Germany ----------------------------------------------------------------------- Acknowledgement sent to tobias@et-inf.fho-emden.de : Extra info received and forwarded. Full text available. ----------------------------------------------------------------------- Information forwarded to debian-devel@pixar.com : Bug#1702 ; Package bash . Full text available. ----------------------------------------------------------------------- Message received at debian-bugs: From sfere.elmail.co.uk!richard Wed Oct 18 11:25:38 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t5dBJ-000B3PC; Wed, 18 Oct 95 11:25 PDT Received: from muskogee.elmail.co.uk by pixar.com with SMTP id AA10461 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 18 Oct 1995 11:25:05 -0700 Received: from sfere.elmail.co.uk ([193.116.29.15]) by muskogee.elmail.co.uk with smtp id (Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 18 Oct 95 19:25 BST Received: by sfere.elmail.co.uk id (Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 18 Oct 95 19:27 BST From: richard@sfere.elmail.co.uk (Richard Kettlewell) Message-Id: <8MxkrSOM2@sfere.elmail.co.uk> Date: Wed, 18 Oct 95 19:27:02 +0100 (BST) To: debian-bugs@pixar.com Subject: Re: telnet+su root->thermal process In-Reply-To: References: Package: bash Version: 1.14.4-2 william@spark.net.hk writes: >Hi debian ppl, > > I just wonder if anybody has this problem too 'cos my debian is >upgrading from old debian packages. > >telnet localhost > >su root >more /etc/inetd.conf (any long text file will do) >press ctrl-] and quit to terminate the telnet session >now...there is a crazy bash running there and will eat up all the cpu >time shortly! > > I'm looking for a quick fix 'cos I always need to telnet to >server for my works. Does the same to me. The quick fix is ``don't do that then'' - quit `more' by hitting `q', close the session by terminating bash (hit ^D or type `exit') rather than chopping off the telnet connection from your end. I've had a prod around but I still don't understand what is going on. At first I thought that it was just that the rogue bash was ignoring SIGHUP or something; however manually SIGHUPing it (instead of closing the telnet connection) contradicts this. It may be that the bug is in telnetd rather than bash, but the fact that bash starts eating CPU when it loses its tty is a bug in itself. ttfn/rjk ----------------------------------------------------------------------- Acknowledgement sent to richard@sfere.elmail.co.uk (Richard Kettlewell) : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#1702 ; Package bash . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov