buildd daily kinetic, lunar, and mantic image missing systemd-resolved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Committed
|
Undecided
|
Simon Poirier | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Won't Fix
|
Undecided
|
Unassigned | ||
Mantic |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* There was a regression in the buildd images when systemd-resolved was moved
out of systemd to a separate package, as the buildd recipes did not include
systemd-
* This affects buildd images only in the context where they are booted
standalone (e.g. kvm, multipass). buildd containers which get network
configuration injected (like launchpad) are not affected.
* This fix adds the systemd-resolved package explicitly, making the resolver
available on buildd images like pre-kinetic.
[ Test Plan ]
* Build image with project=ubuntu-base subproject=buildd image_target=all
* Boot qcow2 buildd image. run `apt-get update`
* Apt should be able to resolve mirrors and update fine.
[ Where problems could occur ]
* If the context in which buildd images are used injects a resolv.conf
without unlinking the systemd-resolved stub, the resolver might revert
the injected config to the systemd-resolved stub on restart.
[ Original Description ]
Hello,
I'm trying to use the buildd daily images [1]. However, I'm having an issue with `systemd-resolved` not being installed on buildd's daily kinetic and lunar images.
From what I can gather, systemd-resolved:
1. exists in all other buildd daily images and buildd release images
2. exists in the other cloud images [2]
3. was separated from the systemd package in kinetic and lunar [3]
It's a bit of a catch-22, because without `systemd-resolved` or literally `/usr/bin/
Can someone please advise? Was this package excluded on purpose?
Sources:
[1] https:/
[2] https:/
[3] https:/
Related branches
- Steve Langasek: Disapprove
-
Diff: 28 lines (+9/-0)2 files modifieddebian/changelog (+6/-0)
live-build/auto/config (+3/-0)
- Steve Langasek: Approve
- Utkarsh Gupta: Needs Fixing
- Canonical Launchpad Engineering: Pending requested
-
Diff: 14 lines (+3/-0)1 file modifiedlive-build/auto/config (+3/-0)
description: | updated |
Changed in cloud-images: | |
assignee: | nobody → Simon Poirier (simpoir) |
status: | Confirmed → In Progress |
Changed in livecd-rootfs (Ubuntu Lunar): | |
status: | New → Confirmed |
description: | updated |
Changed in livecd-rootfs (Ubuntu Mantic): | |
status: | New → In Progress |
Changed in cloud-images: | |
status: | In Progress → Fix Committed |
starting in kinetic, systemd-resolved was separated into its own package. as i look in the livecd-rootfs code for buildd, i'm a little confused as to its package set -- i don't see an identified seed, just a copy from the existing chroot and the addition of a couple packages. which is awkward because the initial chroot is _also_ builds.
as i keep digging through, nothing is installing `systemd-resolved`, which makes me think it's missing in the initial package definitions of buildd. it's not listed as an a package to install during the config step:
https:/ /git.launchpad. net/livecd- rootfs/ tree/live- build/auto/ config# n1006
this isn't affecting launchpad-buildd because of their specific networking setup. since systemd packaged resolved with it before kinetic, it feels safe to me to add in the split out package to the list in live-build/ auto/config
I'm checking with cjwatson on that assertion though, as we don't want to introduce issues for launchpad.