2019-05-10 03:30:25 |
Peter Goodall |
bug |
|
|
added bug |
2019-05-13 09:39:47 |
Launchpad Janitor |
snapd (Ubuntu): status |
New |
Confirmed |
|
2019-06-06 15:00:59 |
Dmitry |
bug |
|
|
added subscriber Dmitry |
2019-07-12 14:44:04 |
John Lenton |
affects |
snapd (Ubuntu) |
livecd-rootfs (Ubuntu) |
|
2019-07-12 15:02:33 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/370061 |
|
2019-07-12 15:02:51 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/370062 |
|
2019-07-12 15:03:04 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/370063 |
|
2019-07-12 16:59:34 |
Michael Vogt |
merge proposal linked |
|
https://code.launchpad.net/~mvo/livecd-rootfs/+git/livecd-rootfs/+merge/370065 |
|
2019-07-15 07:47:49 |
Sebastien Bacher |
tags |
amd64 apport-bug hyper-v microsoft xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft rls-bb-incoming xenial-virtual-machine |
|
2019-07-15 07:47:58 |
Sebastien Bacher |
livecd-rootfs (Ubuntu): importance |
Undecided |
High |
|
2019-07-15 07:48:25 |
Sebastien Bacher |
tags |
amd64 apport-bug hyper-v microsoft rls-bb-incoming xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft rls-bb-incoming rls-dd-incoming xenial-virtual-machine |
|
2019-07-15 07:48:31 |
Sebastien Bacher |
livecd-rootfs (Ubuntu): importance |
High |
Critical |
|
2019-07-15 16:36:48 |
Ian Johnson |
bug |
|
|
added subscriber Ian Johnson |
2019-07-16 09:53:25 |
Tobias Koch |
description |
Alway fails in both 18.04.2 and 19.04
Reporting the bug failed too yesterday.
As a consequence LivePatch and everything else fails that is based on snapd.
This makes system unusable. This is a supported configuration.
https://blog.ubuntu.com/2018/09/17/optimised-ubuntu-desktop-images-available-in-microsoft-hyper-v-gallery
https://blog.ubuntu.com/2019/05/07/19-04-disco-dingo-now-available-as-optimised-desktop-image-for-hyper-v
xx@xenial-Virtual-Machine:~$ sudo snap install vscode
[sudo] password for peterg:
error: too early for operation, device not yet seeded or device model not acknowledged
xx@xenial-Virtual-Machine:~$ journalctl -b -u snapd --full --no-pager
-- Logs begin at Thu 2019-05-09 20:06:58 AEST, end at Fri 2019-05-10 13:20:46 AEST. --
May 10 13:19:59 xenial-Virtual-Machine systemd[1]: Starting Snappy daemon...
May 10 13:20:00 xenial-Virtual-Machine snapd[566]: AppArmor status: apparmor is enabled and all features are available
May 10 13:20:00 xenial-Virtual-Machine snapd[566]: helpers.go:717: cannot retrieve info for snap "gnome-calculator": cannot find installed snap "gnome-calculator" at revision 352: missing file /snap/gnome-calculator/352/meta/snap.yaml
May 10 13:20:00 xenial-Virtual-Machine snapd[566]: daemon.go:379: started snapd/2.38+18.04 (series 16; classic) ubuntu/18.04 (amd64) linux/4.15.0-48-generic.
May 10 13:20:00 xenial-Virtual-Machine systemd[1]: Started Snappy daemon.
May 10 13:20:46 xenial-Virtual-Machine snapd[566]: api.go:1071: Installing snap "vscode" revision unset
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snapd 2.38+18.04
ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
Uname: Linux 4.15.0-48-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 10 13:21:25 2019
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
* Failing to do error checks on `snap-tool info` calls while determining the bases of snaps can lead to inconsistently-seeded images as reported in the original bug report below.
* This affects all stable releases which use automatic detection of the base snap during image builds.
* The changes proposed introduce extra error checking which should result in a build error, if the `snap-tool info` call fails, thus preventing distribution of a broken image.
[Test Case]
* It may be tricky to reproduce the exact error on demand. But it should be clear by looking at the code path in
https://code.launchpad.net/~tobijk/livecd-rootfs/+git/livecd-rootfs/+merge/370096
that the scenario described below may arise.
* A way to test that the changes have no *negative* impact on functionality is to run a script such as
https://pastebin.ubuntu.com/p/wQknctr6ys/
and compare it against the expected result
https://pastebin.ubuntu.com/p/N8PXRJJV9b/
(In this case both core and core18 should have been seeded.) and
[Regression Potential]
* The regression potential for these changes is low, as they only add extra error checking but do not change the existing logic.
--- Original Bug Report ---
Alway fails in both 18.04.2 and 19.04
Reporting the bug failed too yesterday.
As a consequence LivePatch and everything else fails that is based on snapd.
This makes system unusable. This is a supported configuration.
https://blog.ubuntu.com/2018/09/17/optimised-ubuntu-desktop-images-available-in-microsoft-hyper-v-gallery
https://blog.ubuntu.com/2019/05/07/19-04-disco-dingo-now-available-as-optimised-desktop-image-for-hyper-v
xx@xenial-Virtual-Machine:~$ sudo snap install vscode
[sudo] password for peterg:
error: too early for operation, device not yet seeded or device model not acknowledged
xx@xenial-Virtual-Machine:~$ journalctl -b -u snapd --full --no-pager
-- Logs begin at Thu 2019-05-09 20:06:58 AEST, end at Fri 2019-05-10 13:20:46 AEST. --
May 10 13:19:59 xenial-Virtual-Machine systemd[1]: Starting Snappy daemon...
May 10 13:20:00 xenial-Virtual-Machine snapd[566]: AppArmor status: apparmor is enabled and all features are available
May 10 13:20:00 xenial-Virtual-Machine snapd[566]: helpers.go:717: cannot retrieve info for snap "gnome-calculator": cannot find installed snap "gnome-calculator" at revision 352: missing file /snap/gnome-calculator/352/meta/snap.yaml
May 10 13:20:00 xenial-Virtual-Machine snapd[566]: daemon.go:379: started snapd/2.38+18.04 (series 16; classic) ubuntu/18.04 (amd64) linux/4.15.0-48-generic.
May 10 13:20:00 xenial-Virtual-Machine systemd[1]: Started Snappy daemon.
May 10 13:20:46 xenial-Virtual-Machine snapd[566]: api.go:1071: Installing snap "vscode" revision unset
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snapd 2.38+18.04
ProcVersionSignature: Ubuntu 4.15.0-48.51-generic 4.15.18
Uname: Linux 4.15.0-48-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 10 13:21:25 2019
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-07-16 09:54:14 |
Tobias Koch |
attachment added |
|
Backport for Bionic https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500/+attachment/5277325/+files/bionic.debdiff |
|
2019-07-16 09:54:51 |
Tobias Koch |
attachment added |
|
Backport for Disco https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500/+attachment/5277326/+files/disco.debdiff |
|
2019-07-16 12:24:09 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug hyper-v microsoft rls-bb-incoming rls-dd-incoming xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming xenial-virtual-machine |
|
2019-07-16 12:24:17 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2019-07-16 15:33:01 |
Andy Whitcroft |
livecd-rootfs (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-07-16 15:33:02 |
Andy Whitcroft |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-07-16 15:33:05 |
Andy Whitcroft |
bug |
|
|
added subscriber SRU Verification |
2019-07-16 15:33:09 |
Andy Whitcroft |
tags |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming verification-needed verification-needed-bionic xenial-virtual-machine |
|
2019-07-16 15:33:30 |
Andy Whitcroft |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2019-07-16 15:33:51 |
Andy Whitcroft |
livecd-rootfs (Ubuntu Disco): status |
New |
Fix Committed |
|
2019-07-16 15:33:56 |
Andy Whitcroft |
tags |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming verification-needed verification-needed-bionic xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming verification-needed verification-needed-bionic verification-needed-disco xenial-virtual-machine |
|
2019-07-18 09:53:26 |
Tobias Koch |
tags |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming verification-needed verification-needed-bionic verification-needed-disco xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming verification-done-bionic verification-done-disco verification-needed xenial-virtual-machine |
|
2019-07-18 15:32:47 |
Brian Murray |
tags |
amd64 apport-bug hyper-v microsoft patch rls-bb-incoming rls-dd-incoming verification-done-bionic verification-done-disco verification-needed xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft patch verification-done-bionic verification-done-disco verification-needed xenial-virtual-machine |
|
2019-07-21 15:57:11 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto Murata |
2019-07-25 19:43:08 |
Launchpad Janitor |
livecd-rootfs (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-07-25 19:43:15 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-09-16 07:33:29 |
Launchpad Janitor |
livecd-rootfs (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-10-18 00:47:13 |
Mathew Hodson |
livecd-rootfs (Ubuntu): status |
Confirmed |
Fix Released |
|
2019-10-18 00:47:53 |
Mathew Hodson |
tags |
amd64 apport-bug hyper-v microsoft patch verification-done-bionic verification-done-disco verification-needed xenial-virtual-machine |
amd64 apport-bug hyper-v microsoft patch verification-done-bionic verification-done-disco xenial-virtual-machine |
|
2020-01-19 22:08:49 |
Wojciech Gizela |
livecd-rootfs (Ubuntu): assignee |
|
Wojciech Gizela (giquix) |
|
2020-01-19 22:09:25 |
Wojciech Gizela |
livecd-rootfs (Ubuntu): assignee |
Wojciech Gizela (giquix) |
|
|