From owner-freebsd-current@FreeBSD.ORG Mon Mar 12 00:14:23 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 857B2106566C; Mon, 12 Mar 2012 00:14:23 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [64.46.156.146]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7548FC0C; Mon, 12 Mar 2012 00:14:23 +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 749EB613E; Sun, 11 Mar 2012 20:14:22 -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=VHSemuoeFp1NUndK1pspAnQvQdJ+KtsDliqwFkqJlwGg3lL5ufjHYDu+jxIjBhLYW dO/z0gpWr0+6A84EdsAPaaPwXz0La2XdI/IhUJjuUjdLQ88skTAXkDCgw5QH6VN Message-ID: <4F5D3FDB.1020700@protected-networks.net> Date: Sun, 11 Mar 2012 20:14:19 -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> In-Reply-To: <20120312000750.GA1758@glenbarber.us> 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:14:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 :-( imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9dP9sACgkQQv9rrgRC1JIWvgCdFwQmf1rCCAW72NWir4U3+rWA FjcAoJdZyk1TeWiRFYsvdw3L7Swy+9Xf =fuQr -----END PGP SIGNATURE-----