/etc/os-release is the standard
/etc/os-release is the standard
Posted Aug 12, 2024 20:01 UTC (Mon) by raven667 (subscriber, #5198)Parent article: Distinguishing Debian testing from unstable
I don't have time to read all the background discussions right now but this is a weird conflict since it seems to me that bluca is technically correct and I don't see how making the os-release file accurately reflect the OS release state of the system (whether unstable, testing, trixie or sid or bookworm) is a bad thing. Various utilities use the os-release standard to figure out what kind of system they are on and it's entirely possible someone would want to differentiate this way, eg to have an Ansible playbook which applies different config to different test/build servers based on which package branch they are using. This should only affect things which use os-release data, which should be a relatively small set of tools, probably an exhaustive list could be identified is one wanted to. I could see how this might end up creating a one-off policy difference for the package which holds os-release as you wouldn't want it auto-promoted between branches, but that's probably simple enough that it could be managed as a hardcoded list without creating a lot of maintenance burden for the build and release people.
