From owner-freebsd-current@FreeBSD.ORG Mon Mar 12 00:33:09 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0AF9106566C; Mon, 12 Mar 2012 00:33:09 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 579F48FC18; Mon, 12 Mar 2012 00:33:09 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id 9E176613E; Sun, 11 Mar 2012 20:33:08 -0400 (EDT) DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=TnYT5Q0i3UZAOeEN9anIHpF5JYpd9rhieZsVjjvTK3ln2W0L1pWvbeFYpLFDu+nno b6JR6jXGy9vAsQ8YlRBivoT4qGsBj/BGGCG6Te3tb20jMOwlk95sH4hvliT2XNP Message-ID: <4F5D4443.8060603@protected-networks.net> Date: Sun, 11 Mar 2012 20:33:07 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2 MIME-Version: 1.0 To: Glen Barber References: <4F5D3B56.4010702@protected-networks.net> <20120312000750.GA1758@glenbarber.us> <4F5D3FDB.1020700@protected-networks.net> In-Reply-To: <4F5D3FDB.1020700@protected-networks.net> X-Enigmail-Version: 1.4 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: sudo through ssh broken on -current? 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: Mon, 12 Mar 2012 00:33:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/11/12 20:14, Michael Butler wrote: > On 03/11/12 20:07, Glen Barber wrote: >> On Sun, Mar 11, 2012 at 07:55:02PM -0400, Michael Butler wrote: >>> I noted some thing odd when executing the following .. >>> >>> /home/imb> ssh imb@xxxx "sudo /sbin/ipfw list" >>> >>> sudo: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2644: Failed assertion: >>> "(run->regs_mask[elm] & (1U << bit)) == 0" >>> Abort >>> >>> Adding '-t' as a parameter to ssh runs without the assert, >>> > >> What is 'uname -a'? > > client is FreeBSD 7.4-STABLE #11: Fri Mar 2 20:44:44 EST 2012 > server is FreeBSD 10.0-CURRENT #23: Sun Mar 11 18:46:14 EDT 2012 > > Both are i386. > > Another interesting point: if run as part of a script, with no > controlling tty, '-t' (or '-n', for that matter) produces the assertion :-( Client version appears to not be relevant - occurs when executed from the same SVN of -current, imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9dREIACgkQQv9rrgRC1JJIhgCdEl8f2ALP9R9gmlPwJQ/LYXdw YdsAn2ZNmBtL9QsKpegU8Mvo70CCGbLd =vs1t -----END PGP SIGNATURE-----