Koozali.org: home of the SME Server

Hide update area at server-manager?

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Hide update area at server-manager?
« on: December 23, 2009, 11:28:40 AM »
Hello@ALL

for a special hardware i have to switch of update area at smeserver,
how can i do this?

or create custom-templates for yum to disable kernel updates?
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Hide update area at server-manager?
« Reply #1 on: December 23, 2009, 02:05:45 PM »
for a special hardware i have to switch of update area at smeserver,
how can i do this?
May I ask why you would like to do this? What are you trying to prevent? Perhaps you can elaborate on this a bit to see if there are other solutions to your problem as I am not sure if this is the best as you will not receive security updates that are applied to the kernel. IMHO this is a serious security risk.

or create custom-templates for yum to disable kernel updates?
If you really want to go this route you will have to update the Exclude property of the smeos and smeupdates repositories in the yum_repositories database and run the yum-modify event afterwards.

edit: fixed typo
« Last Edit: December 23, 2009, 02:44:56 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Hide update area at server-manager?
« Reply #2 on: December 23, 2009, 02:41:46 PM »
linuxhelp

To prevent updates from overwriting required package versions do:

db yum_repositories setprop reponame Exclude packagename
expand-template /etc/yum.conf
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Hide update area at server-manager?
« Reply #3 on: December 23, 2009, 02:45:52 PM »
expand-template /etc/yum.conf
Please do not use above, instead please use:
Code: [Select]
signal-event yum-modify
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Hide update area at server-manager?
« Reply #4 on: December 26, 2009, 11:10:18 AM »
Hello@ALL+merry Christmas..

yes i will try it cause my Server uses a Cerc2 Raid-Megaraid Card and the last kernel
2.6.9-89.0.16.EL can't patched with my patch. I am looking for a solution
if i have more time..

http://jrklein.com/problem/linux/centos4-kernel-megaraid-freevps.html

bye..
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Hide update area at server-manager?
« Reply #5 on: December 26, 2009, 11:11:55 AM »
yes i will try it cause my Server uses a Cerc2 Raid-Megaraid Card and the last kernel
2.6.9-89.0.16.EL can't patched with my patch. I am looking for a solution
if i have more time..
It would be easier to either buy a properly supported RAID card, or do not use hardware RAID at all and use the linux built-in software RAID instead.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Hide update area at server-manager?
« Reply #6 on: December 26, 2009, 12:39:18 PM »
linuxhelp

The immediate answer is to select the old kernel at start up.

It's a bad idea generally speaking to use unsupported hardware that requires custom mods to the kernel. You overlook the fact that by not upgrading your kernel, you will not get any security updates & fixes and newer hardware support etc etc.

It's relatively easy to select hardware that is supported by the underlying OS, ie CentOS 4.8 for sme7.4, or as cactus suggests do away with your RAID card & use software RAID. Unless you are using very big drives ie 2Tb plus, you probably won't notice any performance difference.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.