|
|
Log in / Subscribe / Register

Just get rid of the sid name

Just get rid of the sid name

Posted Aug 12, 2024 15:32 UTC (Mon) by rschroev (subscriber, #4164)
In reply to: Just get rid of the sid name by bluca
Parent article: Distinguishing Debian testing from unstable

I see things like

* Handle IOError exception if no /etc/os-release to use Glances on Synology DSM (issue #458)
* Give precedence to /etc/os-release over /usr/lib/os-release in /etc/profile.d/toolbox.sh
* Apko no longer clobbers `/etc/os-release` if it is already present, unless an override is explicitly requested.
* Generate `/etc/alpine-release` (or equivalent) legacy files when `/etc/os-release` generation is requested. This helps with Trivy scanning.

and so on. The search results I quickly skimmed are not related to the issue at hand.

I'm not going to look at all of those search results to find the ones that illustrate your point. Frankly you're not doing a very good job at illustrating the problem and convincing people. If you want to convince people, show us where there are problems.


to post comments

Just get rid of the sid name

Posted Aug 12, 2024 16:00 UTC (Mon) by gioele (subscriber, #61675) [Link]

> The search results I quickly skimmed are not related to the issue at hand.

You will not find any result related to the issue at hand (= telling testing and unstable apart) because Debian does not provide that info in /usr/lib/os-release. So things like `if VERSION_CODENAME == testing` are just not part of any software.

What you will find instead, is separate code (that sidesteps os-release and relies of lsb_release for example) that tries to guess if the current OS is Debian testing or unstable.

Just get rid of the sid name

Posted Aug 12, 2024 18:32 UTC (Mon) by bluca (subscriber, #118303) [Link]

> The search results I quickly skimmed are not related to the issue at hand.

They are related - the point is that os-release is extremely widely used, and hence it is worth supporting. It's broken in sid, so of course there cannot be examples of people using it in sid, because it doesn't work...


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