|
|
Log in / Subscribe / Register

Just get rid of the sid name

Just get rid of the sid name

Posted Aug 13, 2024 5:02 UTC (Tue) by zblaxell (subscriber, #26385)
In reply to: Just get rid of the sid name by bluca
Parent article: Distinguishing Debian testing from unstable

> I have no idea what you are trying to do here

Initially I was trying to understand why your ideas are meeting so much resistance. I now understand this through lived experience.

Then I moved onto a second goal, which is to help you understand why your ideas are meeting so much resistance.

Other goals were to head off a Debian change that might break stuff I rely on, or start a tsunami of new bugs I'll have to respond to. After reading the other comments and mailing list, and finally grasping what your ideas actually are, I'm confident these risks are low.

> > The code behind this use case on Debian is all very Debian-specific
> It is very much not, it runs on multiple versions of half a dozen distros

I don't know why you'd challenge me on this point. I'm looking directly at the code, and following VERSION_CODENAME as it travels through the code from your own examples. It ends up in hundreds of lines of python or shell code which will fall on its face if it finds itself running on Fedora, Arch, or even Ubuntu. At one point in the middle it goes _through_ distro-agnostic code but it's an hourglass, distro-specific at both ends and agnostic in the middle.

You might be conflating some other use case with the one I've extracted from your examples and getting into the weeds on extra details. This isn't necessary, as you've already convinced me that at least one use case worth supporting exists. I only needed one.

> > For the DDI files, I guess all you want is to plug systemd-dissect into one of the above commands in place of debootstrap, point it at an image made from debootstrap, and get the expected trixie or sid values
> Not at all. Debootstrap is one of dozens of different and independent image builders, and dissecting is just for inspection, usage varies tremendously, and there are many other consumers.

The very next sentence, which you didn't quote, is "And [also] all the variations with other image creation and manipulation tools."

> > to build one ephemeral Debian image to interact with an existing Debian image of similar vintage but different options.
> This is very wrong, and that's not at all what happens, in fact it's the exact opposite

The opposite is an ephemeral Debian image that builds a non-ephemeral one? OK, that works too. I put that restriction in there to eliminate cases where two images interacting with each other are persistent, as that's a different use case with potential extra dependency issues, and I wanted to save time by excluding it from discussion because it's a magnet for objections. I only needed one use case, so I won't ask for further details or examples.

> Perhaps you should check again? It's not empty at all, it is definitely exactly as it needs to be, and among the examples it lists it even uses one of Debian's: https://www.freedesktop.org/software/systemd/man/devel/os...

Also your words, in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077764#43

> With my upstream spec maintainer hat on, I am asserting that the base-files implementation of the os-release specification is buggy. The crux of the issue is that the way base-files implements the specification does not allow to distinguish testing vs unstable images

Please point to the line(s) in the spec which specify when Debian archives should be labelled with distinct VERSION_CODENAMEs, with particular emphasis on non-release-oriented contexts like testing and unstable. I have read both versions of os-release spec you pointed to so far, the git histories, the rationale blog post, and their LSB ancestor, and explained what I did and didn't find there.

As the self-described upstream spec maintainer, you should be able to do this easily, since it's your spec and it's the basis on which your own complaint about Debian rests. If you can't, then that's your problem, to solve or ignore as you see fit. I am willing to make the effort to point this out to you, but not to babysit you through solving every issue I find in your work.

> Your assertion is ~12 years too late

I'd say it's maybe 25 or more years too late, since Debian's structure is older than the very first version of the spec's earliest direct ancestor.

The LSB (described in the announcement as the ancestor of os-release) dates back to 2001, but it's still years newer than Debian's current arrangement (ignoring the changing location of the VERSION_CODENAME data over the years, the project's stance on whether testing or unstable have release events that trigger distinct metadata changes is not new). I know this first-hand because I've been working with, on, under, and around Debian's build system, and several other build systems (including several of my own design), for nearly 30 years now.

I do have a bias: most of the build systems I've worked with are cross-building systems where the build and test environments are both strictly defined and controlled by the build framework, and isolated from each other and the host system. Before this week it would never occur to me to get information about the target environment from introspection of the build host (i.e. reading os-release and mapping that to external objects) as that information would be pushed down from higher layers of the build framework. I admit I do seem to live in a world where looking at a functional equivalent of os-release/VERSION_CODENAME for this purpose is considered an antipattern, and it took a few tries to wrap my head around how things could work in a world where it's not. Thanks for your patience while I went through that.

> Debian currently implements the spec correctly everywhere, apart from sid, where the implementation is buggy

The implementation is not buggy until the spec says it is. Inconvenient, certainly. Undesirable, probably. But say it's "buggy", and people will question the correctness of your premise without further considering the merits of your argument, as you've already...I was going to say "noticed", but maybe "discovered" is more accurate.

To be clear, after discussing with you, I'm now in favor of making unstable's CODENAME distinct from testing, despite the changes to decades-old legacy behavior that technically complies with specification you have pointed to so far. (I'm also OK with Debian deferring that change until the next release cycle in case it does blow up something obscure). The kindest thing I can say about the current Debian behavior is that it's a legacy feature that does not conflict with the current letter of the spec, and that's very faint praise.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds