[flatpak] Add /run/host/local-fonts/ to the sandbox whitelist
Categories
(Core :: Security: Process Sandboxing, enhancement, P1)
Tracking
()
People
(Reporter: zwjmazza, Assigned: gerard-majax)
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
This is similar to Bug #1396733
/run/host/local-fonts/
exposes manually installed system-wide fonts from /usr/local/share/fonts/
to flatpak applications.
Currently /run/host/fonts/
and /run/host/user-fonts/
are both whitelisted, but /run/host/local-fonts/
is not. This renders any fonts exposed in this location unusable by Firefox, despite being recognized by the container's fontconfig.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa135a33a544 Add /run/host/local-fonts to sandbox r=gcp
Comment 3•2 years ago
|
||
bugherder |
Comment 4•2 years ago
|
||
Is this something we should consider uplifting to Beta or can this ride 95 to release?
Assignee | ||
Comment 5•2 years ago
|
||
I'd suspect we want, but maybe Olivier might know better?
Comment 6•2 years ago
|
||
I'm not familiar with flatpak packaging matters, I'm involved with the snap packaging only.
The change looks trivial enough and makes sense, so I suppose it wouldn't hurt to uplift it to beta at this stage, but I don't think that's for me to decide.
Assignee | ||
Comment 7•2 years ago
|
||
Oh my bad, I misread and confused flatpak with Snap :/
Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9244305 [details]
Bug 1733814 - Add /run/host/local-fonts to sandbox r?gcp!
Beta/Release Uplift Approval Request
- User impact if declined: Missing fonts
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only adding a new authorized path to the list of paths, similar to existing.
- String changes made/needed:
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Approved for uplift 94.0b6
Comment 10•2 years ago
|
||
bugherderuplift |
Description
•