snaps lost connections during 22.04 upgrade

Bug #1967479 reported by Alfred E. Neumayer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Upgrading to yesterdays state of 22.04 (from 20.04) led to problems during upgrade, and lost all snap connections.

(To be fair, the release upgrade itself had issues already, that might need an additional bug report, but at least no custom PPAs and just relying on Snaps for work).

Almost none of the applications would start anymore because they lacked permission to the wayland socket and other crucial things.
Reconnecting them solved the individual issues (and gave me a chance to rethink the level of security on a laptop),
but the upgrade process should still handle that properly, and I wouldn't know where to start looking myself.

This is no April Fools joke.
If you insist on an April Fools joke:
Check your Ubuntu Touch devices on devel 2022-04-01 and help us test the camera and screenshots. ;)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: snapd 2.55.2+22.04
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 1 10:12:49 2022
InstallationDate: Installed on 2021-04-24 (342 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: snapd
UpgradeStatus: Upgraded to jammy on 2022-03-31 (0 days ago)

Revision history for this message
Alfred E. Neumayer (beidl) wrote :
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Hi Alfred,

Any chance to have journal log (journalctl -u snapd) from the time of upgrade?

Thanks

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
Nils Büchner (n.buechner) wrote :

Hi Pawel,

this is my log from todays upgrade (focal->jammy):

Apr 02 12:01:55 user-Standard-PC-Q35-ICH9-2009 systemd[1]: Started Snap Daemon.
Apr 02 12:44:35 user-Standard-PC-Q35-ICH9-2009 snapd[556]: api_snaps.go:307: Installing snap "firefox" revision unset
Apr 02 12:45:17 user-Standard-PC-Q35-ICH9-2009 snapd[556]: taskrunner.go:271: [change 3 "Run configure hook of \"firefox\" snap if present" task] failed: run hook "configure": error: cannot create transient scope: DBus error "org.freedesktop.DBus.Error.TimedOut": [Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)]
Apr 02 12:45:22 user-Standard-PC-Q35-ICH9-2009 snapd[556]: handlers.go:644: Reported install problem for "firefox" as fe6b7b80-b271-11ec-982b-fa163e55efd0 OOPSID

This may be because of https://launchpad.net/bugs/1967517 ?

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

@n.buechner no, that's a different problem, most likely:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1961898 although in your case it hit a 25s and still did not get a response from systemd.

Revision history for this message
Alfred E. Neumayer (beidl) wrote :

Here's my log since 2022-03-31

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

Other bug subscribers

Remote bug watches

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