Closed Bug 1616195 Opened 4 years ago Closed 4 years ago

Improve lsb-release support on Linux

Categories

(Toolkit :: Crash Reporting, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: gsvelto, Assigned: gsvelto)

References

Details

Attachments

(1 file)

Breakpad supports storing the contents of /etc/lsb-release into a minidump but this is of limited value. We should improve this support so that we actually call lsb_release -a when available and return the information stored in there (or gather the equivalent information on our own).

Taking this because I figured out a one-line fix.

Assignee: nobody → gsvelto
Status: NEW → ASSIGNED

We previously only included the contents of the /etc/lsb-release file, however
this file is not present in RedHat-based distributions which use
/etc/os-release instead. This patch will read the latter if the former is not
present.

Blocks: 1626245
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1a60f6d80b6f
Improve the Linux distribution version information included in crash reports r=KrisWright
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: