SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000615ClearOSbuild-release - Operating Systempublic2012-05-17 02:552012-06-05 18:24
ReporterNickH 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.2.0 
Target VersionFixed in Version6.2.0 Updates 
Summary0000615: Yum installs wrong x86_64 kernel headers by default
DescriptionWith the current x86_64 build, if you do a "yum install kernel-headers" you get the 2.6.32-220.13.1.el6.x86_64 version. Note the el6. This does not correspond to any available kernels. The correct packages are in the clearos-dev repo which is not enabled by default and can be installed with "yum --enablerepo=clearos-dev install kernel-devel kernel-headers"

This problem has been encountered by a number of people on the forum in different threads, but does not appear to have been picked up by the devs. It happened most recently here: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,2834/limit,10/limitstart,130/#41511. [^] I had a mini how-to before I understood the repo system here: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,37/func,view/id,40863/#40863 [^]
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0000586closeduser2 Disable core yum repos by default 

-  Notes
(0000517)
user2
2012-05-17 03:48

Bug 0000586 is the root cause of the problem and the fix is already floating around on our internal boxes (it's not much of a fix, just disabling a repo!). ClearOS Core should not be enabled by default. Packages in Core can appear before the patched versions are ready.
(0000518)
NickH (developer)
2012-05-17 05:06
edited on: 2012-05-17 07:44

Should clearos-dev be enabled by default? In 5.2 the supplements repos containing kernel-devel and kernel-headers is enabled by default.

[edit]
It gets worse. It looks like you now can no longer use "yum install kernel-headers kernel-devel --enablerepo=clearos-dev" as there are now other later el6 headers and devel packages in the clearos-dev repo and they get installed by preference. How can it be fixed so you can, by default, install the headers and devel packages to go with the latest released kernel? Do they need to be moved to a different repo? Just enabling clearos-dev no longer works.
[/edit]

(0000520)
user2
2012-05-30 13:37

The ClearOS Core yum repo configuration now excludes custom packages (including kernel*). In addition, the various devel packages (e.g. kernel-devel) are migrating to the clearos-addons repo (patch Tuesday).

- Issue History
Date Modified Username Field Change
2012-05-17 02:55 NickH New Issue
2012-05-17 03:42 user2 Relationship added duplicate of 0000586
2012-05-17 03:48 user2 Note Added: 0000517
2012-05-17 03:48 user2 Status new => confirmed
2012-05-17 05:06 NickH Note Added: 0000518
2012-05-17 07:44 NickH Note Edited: 0000518
2012-05-30 13:37 user2 Note Added: 0000520
2012-05-30 13:37 user2 Status confirmed => resolved
2012-05-30 13:37 user2 Fixed in Version => 6.2.0 Updates
2012-05-30 13:37 user2 Resolution open => fixed
2012-05-30 13:37 user2 Assigned To => user2
2012-06-05 18:24 user2 Status resolved => closed

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7