-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic Updates #38
Comments
Thanks for participating @feren, it's great to have input from the community. The issue of unattended upgrades is an interesting one. In a desktop OS, it's reasonable, as it means that security fixes are immediately applied and you are safe, and if there's a regression you can roll back the change manually. When managing thousands of machines remotely, however, (as it would be across a single NHS trust's estate) you need to be sure that you aren't rolling out a regressive patch. Also you want to be able to have control of specifically when the patch is applied, ie the time of day, because machines may need to reboot and this could be inconvenient if for example it's in the middle of a busy clinic. So we would expect enterprise-wide machine management tools (which are already in use across the NHS) to be used to test any security upgrades in a 'staging' environment, and then when we're sure everything's OK, roll it out at an appropriate time to the organisation. So: for now, while NHSbuntu is mainly just being evaluated and used for development, yes we will temporarily set unattended upgrades to be on by default. But as we move to production, no it will be off by default and sysadmins will arrange upgrades and updates according to whatever patch schedule they feel appropriate, at a time that is not going to cause clinical disruption, and following appropriate staging/testing steps. |
@pacharanero I agree with that point. I was thinking myself with feren OS sometime in the future to regulate updates to packages when feren OS got it's own PPAs for Stable (Passed Testing), Romeo (Testing Packages for Stability) and Edge (Newly Submitted Packages that are yet to be checked), so maybe if NHSbuntu follows a similar policy with packages, if NHSbuntu got its own set of repositories for regulating updates with (with the added benefit of being able to completely change packages before systems get the original versions of packages when updated)... There again, if you know about the packages you don't want updated ever, you can |
I strongly feel that automatic updates should be on by default, and then those places with the capacity to manage updates manually have the facility to disable it. If it is the other way around, I would think the majority would not do so. |
Are there many instances where Ubuntu updates break things to the extent that Windows updates break things? I'm for on by default with Sysadmin to turn off if they require. |
Also, I'd like to add something extra to this: Here's what I'm thinking:
|
I'm not sure if this has already been done, so sorry if it has...
One of the problems with Windows back in the NHS has always been lack of Updating, and I fear something similar could happen with NHSbuntu, unless, you set up Unattended Upgrades in the distribution. This Can Be Set Up To Work Before The OS Is Made Into An ISO
To set Unattended Upgrades up:
In Terminal, run this:
sudo apt-get install unattended-upgrades -y
(-y assumes YES for all possible prompts)Now, go to '/etc/apt/apt.conf.d' in something that's got Superuser Privileges, and make sure a file that's EXACTLY called '50unattended-upgrades' exists, if not, make a blank document and name it to that, without the quotes.
Open it in your favourite text editor, and configure it something like how I did it in feren OS (below):
Hopefully, it should work and it should install updates in the background on the set time to check for updates, you can tell because during it, APT won't be able to unlock because unattended-upgrades would be locking DPKG while it's working in the background (for Package Upgrading)...
The text was updated successfully, but these errors were encountered: