From owner-freebsd-current Tue Jun 25 17:36: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by hub.freebsd.org (Postfix) with ESMTP id 48F1E37B40A for ; Tue, 25 Jun 2002 17:35:19 -0700 (PDT) Received: from sex.ifi.uio.no ([129.240.64.170]) by pat.uio.no with esmtp (Exim 2.12 #7) id 17N0mC-00028e-00; Wed, 26 Jun 2002 02:35:16 +0200 Received: (from des@localhost) by sex.ifi.uio.no ; Wed, 26 Jun 2002 02:35:16 +0200 (MET DST) To: Matthew Dillon Cc: Alexander Kabaev , current@FreeBSD.ORG Subject: Re: su gets SIGHUP randomly on startup with latest current References: <20020625071455.GA42940@calvin.in.ibm.com> <20020625081225.GC21301@CPE0030ab0ef2bb.cpe.net.cable.rogers.com> <3D18CE39.CC63442E@mindspring.com> <200206252327.g5PNR05U051967@apollo.backplane.com> <20020625195243.6a655c8a.kabaev@bellatlantic.net> <200206260001.g5Q01U3s002621@apollo.backplane.com> From: Dag-Erling Smorgrav Date: 26 Jun 2002 02:35:16 +0200 In-Reply-To: Matthew Dillon's message of "Tue, 25 Jun 2002 17:01:30 -0700 (PDT)" Message-ID: Lines: 14 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.7 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 Matthew Dillon writes: > I'm afraid whatever DES did it aggravated the problem. When I #if 0 > out his last commit 'su' stops doing the HUP thing. So there's > obviously a race there that the commit didn't fix (or maybe it fixed > one race and aggravated another?) DES? My patch is wrong, and I haven't had time to figure out why. Alexander's patch is also wrong, but unlike mine it is at least a suitable workaround. I meant to back out my own patch and commit Alexander's instead, but I forgot. Can you do it for me? DES -- Dag-Erling Smorgrav - des@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message