Tools relying on /etc/debian_version get confused
Bug #19353 reported by
Mark Brown
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
/etc/debian_version appears to be carried unmodified from Debian on Ubuntu systems.
This means that things like reportbug that use the information there to identify the
version of Debian that they are running on will identify Unbuntu systems as a Debian
version.
Another approach would be to modify all the tools like reportbug to add their own
information or read /etc/ubuntu_version and prefer that.
Changed in base-files: | |
status: | Unconfirmed → Confirmed |
Changed in base-files (Ubuntu): | |
status: | Confirmed → Incomplete |
status: | Incomplete → Confirmed |
status: | Confirmed → Fix Committed |
tags: | added: yakkety |
tags: | added: zesty |
tags: | added: artful |
tags: | added: bionic |
tags: | added: cosmic |
tags: | added: disco |
To post a comment you must log in.
Ideally, tools should look at lsb-release first. The installer component
os-prober does this, for example.
It was beneficial to carry over /etc/debian_ version, because that meant that
various system configuration tools automatically saw Ubuntu as a Debian
derivative (as opposed to looking for Red Hat-style configuration files, etc.).
Although we could probably get those modified in Ubuntu-specific ways now, I
think there's still enough stuff that tries to guess what flavour of GNU/Linux
is in use that it's beneficial to preserve the indicator of ancestry.