Closed Bug 1534186 Opened 5 years ago Closed 5 years ago

Profile manager automatically removing profiles that are temporarily offline

Categories

(Toolkit :: Startup and Profile System, defect)

67 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla67
Tracking Status
firefox-esr60 --- unaffected
firefox65 --- unaffected
firefox66 --- unaffected
firefox67 + verified

People

(Reporter: ke5trel, Assigned: mossop)

References

Details

(Keywords: regression)

STR:

  1. Have a profile path in profiles.ini that is currently offline.
  2. Visit about:profiles or start with firefox -P.
  3. Offline profile is automatically removed from profiles.ini.

There are many legitimate reasons for a profile path being temporarily inaccessible (unmounted, separate media, powered down, unplugged, networking issue etc.) and does not mean it can be assumed to be permanently missing. This doesn't just affect non-relative paths since it is possible to mount remote folders into relative paths (using mount --bind on Linux).

Regressed by Bug 1530615.

Hi Kestrel,

I want to verify this issue but I'm not sure how can I set a profile to be offline, can you please give me some more details about the reproducing steps for this? Thanks

Flags: needinfo?(ke5trel)

Go to the profiles directory referred to in about:support and edit profiles.ini there, adding the following profile entry:

[Profile2]
Name=TempOfflinePath
IsRelative=0
Path=/some/directory/that/does/not/exist/
Flags: needinfo?(ke5trel)

I've backed out https://hg.mozilla.org/mozilla-central/rev/455e57b39067 which caused this issue, thanks for spotting it so quickly.

Bug 1530615 was backed out.

Assignee: nobody → dtownsend
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

Hi, Kestrel can you please double check this issue and tell us if you are still able to reproduce it? Thanks

Flags: needinfo?(ke5trel)

I can verify this is fixed on latest Nightly 68.0a1 (2019-03-30) and Beta 67.0b6 on Ubuntu 18.10.

Status: RESOLVED → VERIFIED
Flags: needinfo?(ke5trel)
You need to log in before you can comment on or make changes to this bug.