From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 03:14:49 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F9216A417 for ; Thu, 18 Oct 2007 03:14:49 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx02.syd.optusnet.com.au (fallbackmx02.syd.optusnet.com.au [211.29.133.72]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFA913C442 for ; Thu, 18 Oct 2007 03:14:45 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by fallbackmx02.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l9HJaoG2026896 for ; Thu, 18 Oct 2007 05:36:50 +1000 Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail03.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9HJaGPT028670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Oct 2007 05:36:17 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l9HJaG6H059469; Thu, 18 Oct 2007 05:36:16 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l9HJaFj6059467; Thu, 18 Oct 2007 05:36:15 +1000 (EST) (envelope-from peter) Date: Thu, 18 Oct 2007 05:36:15 +1000 From: Peter Jeremy To: Artem Kuchin Message-ID: <20071017193615.GO9006@server.vk2pj.dyndns.org> References: <00bd01c810ec$10371230$0c00a8c0@Artem> <8cb6106e0710171143m3dff7546o457192ede76e6598@mail.gmail.com> <012c01c810f3$aafeecf0$0c00a8c0@Artem> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <012c01c810f3$aafeecf0$0c00a8c0@Artem> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: josh.carroll@gmail.com, Kostik Belousov , freebsd-current@freebsd.org, ??? Bill Hacker , Andrey Chernov Subject: Re: Broken su in current - trying to fix myself, help needed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 03:14:49 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 17, 2007 at 11:26:48PM +0400, Artem Kuchin wrote: >I have rerun all configs and started jails - still works. Then i=20 >remembered >that i have always run this script fro midnight commander. >Started mc >Pressed ENTER on this script and it got suspended. > >Now i am lost, whose problem is this? su's or mc's? or both? >If i remove su from the script and run simply >system('echo heck'); >from mc it work fine. With su it gets suspended. This bug (or another one with identical symptoms) affects the 'su' commands within the ports build system if you are using tcsh or zsh and maybe related to the gdb-with-tcsh problems that have been reported. It appeared in -current in the middle of 2006. The suggestions to date have been that there's something wrong with the signal handling in the kernel but you have opened a new line of attack. --=20 Peter --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHFmQv/opHv/APuIcRAnYNAJ933bA7dU5Yb7kK14ll+sdkjUtEygCglsXI Ua5nDr8e0STb9TkOwPD9DBA= =4+I/ -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--