distro/distroVersion are null on e.g. Arch linux
Categories
(Core :: XPCOM, defect)
Tracking
()
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(3 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr115+
|
Details | Review |
| Assignee | ||
Comment 1•2 years ago
|
||
Arch Linux doesn't come with a VERSION_ID at all, but it has a BUILD_ID.
Semantically, falling back to BUILD_ID when VERSION_ID is not present
would seem fair play:
Per https://www.freedesktop.org/software/systemd/man/latest/os-release.html:
BUILD_ID=
A string uniquely identifying the system image originally used as the
installation base. In most cases, VERSION_ID or IMAGE_ID+IMAGE_VERSION
are updated when the entire system image is replaced during an update.
BUILD_ID may be used in distributions where the original installation
image version is important: VERSION_ID would change during incremental
system updates, but BUILD_ID would not. This field is optional.
| Assignee | ||
Comment 4•2 years ago
|
||
Arch Linux doesn't come with a VERSION_ID at all, but it has a BUILD_ID.
Semantically, falling back to BUILD_ID when VERSION_ID is not present
would seem fair play:
Per https://www.freedesktop.org/software/systemd/man/latest/os-release.html:
BUILD_ID=
A string uniquely identifying the system image originally used as the
installation base. In most cases, VERSION_ID or IMAGE_ID+IMAGE_VERSION
are updated when the entire system image is replaced during an update.
BUILD_ID may be used in distributions where the original installation
image version is important: VERSION_ID would change during incremental
system updates, but BUILD_ID would not. This field is optional.
Original Revision: https://phabricator.services.mozilla.com/D209089
Updated•2 years ago
|
Comment 5•2 years ago
|
||
beta Uplift Approval Request
- User impact if declined: Missing telemetry for users on (mostly) Arch Linux
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: Low
- Explanation of risk level: It's a straightforward fall back, that doesn't touch the cases that already worked.
- String changes made/needed: N/A
- Is Android affected?: no
| Assignee | ||
Comment 6•2 years ago
|
||
Arch Linux doesn't come with a VERSION_ID at all, but it has a BUILD_ID.
Semantically, falling back to BUILD_ID when VERSION_ID is not present
would seem fair play:
Per https://www.freedesktop.org/software/systemd/man/latest/os-release.html:
BUILD_ID=
A string uniquely identifying the system image originally used as the
installation base. In most cases, VERSION_ID or IMAGE_ID+IMAGE_VERSION
are updated when the entire system image is replaced during an update.
BUILD_ID may be used in distributions where the original installation
image version is important: VERSION_ID would change during incremental
system updates, but BUILD_ID would not. This field is optional.
Original Revision: https://phabricator.services.mozilla.com/D209089
Updated•2 years ago
|
Comment 7•2 years ago
|
||
esr115 Uplift Approval Request
- User impact if declined: Missing telemetry for users on (mostly) Arch Linux
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: Low
- Explanation of risk level: It's a straightforward fall back, that doesn't touch the cases that already worked.
- String changes made/needed: N/A
- Is Android affected?: no
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•