Hi,

thank you for your detailed steps how to reproduce it.

I now also saw the same problem with a test profile.
As it is related to whitelist-usr-share-common.inc, which blacklists
everything in /usr/share except the directories that are whitelisted,
I looked for a directory that could cause this behavior.
After a bit of searching I found that /usr/share/firefox is not
whitelisted. And it contains a few files that seem to be related to
default configuration of firefox.
(Maybe some settings fail to apply, if firefox does not know about
them?)

So I added "whitelist /usr/share/firefox" to my firefox.profile
and I no longer saw the problem (I didn't get the popup question
about default browser, and the correct settings were applied).

Can you please try this and confirm if this also works for you?

Kind regards,
  Reiner

On Sat, Feb 29, 2020 at 04:32:45PM +0100, /dev/fra wrote:
> 1. Create a new firefox test profile, change these preferences
>     a. General, Always check if Firefox is your default browser --> Unset
>     b. Home, Homepage and new windows --> debian.org
>     c. Privacy & Security, Content Blocking --> Strict
>     d. Privacy & Security, Allow Firefox to send technical... --> Unset
>   and quit firefox.
> 2. Run such profile with firejail (firejail firefox -P test), note that
>     - firefox asks to be set as default browser;
>     - indeed preferences a. and d. have been enabled;
> 3. While running the test profile with firejail, change preferences a. and d. 
> so
>   that they are unset, quit firefox;
> 4. Run again the test profile with firejail, preferences set in step 3 have 
> been
>   retained, quit firefox;
> 5. Run the test profile this time without firejail, note that preferences set 
> in
>   step 1 (and 3) remained unchanged, quit firefox;
> 6. Run one more time the test profile with firejail, and note that preferences
>   a. and d. have been enabled once again (like in step 2).

Attachment: signature.asc
Description: PGP signature

Reply via email to