genisoimage may be going away

Bug #1915077 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Undecided
Unassigned
cloud-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It seems that cdrkit, which is where genisoimage comes from, is dead upstream and is likely to be removed from debian: https://lists.debian.org/debian-cloud/2021/02/msg00011.html

Plenty of cloud-init docs and tutorials refer to genisoimage to create seed ISOs, it may be time to find something else.

Revision history for this message
James Falcon (falcojr) wrote :

I asked Dan Watkins about this and received this reply:

In terms of scope, cloud-init does not Depend on genisoimage but does
recommend its use in documentation. cloud-image-utils (built from
cloud-utils) does Depend directly on it.

It sounds like, if it's going away, genisoimage is going away in
bookworm, the Debian stable release after the one that just went into
freeze (bullseye). bullseye goes into hard freeze (2021-03-12[0]) after
hirsute's Debian import freeze (2021-02-25[1]), so there's no chance
that it will affect hirsute. If bullseye is released before ~August
(Debian don't have set release dates, they release once it's Ready
(TM)), and genisoimage is removed from testing soon after that release,
then it may affect us is in I.

So from a "when will the wheels fall off in Ubuntu" perspective, we (a)
have a decent runway, and (b) will only be affected in the release whose
development is open after the removal happens in Debian.

That said, cloud-image-utils is in main[2] and therefore all of its
dependencies also need to be in main, so we are not free to choose our
own replacement unconstrained. We certainly won't be alone in needing
to choose a replacement, `apt rdepends genisoimage` indicates that,
amongst others, ubuntu-desktop and livecd-rootfs (which is the package
used to build not only live CD root filesystems but also ~every other
Ubuntu image). IMO, it's not really our place to determine the correct
replacement here: this is a tool used across different parts of Ubuntu,
so Foundations are likely better placed than we.

From an upstream cloud-init perspective, this indicates to me that we
shouldn't be recommending genisoimage to our users in our documentation.
The sooner we can document the new method of doing this, the fewer users
will be broken by its future removal (whether in Debian, Ubuntu or
whenever their distro decides to follow suite). Of course, we should
align the docs with what Ubuntu is choosing, so there's a (task)
dependency there.

[0] https://wiki.debian.org/DebianBullseye
[1] https://discourse.ubuntu.com/t/hirsute-hippo-release-schedule/18539
[2] Some details at https://wiki.ubuntu.com/MainInclusionProcess; TL;DR,
    we support main both in security terms and commercially, so anything
    that goes into main has to pass muster in terms of supportability.

Changed in cloud-init:
status: New → Confirmed
Changed in cloud-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1915077] Re: genisoimage may be going away

On Mon, Feb 15, 2021 at 02:21:28PM -0000, James Falcon wrote:
> That said, cloud-image-utils is in main[2] and therefore all of its
> dependencies also need to be in main, so we are not free to choose our
> own replacement unconstrained. We certainly won't be alone in needing
> to choose a replacement, `apt rdepends genisoimage` indicates that,
> amongst others, ubuntu-desktop and livecd-rootfs (which is the package
> used to build not only live CD root filesystems but also ~every other
> Ubuntu image). IMO, it's not really our place to determine the correct
> replacement here: this is a tool used across different parts of Ubuntu,
> so Foundations are likely better placed than we.

We use xorriso in place of genisoimage for Ubuntu ISO generation. I'm
actually not sure why genisoimage is a dependency of livecd-rootfs, since I
don't believe we have any ISOs as output of livecd-rootfs itself.

The ubuntu-meta dependency is being dropped; the seed change has already
been merged, and a new ubuntu-desktop is waiting in hirsute-proposed.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
<email address hidden> <email address hidden>

Revision history for this message
Dan Watkins (oddbloke) wrote :

On Mon, Feb 15, 2021 at 10:18:17PM -0000, Steve Langasek wrote:
> On Mon, Feb 15, 2021 at 02:21:28PM -0000, James Falcon wrote:
> > That said, cloud-image-utils is in main[2] and therefore all of its
> > dependencies also need to be in main, so we are not free to choose our
> > own replacement unconstrained. We certainly won't be alone in needing
> > to choose a replacement, `apt rdepends genisoimage` indicates that,
> > amongst others, ubuntu-desktop and livecd-rootfs (which is the package
> > used to build not only live CD root filesystems but also ~every other
> > Ubuntu image). IMO, it's not really our place to determine the correct
> > replacement here: this is a tool used across different parts of Ubuntu,
> > so Foundations are likely better placed than we.
>
> We use xorriso in place of genisoimage for Ubuntu ISO generation.

OK, that's clearly what we should be moving to; thanks!

> I'm actually not sure why genisoimage is a dependency of
> livecd-rootfs, since I don't believe we have any ISOs as output of
> livecd-rootfs itself.

It's used by the CPC Vagrant build scripts to... generate a cloud-init
seed ISO. (=

(Who could have introduced that? *innocent whistling*)

> The ubuntu-meta dependency is being dropped; the seed change has already
> been merged, and a new ubuntu-desktop is waiting in hirsute-proposed.

OK, cool; are we looking to drop it (from main) this cycle? (i.e. Do we
need to work on this ~now?)

Revision history for this message
Steve Langasek (vorlon) wrote :

On Tue, Feb 16, 2021 at 05:57:56PM -0000, Dan Watkins wrote:
> > I'm actually not sure why genisoimage is a dependency of
> > livecd-rootfs, since I don't believe we have any ISOs as output of
> > livecd-rootfs itself.

> It's used by the CPC Vagrant build scripts to... generate a cloud-init
> seed ISO. (=

> (Who could have introduced that? *innocent whistling*)

Hah! ok.

> > The ubuntu-meta dependency is being dropped; the seed change has already
> > been merged, and a new ubuntu-desktop is waiting in hirsute-proposed.

> OK, cool; are we looking to drop it (from main) this cycle? (i.e. Do we
> need to work on this ~now?)

There's no hurry, we just wanted people to be in the loop sooner rather than
later. I think we could reasonably promote xorriso to main as soon as there
was a reverse-dependency demanding it.

Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Confirmed → Expired
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.