eFa4 Autoupdate

Bugs in eFa 4
Post Reply
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

eFa4 Autoupdate

Post by henk »

I was supprised to get the following mail from eFa4 :doh:
Long story short, how do I turn off auto updating? Just remove the /etc/cron.daily/0yum-daily.cron cron job?

Code: Select all

/etc/cron.daily/0yum-daily.cron:

The following updates will be applied on eFa4:
================================================================================
 Package               Arch    Version               Repository            Size
================================================================================
Installing:
 kernel                x86_64  3.10.0-1062.12.1.el7  sans-centos-updates   50 M
Updating:
 NetworkManager        x86_64  1:1.18.0-5.el7_7.2    sans-centos-updates  1.9 M
 NetworkManager-libnm  x86_64  1:1.18.0-5.el7_7.2    sans-centos-updates  1.7 M
 NetworkManager-team   x86_64  1:1.18.0-5.el7_7.2    sans-centos-updates  163 k
 NetworkManager-tui    x86_64  1:1.18.0-5.el7_7.2    sans-centos-updates  327 k
 binutils              x86_64  2.27-41.base.el7_7.2  sans-centos-updates  5.9 M
 bpftool               x86_64  3.10.0-1062.12.1.el7  sans-centos-updates  8.2 M
 curl                  x86_64  7.29.0-54.el7_7.2     sans-centos-updates  270 k
 firewalld             noarch  0.6.3-2.el7_7.3       sans-centos-updates  441 k
 firewalld-filesystem  noarch  0.6.3-2.el7_7.3       sans-centos-updates   50 k
 iprutils              x86_64  2.4.17.1-3.el7_7      sans-centos-updates  243 k
 kernel-headers        x86_64  3.10.0-1062.12.1.el7  sans-centos-updates  8.7 M
 kernel-tools          x86_64  3.10.0-1062.12.1.el7  sans-centos-updates  7.9 M
 kernel-tools-libs     x86_64  3.10.0-1062.12.1.el7  sans-centos-updates  7.8 M
 libcurl               x86_64  7.29.0-54.el7_7.2     sans-centos-updates  223 k
 postgresql-libs       x86_64  9.2.24-2.el7_7        sans-centos-updates  234 k
 python-firewall       noarch  0.6.3-2.el7_7.3       sans-centos-updates  353 k
 python-perf           x86_64  3.10.0-1062.12.1.el7  sans-centos-updates  7.9 M
 sg3_utils             x86_64  1.37-18.el7_7.2       sans-centos-updates  646 k
 sg3_utils-libs        x86_64  1.37-18.el7_7.2       sans-centos-updates   65 k
 smartmontools         x86_64  1:7.0-1.el7_7.1       sans-centos-updates  546 k
 systemd               x86_64  219-67.el7_7.3        sans-centos-updates  5.1 M
 systemd-libs          x86_64  219-67.el7_7.3        sans-centos-updates  411 k
 systemd-python        x86_64  219-67.el7_7.3        sans-centos-updates  137 k
 systemd-sysv          x86_64  219-67.el7_7.3        sans-centos-updates   88 k

Transaction Summary
================================================================================
Install   1 Package
Upgrade  24 Packages
The updates were successfully applied
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: eFa4 Autoupdate

Post by shawniverson »

Yes, but for anyone else reading this you should leave autoupdating on unless you have a good reason not to (and "I'm scared of updates" is not a valid reason! :lol: :roll: )
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: eFa4 Autoupdate

Post by henk »

Haha Shawn, as in anyone else but Henk. :shifty:
Just got rid of fear for selinux, and still working on IPv6 with little progress.
Maybe somewhere in the future, but till then: Thou Shalt Not AutoUpdate :naughty:
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
e-d-i-t
Posts: 94
Joined: 27 Apr 2016 19:28
Contact:

Re: eFa4 Autoupdate

Post by e-d-i-t »

Well, I have a reason.
Update killed EFA4...

Now applying a restore.
But need to de-activate auto update asap...

/etc/cron.daily/0yum-daily.cron:
 
warning: /var/lib/unbound/root.key saved as /var/lib/unbound/root.key.rpmsave
warning: /etc/unbound/unbound.conf created as /etc/unbound/unbound.conf.rpmnew
warning: /etc/MailScanner/MailScanner.conf created as /etc/MailScanner/MailScanner.conf.rpmnew
Added new: Web Bug Replacement = https://s3.amazonaws.com/msv5/images/spacer.gif
Added new: Lockfile Dir = /var/spool/MailScanner/incoming/Locks
Added new: include /etc/MailScanner/conf.d/*
 
Summary
-------
Read 386 settings from old /etc/MailScanner/MailScanner.conf.original
Used 384 settings from old /etc/MailScanner/MailScanner.conf.original
Used 4 default settings from new /etc/MailScanner/MailScanner.conf.dist
 

 
Preparing to update eFa...
checkmodule: loading policy configuration from /var/eFa/lib/selinux/eFa.te
checkmodule: policy configuration loaded
checkmodule: writing binary representation (version 19) to /var/eFa/lib/selinux/eFa.mod
Update completed successfully!
The following updates will be applied on mailgtw.e-d-i-t.nl:
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
MailScanner noarch 5.3.4-1.eFa.el7 eFa4 597 k
eFa noarch 1:4.0.3-12.eFa.el7 eFa4 104 k
unbound x86_64 1.11.0-1.eFa.el7 eFa4 927 k
unbound-libs x86_64 1.11.0-1.eFa.el7 eFa4 528 k
Installing for dependencies:
python3 x86_64 3.6.8-13.el7 base 69 k
python3-libs x86_64 3.6.8-13.el7 base 7.0 M
python3-pip noarch 9.0.3-7.el7_7 updates 1.8 M
python3-setuptools noarch 39.2.0-10.el7 base 629 k
 
Transaction Summary
================================================================================
Install ( 4 Dependent packages)
Upgrade 4 Packages
The updates were successfully applied
e-d-i-t
Posts: 94
Joined: 27 Apr 2016 19:28
Contact:

Re: eFa4 Autoupdate

Post by e-d-i-t »

Strange behavior of mails being sent by EFA to the back-end numerous times until an error is trhown something about too many hops.
A well, will have to look at it a later time....
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: eFa4 Autoupdate

Post by shawniverson »

Yanking update from production repo so this can be fixed.
e-d-i-t
Posts: 94
Joined: 27 Apr 2016 19:28
Contact:

Re: eFa4 Autoupdate

Post by e-d-i-t »

Thanks, I had a bad start this morning. You should have heared me LOL

I can however try any update manually, now I took away the daily cron job for the time being.
Snapshots will make my life easier now ;-)
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: eFa4 Autoupdate

Post by shawniverson »

e-d-i-t wrote: 04 Nov 2020 14:18 Thanks, I had a bad start this morning. You should have heared me LOL

I can however try any update manually, now I took away the daily cron job for the time being.
Snapshots will make my life easier now ;-)
Makes sense. These updates were in testing for about a week. I'm going to rethink things. I can't guarantee perfect updates in all environments (no one can), so I need to rethink this. I don't want to cause anyone trouble.
e-d-i-t
Posts: 94
Joined: 27 Apr 2016 19:28
Contact:

Re: eFa4 Autoupdate

Post by e-d-i-t »

Aaahhh...
It's not Windows 10...

:lol:
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: eFa4 Autoupdate

Post by shawniverson »

Anyone affected by this please execute:

Code: Select all

sudo yum downgrade MailScanner
sudo chown postfix:mtagroup /var/spool/MailScanner/milterin
sudo chown postfix:mtagroup /var/spool/MailScanner/milterout
and report back
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: eFa4 Autoupdate

Post by pdwalker »

"just turn on automatic updates"

:clap:

:lol:
e-d-i-t
Posts: 94
Joined: 27 Apr 2016 19:28
Contact:

Re: eFa4 Autoupdate

Post by e-d-i-t »

You should work for MS.. If it can be that quick :lol:

I'll try tuesday, there is something with that day... :twisted:
ajmind
Posts: 53
Joined: 28 Mar 2017 15:26

Re: eFa4 Autoupdate

Post by ajmind »

Code: Select all

error: Paket: 1:eFa-4.0.3-13.eFa.el7.noarch (eFa4)
            need: unbound >= 1.11.0-1
            Installed: unbound-1.6.6-5.el7_8.x86_64 (@updates)
                unbound = 1.6.6-5.el7_8
What should I do?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: eFa4 Autoupdate

Post by shawniverson »

Try

Code: Select all

sudo yum clean all
I'll double check the repo.
ajmind
Posts: 53
Joined: 28 Mar 2017 15:26

Re: eFa4 Autoupdate

Post by ajmind »

sudo yum clean all
That solved the problem, thank you!
:clap:
Post Reply