/etc/os-release: Please specify VERSION_CODENAME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Debian) |
Fix Released
|
Unknown
|
|||
base-files (Ubuntu) |
Fix Released
|
Medium
|
Adam Conrad | ||
Xenial |
Fix Released
|
Medium
|
Adam Conrad |
Bug Description
[ SRU Justification ]
UBUNTU_CODENAME was added by the snapd team, then proposed upstream in a more generic way. Upstream settled on VERSION_CODENAME, and we should include that as well, in case third party (or, indeed, future versions of our own) software decide to start looking for it.
[ SRU Test Case ]
Check diffs of both source package and installed os-release, make sure nothing's changed except VERSION_CODENAME, and that the value is correct.
[ Regression Potential ]
Nein.
[ Original Report ]
The os-release specification was updated in systemd > 230 to also include a VERSION_CODENAME parameter: https:/
Please replace the custom UBUNTU_CODENAME parameter by VERSION_CODENAME in yakkety and add VERSION_CODENAME to /etc/os-release to all stable releases.
Changed in base-files (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in base-files (Ubuntu): | |
status: | New → Fix Committed |
Changed in base-files (Ubuntu): | |
importance: | Undecided → Medium |
Changed in base-files (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in base-files (Debian): | |
status: | New → Fix Released |
This warrants an archive grep for UBUNTU_CODENAME first; I think Michael Vogt added that the other day, so presumably it's being used in snappy? So for the time being it'd be better to have both until users of UBUNTU_CODENAME get updated.