Skip to content

fix firefox installation#704

Merged
LyzardKing merged 2 commits into
ubuntu:masterfrom
Jeffrey04:20241016-fix-firefox-dev
Dec 1, 2024
Merged

fix firefox installation#704
LyzardKing merged 2 commits into
ubuntu:masterfrom
Jeffrey04:20241016-fix-firefox-dev

Conversation

@Jeffrey04

Copy link
Copy Markdown
Contributor

Firefox dev installation is broken due to the change at mozilla's website

@Jeffrey04

Jeffrey04 commented Dec 1, 2024

Copy link
Copy Markdown
Contributor Author

Just out of curiosity, in recent firefox installs it says it requires this in /etc/apparmor.d/, how do I do that with umake?

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,

include <tunables/global>

profile umake-firefox
/home/jeffrey04/.local/share/umake/web/firefox-dev/{firefox,firefox-bin,updater}
flags=(attach_disconnected,unconfined) {

    userns, 

    # Site-specific additions and overrides. See local/README for details. 

    include if exists <local/firefox> 

}

@LyzardKing

Copy link
Copy Markdown
Collaborator

@Jeffrey04 Where does it mention this is needed for a new install?

@LyzardKing LyzardKing merged commit 4d34901 into ubuntu:master Dec 1, 2024
@Jeffrey04

Jeffrey04 commented Dec 1, 2024

Copy link
Copy Markdown
Contributor Author

@Jeffrey04 Where does it mention this is needed for a new install?

https://support.mozilla.org/en-US/kb/install-firefox-linux?as=u&utm_source=inproduct#w_security-features-warning

same thing is needed for vscode (and possibly other electron apps) too actually (posted an example in my codeium windsurf PR), OTOH, ubuntu published this

https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces

also sometimes a sysctl reload apparmor.service is not enough, gotta reboot

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.

2 participants