2022-01-11 23:43:59 |
Steve Langasek |
bug |
|
|
added bug |
2022-01-12 00:33:48 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/livecd-rootfs/+git/livecd-rootfs/+merge/413991 |
|
2022-01-12 01:41:35 |
Steve Langasek |
description |
The focal and jammy desktop images include a gtk-common-themes snap which uses base: bare. This is obviously supposed to mean the snap has no external dependencies on a particular core snap. Unfortunately, the logic in livecd-rootfs is broken, and when processing the bare snap itself, seeing that it has no base: declared in its own metadata, interprets this as meaning there is an implicit dependency on the core snap and pulls in a whole separate root filesystem pointlessly.
We should:
- fix livecd-rootfs to not look for base snaps of snaps which are themselves type: base
- make it a fatal build error for focal an later to try to build an image that pulls in the core snap, since this is legacy (the Ubuntu 16.04 rootfs should not be used in Ubuntu 20.04 and later images) and it's a bad bug if it does get pulled in. |
[Justification]
The focal and jammy desktop images include a gtk-common-themes snap which uses base: bare. This is obviously supposed to mean the snap has no external dependencies on a particular core snap. Unfortunately, the logic in livecd-rootfs is broken, and when processing the bare snap itself, seeing that it has no base: declared in its own metadata, interprets this as meaning there is an implicit dependency on the core snap and pulls in a whole separate root filesystem pointlessly.
We should:
- fix livecd-rootfs to not look for base snaps of snaps which are themselves type: base
- make it a fatal build error for focal an later to try to build an image that pulls in the core snap, since this is legacy (the Ubuntu 16.04 rootfs should not be used in Ubuntu 20.04 and later images) and it's a bad bug if it does get pulled in.
[Test case]
All daily images should build successfully for all flavors with the updated livecd-rootfs. If this change introduces any build failures, it should be reverted until the underlying problem (seeding a snap that requires 'core' as a base) can be resolved. |
|
2022-01-12 01:41:41 |
Steve Langasek |
nominated for series |
|
Ubuntu Focal |
|
2022-01-12 01:41:41 |
Steve Langasek |
bug task added |
|
livecd-rootfs (Ubuntu Focal) |
|
2022-01-12 16:39:36 |
Steve Langasek |
livecd-rootfs (Ubuntu): importance |
Undecided |
High |
|
2022-01-12 16:39:37 |
Steve Langasek |
livecd-rootfs (Ubuntu Focal): importance |
Undecided |
High |
|
2022-01-12 16:39:39 |
Steve Langasek |
livecd-rootfs (Ubuntu): assignee |
|
Steve Langasek (vorlon) |
|
2022-01-12 16:39:42 |
Steve Langasek |
livecd-rootfs (Ubuntu Focal): assignee |
|
Steve Langasek (vorlon) |
|
2022-01-12 16:39:44 |
Steve Langasek |
livecd-rootfs (Ubuntu): status |
New |
Fix Committed |
|
2022-01-14 19:56:00 |
Launchpad Janitor |
livecd-rootfs (Ubuntu): status |
Fix Committed |
Fix Released |
|
2022-01-21 14:52:56 |
Timo Aaltonen |
livecd-rootfs (Ubuntu Focal): status |
New |
Fix Committed |
|
2022-01-21 14:52:58 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-01-21 14:53:00 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2022-01-21 14:53:03 |
Timo Aaltonen |
tags |
|
verification-needed verification-needed-focal |
|
2022-01-25 18:48:15 |
Steve Langasek |
tags |
verification-needed verification-needed-focal |
verification-done verification-done-focal |
|
2022-02-01 17:34:19 |
Launchpad Janitor |
livecd-rootfs (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-02-01 17:34:24 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|