[Bug 199514] suidperl segfaults when different version of perl/suidperl is installed.

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 25 23:43:40 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: suidperl segfaults when different version of perl/suidperl is installed.


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199514


jvdias at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |MODIFIED




------- Additional Comments From jvdias at redhat.com  2006-07-25 19:34 EST -------
Aha, I see the problem - the perl-suidperl sub-package has always specified:
 'Requires: perl = %{epoch}:%{version}-%{release}
 '
But the perl main package has always specified:
 '# By definition of 'do' (see 'man perlfunc') this package provides all
  # versions of perl previous to it.
  Provides: perl <= %{epoch}:%{version}
 '
So any perl package Provides: all previous versions of perl, so RPM allows
a previous version of perl to be installed when a later perl-suidperl version
is installed.

I guess the perl main package should specify something like:
 'Provides: libperl = %{epoch}:%{version}-%{release}
 '
and the perl-setuid sub-package should specify:
 'Requires: libperl = %{epoch}:%{version}-%{release}
 '

This fix is now in CVS and will go into the next release.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list