snap breaks alternate policies.json location of toolkit.policies.perUserDir=true
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
repro
1. launch snap using firefox -P
2. create test profile
3. open about:prefs set bool toolkit.
4. ensure no file at /etc/firefox/
5. ensure file at: /run/user/$(id -u)/firefox/
6. close & restart firefox -P and select test profile
expected: policy parsed (and applied, if valid)
actual: policy not parsed, error logged
syslog
AVC apparmor="DENIED" operation="open" profile=
about:policies
Error reading JSON file: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_
workaround for my use case, launching two firefox instances with different settings, abusing test feature:
export XPCSHELL_
then configure browser.
Not a dupe, the default location /etc/firefox/
LP: #1975853
Background on the secondary location:
https:/