From owner-freebsd-current Sat Jul 20 23:40:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E325E37B400 for ; Sat, 20 Jul 2002 23:40:14 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B01243E31 for ; Sat, 20 Jul 2002 23:40:14 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020721064013.WQQO6023.sccrmhc02.attbi.com@InterJet.elischer.org>; Sun, 21 Jul 2002 06:40:13 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA97736; Sat, 20 Jul 2002 23:35:56 -0700 (PDT) Date: Sat, 20 Jul 2002 23:35:54 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Cc: Bakul Shah Subject: Re: suspend bug In-Reply-To: <20020721141841.H18880-100000@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 21 Jul 2002, Bruce Evans wrote: > On Thu, 18 Jul 2002, Bakul Shah wrote: > > > Try this: > > > > $ csh > > % su > > Password: > > % stop $$ > > > > Suspended (signal) > > %fg > > > > At which point you will lose you login shell. umm.. you do? julian@jules:csh julian@jules:su Password: jules# stop $$ Suspended (signal) julian@jules:fg su jules# exit julian@jules: ps [...] 760 p6 Ss 0:00.04 csh 762 p6 S 0:00.03 csh julian@jules:exit julian@jules: where would you expect to see something different from what I'm seeing? (obviously a POST KSE-III kernel.. upto and including peter's proc/UMA additions) > > > > Prior to KSE one could switch between an su'ed shell and a > > normal shell at will by using stop $$ and fg. > > Some more details: > - this happens for csh but not for bash-1. or csh on my system for that matter > - ktracing everything shows further strange behaviour. ktrace causes a > kernel printf "Out of ktrace request objects.". The login shell is > not lost immediately. You get a shell prompt, but at least tty echo is > broken, and hitting return a few times causes all the shells to exit. probably some breakage in your local systemm doesn't happen here. Unless it's jhb's ktrace changes (I don;t know if I have them.. probably do. > > > Is this breakage considered a bug or a feature? > > Bug. > > Bruce > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message