Re: Forcing updates install on shutdown

2018-09-20 Thread Robert Moskowitz
On 9/19/18 1:24 PM, Louis Garcia wrote: Is there a way to have fedora workstation to update on shutdown? When a user logs off or shutdown there box I would like fedora to pkcon update -y or dnf upgrade -y. I thought about creating a systemd unit file to do this but would that conflict with of

Re: Forcing updates install on shutdown

2018-09-20 Thread Tim via users
On Wed, 2018-09-19 at 23:18 +, Rick Stevens wrote: > 95% of the time "dnf --refresh -y upgrade" won't cause issues, but > it's that 5% of the time where it DOES screw up that will drive you > barking mad. Microsoft has had some absolutely horrific problems > doing this "upgrade on shutdown" beh

Re: Forcing updates install on shutdown

2018-09-19 Thread Ed Greshko
On 9/20/18 8:09 AM, Rick Stevens wrote: > Do what you wish, just be bloody careful about it. That's all I'm > saying. Just a FWIW. It has been my experience that those responsible for 100s+ system mostly do their due diligence when it comes to configuring automatic updates.  And those that didn'

Re: Forcing updates install on shutdown

2018-09-19 Thread Louis Garcia
That is what I do. I have a local repo that I sync. Workstations only have the local repo enabled. After I'm satisfied the updates cause no pain I let the rest update. Now my users never bother to update so I end up going around when their are other issues and update as I go. I just wanted to know

Re: Forcing updates install on shutdown

2018-09-19 Thread Rick Stevens
On 9/19/18 4:45 PM, Louis Garcia wrote: > I handle hundreds of workstations, I am not about to manually update > everyone. dnf-automatic the best choice right now. Go right ahead. I'm just warning you. I managed 1500-3000 systems in multiple datacenters world wide and at least that many additiona

Re: Forcing updates install on shutdown

2018-09-19 Thread Louis Garcia
I handle hundreds of workstations, I am not about to manually update everyone. dnf-automatic the best choice right now. On Wed, Sep 19, 2018 at 7:18 PM Rick Stevens wrote: > On 9/19/18 3:42 PM, Louis Garcia wrote: > > How well does dnf-automatic work? I often rebuild workstations through > > pxe

Re: Forcing updates install on shutdown

2018-09-19 Thread Rick Stevens
On 9/19/18 3:42 PM, Louis Garcia wrote: > How well does dnf-automatic work? I often rebuild workstations through > pxe and kickstart so a bad update is not an issue. As far as I know, dnf-automatic is a replacement for "dnf upgrade" that is more suitable for use in a script. 95% of the time "dnf

Re: Forcing updates install on shutdown

2018-09-19 Thread Louis Garcia
How well does dnf-automatic work? I often rebuild workstations through pxe and kickstart so a bad update is not an issue. On Wed, Sep 19, 2018 at 2:36 PM fred roller wrote: > I whole hardheartedly agree with Rick on this point. That being said, > yes, put the script in the shutdown sequence. I

Re: Forcing updates install on shutdown

2018-09-19 Thread fred roller
I whole hardheartedly agree with Rick on this point. That being said, yes, put the script in the shutdown sequence. Inject it either first or where ever makes the most since. It has been awhile since I messed with this but I think you need to research manipulation of the rc.local directory files.

Re: Forcing updates install on shutdown

2018-09-19 Thread Rick Stevens
On 9/19/18 10:24 AM, Louis Garcia wrote: > Is there a way to have fedora workstation to update on shutdown? When a > user logs off or shutdown there box I would like fedora to pkcon update > -y or dnf upgrade -y. I thought about creating a systemd unit file to do > this but would that conflict with

Forcing updates install on shutdown

2018-09-19 Thread Louis Garcia
Is there a way to have fedora workstation to update on shutdown? When a user logs off or shutdown there box I would like fedora to pkcon update -y or dnf upgrade -y. I thought about creating a systemd unit file to do this but would that conflict with offline update? --Thanks __