From owner-freebsd-current Sun Jul 21 4:11:28 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 CA2EE37B400 for ; Sun, 21 Jul 2002 04:11:22 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (153.a.004.mel.iprimus.net.au [210.50.36.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0DB743E3B for ; Sun, 21 Jul 2002 04:11:12 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (cld63yozd1h80imf@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g6LBB7Eu037499 for ; Sun, 21 Jul 2002 21:11:07 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g6LB9oCD037428 for current@FreeBSD.ORG; Sun, 21 Jul 2002 21:09:50 +1000 (EST) Date: Sun, 21 Jul 2002 21:09:49 +1000 From: Tim Robbins To: current@FreeBSD.ORG Subject: Re: suspend bug Message-ID: <20020721210949.A37074@dilbert.robbins.dropbear.id.au> References: <20020721083307.GA6009@nagual.pp.ru> <20020721202537.U19918-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020721202537.U19918-100000@gamplex.bde.org>; from bde@zeta.org.au on Sun, Jul 21, 2002 at 08:30:14PM +1000 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, Jul 21, 2002 at 08:30:14PM +1000, Bruce Evans wrote: > On Sun, 21 Jul 2002, Andrey A. Chernov wrote: > > > On Sun, Jul 21, 2002 at 14:54:00 +1000, Bruce Evans wrote: > > > > > > The bug is actually in su. It happens with a pre-KSEIII kernel. Backing > > > out rev.1.54 of su.c (which was apparently supposed to fix a related bug > > > tcsh's fg command) fixes it. > > > > Feel free to back it out when kernel will be fixed. As workaround it is > > more useful at this moment, since "suspend + fg" it fixes is more common > > thing, then "stop $$ + fg" > > Er, there is no kernel bug here AFAIK. I don't really understand rev.1.54 > of su.c. Is it related to the PAM brokenness that is worked around in > rev.1.53? Suspending chpass and vipw does not work correctly (like it does in 4.6.1), either: $ chpass #Changing user information for tim. *snip* *^Z* [1] + Stopped chpass $ fg chpass [1] + Stopped chpass $ fg chpass #Changing user information for tim. I don't know if this is KSE-related or was introduced in the recent modifications to src/lib/libutil/pw_util.c. crontab -e behaves correctly when suspended. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message