Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Perfsonar and yum autoupdates

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Perfsonar and yum autoupdates


Chronological Thread 
  • From: Andrew Lake <>
  • To: , Jessica repka <>
  • Cc:
  • Subject: Re: [perfsonar-user] Perfsonar and yum autoupdates
  • Date: Mon, 19 Nov 2018 06:45:30 -0800
  • Ironport-phdr: 9a23:/kHb6BQo6lQXub9+ZjxjREBDB9psv+yvbD5Q0YIujvd0So/mwa6ybR2N2/xhgRfzUJnB7Loc0qyK6/CmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRBDIy+YYsBCOUOM+hboYfguVUBsQCzChOwCO710DJFnGP60K883u88EQ/GxgsgH9cWvXnIqtX6Kb0SXv67zaLVyzvMdfBW1ing44XPaB8hp+yDXLJrfMXP0kkjDQXFgUuMqYH8OT6ey+oDs2+e7+V6VOKvjXYqqwB3ojiz2MgskI/JiZwJylza7yl23ps6JcCgRE5jf9GkCpVQtzqdN4twWMwiWXtkuCAkxb0av5OwYSsEyIw/yhLCdfCKcJKE7xz5WOuePDt0nnNodbGnixqs7UStzvfwW8q03VpQsCZJj8XAumoP2hDO7MWMV+Fz8V272TmV0gDe8uFELl4wlarcM5MhzKA/m5QJvUTHBSD2nF/6jKCRdkU64uSo6uLnbav6ppKEKoN4lALzPr4gl8ClDuk0LxICUmmY9Oik0b3s50z5QLFEjv0slanZtYjXKt4dpqGkAw5YyZgs6w2lAzegztsYgWELLEhZdxKfk4jpJ1bOLejgDfihmVSsnixrx/fAPrL7GJXBN2XDkKz/crZn8ENczAszzctD55JPFL0NOvPzWknttNPGFB85NRK7w/r5BNlnyIwRRH+PUeekNrjPuwqI+v43OLvLI4sUoyrmbfkj+/P0i3IlwxkQcbTuxooScHn/BfVpJUKXbz30j80PCmAMtxB7Uffnkg6+VmtRan+0Gqc97TE2DMSsBJ3JS5yFm6GL1Tu2FZ0QZ2YcEgvKH22sP6eJQOwNYyvaOMJ5kTVMAbqsUJQ72AmtvSf1zrNmKqzf/ShO5rz5090gzuvfjxwtvRh9DMnVh2iLQ3Bck3hOQTIqivMs6Xdhw0uOhPAry8dTEsZesrYQCl83

Hi,

That’s not the intended behavior, I’ll create an issue for this. I assume you are doing a “systemctl disable yum-cron” when you turn-off auto-updates? Doing a quick look at the script, the lines you omitted should only be enabling yum-cron on a new install or upgrades from the long unsupported 3.3.2 (as an aside we should probably just remove the checks for that at this point). There are some lines at the end that touch a config file whether its new or update, but those should only matter if yum-cron is running. We can take a closer look to see why the checks aren’t working the way they are supposed to.

Thanks,
Andy 


On November 19, 2018 at 8:27:55 AM, Jessica repka () wrote:

Jean-michel,
So I ran into this issue while on vacation with one of the updates.
If you disable the updates you can decide when to update them. This can be found here, http://docs.perfsonar.net/manage_update.html#manage-update-auto-disable .
I'd also just do a yum roll back disable them do your yum update for the OS, then make a decision on when to update and install.

Thank you,
Jessica Repka

On Mon, Nov 19, 2018 at 8:17 AM Jean-Michel Barbet <> wrote:
Hello all,

Recently, some packages where automatically updated on our Perfsonar
boxes while I was sure of having disabled yum autoupdates.

Digging a bit, I found that when updating (manually) the package
perfsonar-toolkit-systemenv-testpoint, a post-install script named
"/usr/lib/perfsonar/scripts/system_environment/testpoint/enable_auto_updates"
is run and it reconfigured my systems to perform yum autoupdates. An
extract of the script is clear on the subject :

[...]
# Make sure download_updates and apply_updates are on in centos 7
if [ -f "/etc/yum/yum-cron.conf" ]; then
     sed -i "s/download_updates = .*/download_updates = yes/g"
/etc/yum/yum-cron.
conf
     sed -i "s/apply_updates = .*/apply_updates = yes/g"
/etc/yum/yum-cron.conf
fi
[...]

=> I think this knob should be left for the system administrator to
    decide.

I found one of my Perfsonar boxes hanging following auto-updates,
I think it is better to decide when to apply them and be here to check
that the boxes are still functional after, reboot if necessary.

JM




--
------------------------------------------------------------------------
Jean-michel BARBET                    | Tel: +33 (0)2 51 85 84 86
Laboratoire SUBATECH Nantes France    | Fax: +33 (0)2 51 85 84 79
CNRS-IN2P3/IMT-Atlantique/Univ.Nantes | E-Mail:
------------------------------------------------------------------------
--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user



Archive powered by MHonArc 2.6.19.

Top of Page