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 » 28 Mar 2015 09:18

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: 3005
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update-Behaviour

Post by shawniverson » 29 Mar 2015 01:08

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.
Version eFa 4.0.2 now available!

User avatar
pdwalker
Posts: 1202
Joined: 18 Mar 2015 09:16

Re: Update-Behaviour

Post by pdwalker » 30 Mar 2015 03:06

added to the wiki

mitgib
Posts: 9
Joined: 27 Mar 2015 14:28
Location: Rock Hill SC
Contact:

Re: Update-Behaviour

Post by mitgib » 30 Mar 2015 03:38

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: 3005
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update-Behaviour

Post by shawniverson » 30 Mar 2015 11:11

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.
Version eFa 4.0.2 now available!

ZimboKraut
Posts: 8
Joined: 19 Jun 2015 16:17

Re: Update-Behaviour

Post by ZimboKraut » 23 Sep 2015 07:25

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: 534
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Update-Behaviour

Post by darky83 » 23 Sep 2015 16:38

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.0.1 now available!

Post Reply