From owner-freebsd-ports@FreeBSD.ORG Wed Aug 29 00:32:15 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 7BE2416A419; Wed, 29 Aug 2007 00:32:15 +0000 (UTC) (envelope-from Wolfram.Fenske@Student.Uni-Magdeburg.DE) Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mx1.freebsd.org (Postfix) with ESMTP id CC24E13C4A8; Wed, 29 Aug 2007 00:32:14 +0000 (UTC) (envelope-from Wolfram.Fenske@Student.Uni-Magdeburg.DE) Received: from sunny.urz.uni-magdeburg.de ([141.44.8.7]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.62) id 1IQBTf-0004Dc-J2; Wed, 29 Aug 2007 02:32:12 +0200 Received: from hondo.cadr.de (p54B6BD6B.dip0.t-ipconnect.de [84.182.189.107]) (authenticated bits=0) by sunny.urz.uni-magdeburg.de (8.12.10/8.12.10) with ESMTP id l7T0WBSr021926 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 29 Aug 2007 02:32:12 +0200 To: pav@FreeBSD.org References: <86veb0jjm8.fsf@hondo.cadr.de> <1188300465.4687.10.camel@ikaros.oook.cz> From: Wolfram Fenske Date: Wed, 29 Aug 2007 02:32:10 +0200 In-Reply-To: <1188300465.4687.10.camel@ikaros.oook.cz> (Pav Lucistnik's message of "Tue, 28 Aug 2007 13:27:45 +0200") Message-ID: <86sl63uqnp.fsf@hondo.cadr.de> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.20 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.0 (----) X-Spam-Report: ---- Start SpamAssassin results Content analysis details: (-4.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.4 AWL AWL: From: address is in the auto white-list ---- End of SpamAssassin results X-Scan-Signature: 27004fcae819a2059f0002d3dbe0a950 Cc: ports@FreeBSD.org, chuck@pkix.net, Andy Polyakov Subject: Re: FreeBSD Port: dvd+rw-tools-7.0: growisofs -version dumps core 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: Wed, 29 Aug 2007 00:32:15 -0000 Pav Lucistnik writes: > Wolfram Fenske p=ED=B9e v =FAt 28. 08. 2007 v 07:47 +0200: > >> On my system [1], >>=20 >> growisofs -version >>=20 >> causes a core dump in mkisofs (8). The exact output is: >>=20 >> * growisofs by , version 7.0.1, >> front-ending to mkisofs: Bus error(coredump) >>=20 >> (It says growisofs version 7.0.1, not 7.0, because I also use another >> patch [2]. The problem occurs with or without this patch, though.) >>=20 >> I don't usually call growisofs like that myself, but k3b, for example, >> does. > > Must be something with your system, works for me: Ah, you're right. I compiled the dvd+rw-tools myself, and the default `gmake install' installs the programs with the setuid bit set. I saw what I thought was a reference to my bug on the freebsd-ports-bugs list [1], so I thought this problem occurred in the ports collection as well. It turns out the FreeBSD port installs the dvd+rw-tools with mode 555 and the problem doesn't reveal itself in this configuration. However, if you do set the setuid bit on the programs built from the ports collection [2], you get the behavior I described. My little patch fixes that. Footnotes:=20 [1] [2] I don't know, is there a particular reason why the dvd+rw-tools should or shouldn't be installed that way? --=20 Wolfram Fenske A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?