Processed: Re: Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
Processing control commands: > severity -1 normal Bug #939733 [lsb-release] lsb-release: lsb_release does not show point release on Debian 10.1 Severity set to 'normal' from 'serious' -- 939733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939733 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
Control: severity -1 normal * Dmitry Bogatov [2019-09-11 16:15]: > control: severity -1 +normal That appears to have failed. Trying again, as a service :-)
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
[2019-11-10 02:31] Santiago Vila > > I am losing context. We have at least following three files (oh, why all > > this madness?): > > > > * /usr/lib/os-release > > * /etc/os-release > > * /etc/debian_version > > > > So, in case of conflicts, what should override what? > > Please note that /usr/lib/os-release and /etc/os-release are the same file. Thank you for your patience. > AFAIK, lsb-release is already ignoring /etc/debian_version in buster, > which is the reason we have this problem. Not exactly. We have following code, where get_os_release() reads "/usr/lib/os-release", and guess_debian_release() uses several other files, including "/etc/debian_version". lsbinfo = get_os_release() # OS is only used inside guess_debian_release anyway for key in ('ID', 'RELEASE', 'CODENAME', 'DESCRIPTION',): if key not in lsbinfo: distinfo = guess_debian_release() distinfo.update(lsbinfo) return distinfo else: return lsbinfo So /etc/os-release overrides /etc/debian_version. Probably, we could drop guess_debian_release() code though, since base-files are essential. > b) As it has been suggested by you, fixing the problem in base-files > by including the minor version in /etc/os-release "somewhere". > > I am ok with doing the change in base-files, because I believe it's > the best option in the long term. > > I also believe that it would suffice to change VERSION_ID, but I need > confirmation for that. > [..] > > So: Is this ok for you? Yes, that is fine. As I just checked, `lsb_release -d` (as is in Archives) will happily output anything I put into VERSION_ID variable of /etc/os_release. -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
On Sun, Nov 10, 2019 at 01:13:08AM +, Dmitry Bogatov wrote: > > control: tags -1 +help > > [2019-11-08 13:42] Santiago Vila > > Hi. > > > > I've asked the Release Managers about this here: > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944351 > > > > If they say yes, I'll modify base-files accordingly (for Debian 10.2). > > > > If they say no, please be ready to fix the bug in lsb-release as soon > > as you can, by making an upload to proposed-updates (there is a point > > release around the corner). > > I am losing context. We have at least following three files (oh, why all > this madness?): > > * /usr/lib/os-release > * /etc/os-release > * /etc/debian_version > > So, in case of conflicts, what should override what? Please note that /usr/lib/os-release and /etc/os-release are the same file. AFAIK, lsb-release is already ignoring /etc/debian_version in buster, which is the reason we have this problem. We should either: a) modify lsb-release so that it looks at /etc/debian_version again (i.e. reverting the recent change) or b) As it has been suggested by you, fixing the problem in base-files by including the minor version in /etc/os-release "somewhere". I am ok with doing the change in base-files, because I believe it's the best option in the long term. I also believe that it would suffice to change VERSION_ID, but I need confirmation for that. My feeling is that Release Managers would welcome this change if it's *limited* to VERSION_ID. Rationale: Major Release versions are integer numbers (7, 8, 9, 10, etc), and we identify "buster" with "Debian 10", without minor version, i.e. there should be no need to change PRETTY_NAME or VERSION, only VERSION_ID. So: Is this ok for you? Thanks.
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
control: tags -1 +help [2019-11-08 13:42] Santiago Vila > Hi. > > I've asked the Release Managers about this here: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944351 > > If they say yes, I'll modify base-files accordingly (for Debian 10.2). > > If they say no, please be ready to fix the bug in lsb-release as soon > as you can, by making an upload to proposed-updates (there is a point > release around the corner). I am losing context. We have at least following three files (oh, why all this madness?): * /usr/lib/os-release * /etc/os-release * /etc/debian_version So, in case of conflicts, what should override what? BTW, help via NMU/Team upload is welcome. -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.
Processed: Re: Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
Processing control commands: > tags -1 +help Bug #939733 [lsb-release] lsb-release: lsb_release does not show point release on Debian 10.1 Added tag(s) help. -- 939733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939733 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
Hi. I've asked the Release Managers about this here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944351 If they say yes, I'll modify base-files accordingly (for Debian 10.2). If they say no, please be ready to fix the bug in lsb-release as soon as you can, by making an upload to proposed-updates (there is a point release around the corner). Thanks.
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
control: severity -1 +normal [2019-09-10 10:21] Jonathan Wiltshire > >> The x.y there was a remnant from Debian sarge times. > > > > Up until squeeze I have seen it show x.y.z, then from wheezy to > > stretch I see only x.y, but it does seem new behaviour in buster to > > only show x. > > > > $ ansible '*' -i inventories/testing -a 'lsb_release -d' | grep ^Descr | > > sort -u > > Description:Debian GNU/Linux 10 (buster) > > Description:Debian GNU/Linux 8.11 (jessie) > > Description:Debian GNU/Linux 9.10 (stretch) > > This stems from lsb_release switching to reading the cross-distro > standard file, /usr/lib/os-release: > > | $ cat /etc/debian_version > | 10.1 > | $ cat /usr/lib/os-release > | PRETTY_NAME="Debian GNU/Linux 10 (buster)" > | NAME="Debian GNU/Linux" > | VERSION_ID="10" > | VERSION="10 (buster)" As pointed by maintainer of base-files, this format of /usr/lib/os-release is with us for some time (just checked on stretch box). In theory, I can revert #914287, but is it good thing? Actually, I fail to see the whole point of `lsb_release` command. You can't squash all information in your /etc/apt/sources.list into two digits. This said, I feel current behaviour more logical. LSB pretends to provide cross-distributions interface, so reading /usr/lib/os-release feels more natural than /etc/debian_release. -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.
Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
reassign 939733 lsb-release thanks On Tue, 10 Sep 2019, Jonathan Wiltshire wrote: > This stems from lsb_release switching to reading the cross-distro > standard file, /usr/lib/os-release: Therefore it was lsb_release who changed behaviour, not base-files. > So arguably base-files should be updating that file with point release > information, just as /etc/debian_version is. The spec [1] does not rule > that out, and other distributions do so: Not ruling out != mandating it. > Severity upgraded because it causes an unexpected behaviour change in > lsb_release, but feel free to adjust. There was already a bug in base-files for this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931197 and it will be considered for bullseye, but the fact that os-release does not change in Debian is clearly documented in the base-files changelog: base-files (10.2) unstable; urgency=medium [...] Add also VERSION_ID and VERSION. (never expected to change) So it may not be argued that this is a surprise from base-files side. Reassigning again. Thanks.
Processed: Re: Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
Processing commands for cont...@bugs.debian.org: > reassign 939733 lsb-release Bug #939733 [base-files] lsb-release: lsb_release does not show point release on Debian 10.1 Bug reassigned from package 'base-files' to 'lsb-release'. No longer marked as found in versions base-files/10.3+deb10u1. Ignoring request to alter fixed versions of bug #939733 to the same values previously set > thanks Stopping processing here. Please contact me if you need assistance. -- 939733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939733 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: Re: Bug#939733: lsb-release: lsb_release does not show point release on Debian 10.1
Processing control commands: > reassign -1 base-files Bug #939733 [lsb-release] lsb-release: lsb_release does not show point release on Debian 10.1 Bug reassigned from package 'lsb-release' to 'base-files'. No longer marked as found in versions lsb/10.2019051400. Ignoring request to alter fixed versions of bug #939733 to the same values previously set > severity -1 serious Bug #939733 [base-files] lsb-release: lsb_release does not show point release on Debian 10.1 Severity set to 'serious' from 'normal' > found -1 10.3+deb10u1 Bug #939733 [base-files] lsb-release: lsb_release does not show point release on Debian 10.1 Marked as found in versions base-files/10.3+deb10u1. -- 939733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939733 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems