FreeBSD Port: dvd+rw-tools-7.0: growisofs -version dumps core

Pav Lucistnik pav at FreeBSD.org
Wed Aug 29 01:13:48 PDT 2007


Wolfram Fenske píše v st 29. 08. 2007 v 02:32 +0200:
> Pav Lucistnik <pav at FreeBSD.org> writes:
> 
> > Wolfram Fenske píše v út 28. 08. 2007 v 07:47 +0200:
> >
> >> On my system [1],
> >> 
> >>   growisofs -version
> >> 
> >> causes a core dump in mkisofs (8).  The exact output is:
> >> 
> >>   * growisofs by <appro at fy.chalmers.se>, version 7.0.1,
> >>     front-ending to mkisofs: Bus error(coredump)
> >> 
> >> (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.)
> >> 
> >> 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.

I'm not sure, I always set growisofs setuid root on all my machines,
because I'm too bored to use sudo just to burn some discs, and it works
fine:

ls -l /usr/local/bin/growisofs 
-r-sr-sr-x  1 root  wheel  63620 Jun 16 22:45 /usr/local/bin/growisofs*

$ growisofs --version
* growisofs by <appro at fy.chalmers.se>, version 7.0.1,
  front-ending to mkisofs: mkisofs 2.01.01a05 (i386-unknown-freebsd6.2)

Must be something else.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

God is real unless declared integer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070829/3908416e/attachment.pgp


More information about the freebsd-ports mailing list