Update-Behaviour

Questions and answers about how to do stuff
Post Reply
SPQRInc
Posts: 10
Joined: 27 Mar 2015 17:11

Update-Behaviour

Post by SPQRInc »

Hello,

I would like to ask, if it is possible to use the yum-update on efa without crashing the software.

And: If I do auto-updates (Efa) - are custom changes on postfix's main.cf overwritten?

Thanks and have a nice weekend :-)
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update-Behaviour

Post by shawniverson »

If you run yum update...here's the safer method...

Code: Select all

yum --exclude="kernel* mysql* postfix* mailscanner* clamav* clamd*" update
Auto updates should leave main.cf intact as it uses the above yum update as well.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Update-Behaviour

Post by pdwalker »

added to the wiki
mitgib
Posts: 9
Joined: 27 Mar 2015 14:28
Location: Rock Hill SC
Contact:

Re: Update-Behaviour

Post by mitgib »

shawniverson wrote:If you run yum update...here's the safer method...

Code: Select all

yum --exclude="kernel* mysql* postfix* mailscanner* clamav* clamd*" update
Auto updates should leave main.cf intact as it uses the above yum update as well.
Even safer would be to edit /etc/yum.conf and add the following

Code: Select all

exclude=kernel* mysql* postfix* mailscanner* clamav* clamd*
This way you are not fumbling for the wiki page on every update, but why would you not update the kernel? Unless you are also using ksplice or kernelcare or one of the other kernel patching services.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update-Behaviour

Post by shawniverson »

Adding this to yum.conf will cause problems down the road when these packages are actually targeted for update.

Also, kernel is excluded because many EFA users run on VMware, and vmware-tools or open-vmtools must be recompiled after every kernel update.
ZimboKraut
Posts: 15
Joined: 19 Jun 2015 16:17

Re: Update-Behaviour

Post by ZimboKraut »

Hi there,
would it be safe to say, that if you are running on hardware, or possibly KVM, it would be safe to update the kernel?
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Update-Behaviour

Post by darky83 »

It should be, I run a few systems on bare hardware and did a number of kernel upgrades without issue.
As you run it on bare hardware and/or in KVM I assume you have enough knowledge to fix possible issues.

Except VMware tools there are no items in EFA that require an specific kernel version.
Version eFa 4.x now available!
Post Reply