[CentOS-devel] kernel-*-devel and yum updates for CentOS-4.x

Sun Oct 22 16:19:40 UTC 2006
Roger Peña Escobio <orkcu at yahoo.com>


--- Johnny Hughes <mailing-lists at hughesjr.com> wrote:

> Yum does not install kernel-smp-devel (or
> kernel-hugemem-devel, kernel-
> largesmp-devel), but it upgrades them.
> 
> Yum does install kernel-devel, and it does not
> upgrade it.
> 
> Yum should be consistent in how kernel-devel files
> are handled.
> 
> -----------------------------------------------
> 
> This issue is addressed in this CentOS bug:
> 
> http://bugs.centos.org/view.php?id=1549
> 
> and in this upstream bug:
> 
>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155988
> 
> The upstream fix is rolled into FC >= 4 and RHEL >=
> 5 ... but it is not
> rolled into RHEL <= 4.
> 
> That leaves CentOS-4 with this bug.
> 
> -----------------------------------
> There are 3 options here:
> 
> 1. Patch CentOS-4 yum to make yum install all
> kernel-*-devel files like
> it does for kernel-devel (or the reverse ... make
> kernel-devel and
> upgrade like the other files).
> 
> 2. Modify the kernel-2.6.spec to do what FC >= 4
> does.
> 
> 3. Do nothing and tell people to choose what they
> want by updating this
> variable in /etc/yum.conf
> 
> installonlyn=
> 
> ------------------------------------
> 
> I think that 2 is a bad choice as it makes the
> CentOS kernel deviate
> from the upstream kernel.
> 
> I think that 3 is a better choice than 2 ... but I
> think 1 is the
> optimal choice.  That yum needs to be updated to
> treat kernel-*-devel
> files like it treats kernel-devel.

but a change in yum is enough ?
from the comments in RedHat Bugzilla I interprete that
a change in the kernel spec is also necessary (to
provide "Provides" lines), is that true?

I can understand  redhat position about RHEL4 because 
yum is not used officially, but I can remember that
centos3's kernel rpm did have patches in the spec to
solve some centos bugs or necesities, and then the
package was renamed to append centos3 in the name.
So, do centos should make that deviation from upstrain
specs just to be consistente with its own update's
mechanisms? or a more specific yum-centos4 (and not so
general as to honor the Provides line) patch is the
way? 


> -----------------------------------
> Note: This is my attempt to solicit input for
> package changes from the
> public and not make unilateral decisions and push
> them with only the
> developers present.
:-)

> 
> If there is no discussion of this item on this list
> by non-centos
> developers, then I will revert back to making bug
> changes based on only
> what the developers think :P
jejejejejejejejeje
;-)
fair enough :-)


cu
roger

__________________________________________
RedHat Certified Engineer ( RHCE )
Cisco Certified Network Associate ( CCNA )

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com