From owner-freebsd-current Mon Jul 22 6:59:21 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 00DD037B4A7; Mon, 22 Jul 2002 06:59:07 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B403043E6E; Mon, 22 Jul 2002 06:59:05 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id XAA12488; Mon, 22 Jul 2002 23:59:03 +1000 Date: Tue, 23 Jul 2002 00:03:10 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Tim Robbins Cc: current@FreeBSD.ORG Subject: Re: suspend bug In-Reply-To: <20020721210949.A37074@dilbert.robbins.dropbear.id.au> Message-ID: <20020722235943.M25325-100000@gamplex.bde.org> 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, Tim Robbins wrote: > On Sun, Jul 21, 2002 at 08:30:14PM +1000, Bruce Evans wrote: > > 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. Looks like it is a kernel bug then. chpass and vipw work correctly here with a pre-KSEIII kernel but not with a post-* one. There seems to be more than 1 kernel bug, since you said in another reply that David Xu's patch fixes su but not chpass or vipw. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message