no information about snap updates

Bug #1695934 reported by Laryllan
156
This bug affects 42 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

As far as I know, updates of snap packages are done automatically.

Unfortunately there is no transparent way of knowing when updates took place.
Snapd reports the most recent updates using the 'snap changes' command, but the output does only show updates since the start of snapd.

I expected that there is an refresh log available, similar to the apt update log in /var/log/apt...

Ubuntu 17.04
snapd 2.25+17.04

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1695934] Re: no information about snap updates

How about a MOTD entry like this:

 * 12 snaps updated in last 14 days, see 'snap updates'

... with a new 'updates' or 'list-updates' command that shows only a log
of updates?

Mark

Revision history for this message
Ads20000 (ads20000) wrote :

I think Mark the point is that it would be nice to have a full list of updates stored somewhere so that one can see exactly what happened to the snaps installed or previously installed over time, so if something goes wrong (but the bug isn't noticed for a while) then one can try and trace back to the exact revision combination of snap (+ content snap) + base snap that broke things.

Revision history for this message
Ads20000 (ads20000) wrote :

Maybe this exists since this bug was filed, in which case, would be nice to have an explanation of where that information is! :)

Revision history for this message
Laryllan (laryllan) wrote :

Are the any news about the issue?

Revision history for this message
John Lenton (chipaca) wrote :

Today, snap updates (and any other changes under snapd's control) are visible in 'snap changes' for a few days.

After that they are cleaned up, to stop snapd from using up too many system resources.

We are aware that people want to be able to keep them around for longer, but have not gotten around to implementing that yet.

Revision history for this message
David Torrey (dotj) wrote :

Pinging to get this additional attention. Based on casework and personal experience, the ability to conclusively see a longer history of snap changes would be helpful in diagnosing latent symptoms, whether they occur late, get noticed late, or the triage happens late. This is especially important as more and more services are delivered as snaps (i.e. kubelet), where an unplanned restart can be an undesired surprise.

`snap changes` seems to be an ideal mechanism for this, where at least the timestamps provided would point us to the proper section of other possible log sources.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.