From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 03:55:46 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09D0B16A417 for ; Mon, 23 Jul 2007 03:55:46 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.freebsd.org (Postfix) with ESMTP id BD3B913C45B for ; Mon, 23 Jul 2007 03:55:45 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.127] (bofh.straycat.dhs.org [192.168.1.127]) by straycat.dhs.org (8.13.8/8.13.8) with ESMTP id l6N3tiXb005134; Sun, 22 Jul 2007 23:55:45 -0400 (EDT) From: Tom McLaughlin To: Norberto Meijome In-Reply-To: <20070723101231.44804e2d@localhost> References: <200707211639.25964.yarodin@gmail.com> <1185038376.1955.12.camel@localhost> <20070723101231.44804e2d@localhost> Content-Type: text/plain Date: Sun, 22 Jul 2007 23:55:43 -0400 Message-Id: <1185162944.1955.84.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, yarodin@gmail.com Subject: Re: sudo 1.6.9 segfault X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 03:55:46 -0000 On Mon, 2007-07-23 at 10:12 +1000, Norberto Meijome wrote: > On Sat, 21 Jul 2007 13:19:35 -0400 > Tom McLaughlin wrote: > > > On Sat, 2007-07-21 at 16:39 +0600, yarodin wrote: > > > Jul 21 15:12:01 home sudo: admin : TTY=unknown ; PWD=/home/admin ; > > > USER=root ; COMMAND=/sbin/ipfw > > > Jul 21 15:12:36 home kernel: pid 42226 (sudo), uid 0: exited on signal 11 > > > > I need a little more information. > > > > sudoers: > > tom LOCAL = NOPASSWD: /sbin/ipfw > > > > [tom@releng-7-fbsd tom]$ sudo ipfw > > Last login: Sat Jul 21 13:09:52 on ttyp0 > > usage: ipfw [options] > > do "ipfw -h" or see ipfw manpage for details > > > > What options are you using in the port? What does your sudoers look > > like? Also, I'm curious why TTY would show up as unknown in the log. > > > > tom > > > > Hi, > I can reproduce the sigfault with .1.6.9., but not with 1.6.8.12. > 1.6.9 does NOT sigfault when run from a shell, but it does if called from a menu or launcher in XFCE. For example, i have sudo configured to allow me to run sudo wireshark without password. > > from an shell (in Terminal, actually), sudo wireshark works fine. > From the launcher or menu option which executes 'sudo wireshark' , i get a sigfault. > > I tried to trace the call with > ktrace -f /tmp/SUDOKTRACE -d sudo wireshark > > but i only get up to the loading of ld-elf ... > > If you have any tests to suggest, let me know. > B I've just committed the fix for this. You should be fine after you update. tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org |