Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20.03] update firefox to latests stable (secure) release #84248

Merged
merged 8 commits into from Apr 4, 2020

Conversation

andir
Copy link
Member

@andir andir commented Apr 4, 2020

Motivation for this change

Now that we are approaching the 20.03 release it is probably time to either update the Firefox expression (this PR) or mark it as insecure. (https://www.mozilla.org/en-US/security/advisories/mfsa2020-11/)

With 19.09 I started taking an alterantve approach at keeping stable firefox builds available on the stable branch. The challenge here is to keep the dependencies updated. Back in the days (before it required rustc) we occasionally just bumped the dependencies in the stable branch (through a staging cycle). That has show to be rather high impact. Especially the python packages do not seem to like that. (Random OpenSSL, sqlite, … issues)

For 20.03 I volunteer to do the same as for 19.09 and just maintain a bunch of additional attributes for all the dependencies that are required for Firefox. It is mostly tedious (time consuming) work but that has shown to be worth it. If we intend to change that we should put that in writing and have a clearly defined strategy for newer releases.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

cc @NixOS/nixos-release-managers
cc @samueldr can you try this build on a real aarch64 device? I still haven't gotten any of those that I ordered -.-

This is a backport to support building stable firefox version on the
stable release channel. Firefox has some very strict requirements on
it's dependencies. Since we do not want to use bundled versions of
dependencies this backport is required fore Firefox >=74.
This is a backport to support building stable firefox version on the
stable release channel. Firefox has some very strict requirements on
it's dependencies. Since we do not want to use bundled versions of
dependencies this backport is required fore Firefox >=74.
@blitz
Copy link
Contributor

blitz commented Apr 4, 2020

Given that the security issues in older versions of Firefox are already exploited in the wild (See https://www.mozilla.org/en-US/security/advisories/mfsa2020-11/ ), updating Firefox seems rather urgent.

@blitz
Copy link
Contributor

blitz commented Apr 4, 2020

Just tried out firefox-wayland 74.0.1 without issues.

@worldofpeace worldofpeace added this to the 20.03 milestone Apr 4, 2020
@samueldr
Copy link
Member

samueldr commented Apr 4, 2020

It built for aarch64, I am not setup to quickly test the build, but it's highly unlikely it would fail to run. If it does, it will require enough work that it will slow down the release of this fix.

@samueldr samueldr merged commit 17af97f into NixOS:release-20.03 Apr 4, 2020
@andir andir deleted the 20.03/firefox branch April 4, 2020 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants