Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541278 - www-client/firefox-35.0 - this developer edition switches to use different $HOME/.mozilla/firefox/xqyip8gr.dev-edition-default config dir
Summary: www-client/firefox-35.0 - this developer edition switches to use different $H...
Status: RESOLVED DUPLICATE of bug 536682
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 20:26 UTC by Martin Mokrejš
Modified: 2015-10-06 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2015-02-24 20:26:41 UTC
I am on ~amd64 and it happened I upgraded to a newer firefox. Surprisingly, I lost all my opened tabs, bookmarks, passswords, history ... and it turns out this version created a new configuration directory:


$ ls -latr .mozilla/firefox/
total 24
drwx------  2 mmokrejs mmokrejs 4096 Mar 15  2010 Crash Reports
drwx------  6 mmokrejs mmokrejs 4096 Oct 17  2012 ..
drwx------ 15 mmokrejs mmokrejs 4096 Feb 15 10:21 2czh3u8v.default
drwx------  5 mmokrejs mmokrejs 4096 Feb 15 20:56 .
-rw-------  1 mmokrejs mmokrejs  188 Feb 15 20:56 profiles.ini
drwx------ 11 mmokrejs mmokrejs 4096 Feb 24 21:16 xqyip8gr.dev-edition-default
$

My new, empty configuration is read from xqyip8gr.dev-edition-default.

$ cat .mozilla/firefox/profiles.ini 
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=2czh3u8v.default
Default=1

[Profile1]
Name=dev-edition-default
IsRelative=1
Path=xqyip8gr.dev-edition-default

$

I do not know if I can simply drop the "Profile1" so that the old configuration will be picked up or whether the new devel binary is not backwards compatible with old configuration files ...?

Either way, I think the default should be to stay with old configuration.

My previous version was www-client/firefox-34.0.5-r1.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-07-06 20:07:55 UTC
Sorry for not responding on such an old bug; firefox should never have installed as a "developer edition" from the portage tree, so I expect whatever caused that to occur was fixed shortly after you emerged it.  

Have you had this issue with any newer versions?
Comment 2 Martin Mokrejš 2015-09-11 19:29:02 UTC
(In reply to Ian Stakenvicius from comment #1)
> Sorry for not responding on such an old bug; firefox should never have
> installed as a "developer edition" from the portage tree, so I expect
> whatever caused that to occur was fixed shortly after you emerged it.  
> 
> Have you had this issue with any newer versions?

I just synced and emerged firefox-40.0.3. I says:


about:
Firefox Developer Edition

Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0





about:buildconfig
Build Machine

vostro
Build platform
target
x86_64-pc-linux-gnu
Build tools
Compiler 	Version 	Compiler flags
x86_64-pc-linux-gnu-gcc 	4.9.3 	-Wall -Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -pipe -maes -mpclmul -mpopcnt -mavx -march=native -std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread -pipe
x86_64-pc-linux-gnu-g++ 	4.9.3 	-Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -pipe -maes -mpclmul -mpopcnt -mavx -march=native -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DDEBUG -DTRACING -g -O2 -fno-omit-frame-pointer
Configure arguments

--enable-application=browser --enable-optimize=-O2 --disable-pedantic --disable-updater --disable-strip --disable-install-strip --disable-installer --disable-strip-libs --disable-profilelocking --enable-single-profile --disable-profilesharing --with-system-zlib --enable-pango --enable-svg --with-system-bz2 --enable-default-toolkit=cairo-gtk2 --disable-official-branding --with-branding=browser/branding/aurora --enable-debug --enable-tests --enable-debug-symbols --enable-startup-notification --enable-necko-wifi --enable-dbus --enable-ogg --enable-wave --enable-ion --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --prefix=/usr --libdir=/usr/lib64 --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --disable-crashreporter --with-system-png --enable-system-ffi --disable-gold --disable-gconf --enable-jemalloc --enable-replace-malloc --target=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-gstreamer --disable-pulseaudio --enable-system-cairo --enable-system-sqlite --with-system-jpeg --with-system-icu --enable-intl-api --with-system-libvpx --with-google-api-keyfile=/var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/google-api-key --disable-mailnews --with-default-mozilla-five-home=/usr/lib64/firefox --enable-extensions=default



Running "lsof" confirms it still opens /home/mmokrejs/.mozilla/firefox/xqyip8gr.dev-edition-default/ contents.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-06 19:42:52 UTC
Amalgomating this with the other firefox USE="bindist" profile bug.

*** This bug has been marked as a duplicate of bug 536682 ***