Ticket #840 (new enhancement)

Opened 14 years ago

Last modified 13 years ago

Phase out the auto-updater on -workstation in favor of unattended upgrades

Reported by: jdreed Owned by:
Priority: normal Milestone: Current Semester
Component: -- Keywords: hackathon
Cc: Fixed in version:
Upstream bug:

Description

The auto-updater is getting more and more complex, and as it does so, the intersection of the sets {what -workstation wants} and {what -cluster wants} is also getting smaller. Ubuntu provides a  native method for automatic upgrades. We should use it.

Change History

comment:1 Changed 14 years ago by jdreed

This looks pretty simple, actually. unattended-upgrades is already installed (it's an eventual dependency of ubuntu-desktop), but by default it doesn't run unless you run it periodically with cron. Configuration for Debathena is as simple as editing /etc/apt/apt.conf.d/50unattended-upgrades to include something like:

// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
        "Ubuntu lucid-security";
        "Debathena lucid";
        "Debathena lucid-development";
        "Debathena lucid-proposed";
//      "Ubuntu lucid-updates";
};


Things to do:

  • Generate 50unattended-upgrades using Hesiod clusterinfo
  • See what it does with conffile conflicts (and UCF conflicts)
  • Make a config package

I assert that we want to stick with our auto-updater on cluster (which can be made a lot simpler once we no longer have to deal with workstation stuff), but use this on -workstation. There will remain the challenge of how to put unattended-upgrade-config on workstation, but not on -cluster. It's possible that cluster no longer wants to be a superset of workstation.

comment:2 Changed 14 years ago by jdreed

Evan reminds us:

You probably want a mechanism to keep it from uninstalling metapackages

comment:3 Changed 14 years ago by kaduk

Some of the current auto-updater stuff (e.g. recovery hook) might be wrapped into a cluster workstation verification script?

comment:4 Changed 13 years ago by jdreed

  • Milestone changed from Natty Release to Fall 2011

comment:5 Changed 13 years ago by jdreed

  • Keywords hackathon added
Note: See TracTickets for help on using tickets.