Skip to content

Fix Linux crasher when NetworkManager is not running. - #11484

Open
markstos wants to merge 1 commit into
mozilla-mobile:mainfrom
markstos:fail-better-with-no-NetworkManager
Open

Fix Linux crasher when NetworkManager is not running.#11484
markstos wants to merge 1 commit into
mozilla-mobile:mainfrom
markstos:fail-better-with-no-NetworkManager

Conversation

@markstos

@markstos markstos commented Aug 7, 2026

Copy link
Copy Markdown

On Linux, NetworkManager is popular but not univerally installed.

On Arch Linux for example, users can build up whatever networking stack they like. The Flatpak build assumes that NetworkManager is running and crashes when it isn't.

This patch prevents the crash, providing a generic error message instead.

Personally, I'd be interested in more extensive change communicates to the user the specific problem that NetworkManager isn't running, but that could be done in a separate scope of there is interest.

Checklist

  • My code follows the style guidelines for this project
  • [x ] If bug/feature is at all notable, I've added a draft release note as a comment in addons/strings.yaml. (Not notable-- rarely triggered)
  • I have not added any packages that contain high risk or unknown licenses (GPL, LGPL, MPL, etc. consult with DevOps if in question)
  • I have performed a self review of my own code. (Manually tested new build to confirm fix.)
  • I have commented my code PARTICULARLY in hard to understand areas (N/A)
  • I have added thorough tests where needed (N/A)

@markstos
markstos force-pushed the fail-better-with-no-NetworkManager branch from f7e56cb to 88bd1f8 Compare August 7, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant