Open Bug 2013849 Opened 8 months ago Updated 1 month ago

currentProfile is null despite the profile being in the database on a system where /home is a symlink

Categories

(Toolkit :: Startup and Profile System, defect)

defect

Tracking

()

People

(Reporter: mossop, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Krosylight reported that the new profiles system was non-functional and the error console shows multiple errors about SelectableProfileService.currentProfile being null. We did some diagnosis, the profiles.ini storeID matches the pref, the database lists two profiles one of which appears as /home/krosylight/.mozilla/firefox/TKjQnf6Y.Profile 1 however the directory service actually reports the profile directory as being /var/home/krosylight/.mozilla/firefox/TKjQnf6Y.Profile 1. On Fedora /home is a symlink to /var/home.

Looking through the init I'm not sure that the symlink is the sole issue but we can at least test this easily to see if it reproduces.

Krosylight was also running this in Flatpak which may be relevant

Blocks: 1991913

FWIW the firefox profiler fails to load the profile after recording possibly because of this.

The severity field is not set for this bug.
:mossop, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dtownsend)
Severity: -- → S2
Flags: needinfo?(dtownsend)
No longer blocks: 1991913
Depends on: 1991913
Duplicate of this bug: 2067585
You need to log in before you can comment on or make changes to this bug.