Summary: | www-client/firefox-bin-15.0 is trying to automatically upgrade via Mozilla Upgrade path | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tim Bowers <djsmiley2k> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anton.bugs, follettoonip, gentoo.2019, gentoo, nikoli, saint.snit, stefan.kuhn, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mozilla.cfg
local-settings.js mozilla.cfg mozilla.cfg |
Description
Tim Bowers
2012-09-10 08:30:04 UTC
confirming, the update box in firefox (15.0) preferences is enabled by default after a installation. Firefox wants to fetch an update from internet, You need to disable it manually. Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64) ================================================================= System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.1 Timestamp of tree: Sun, 09 Sep 2012 00:45:01 +0000 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.1.4-r3, 3.2.3 dev-util/cmake: 2.8.8-r3 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo mpd proaudio zugaina needless ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.3 Oracle-BCLA-JavaSE skype-eula PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/gentoo-portage/distfiles/" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/mpd /var/lib/layman/pro-audio /var/lib/layman/zugaina /usr/local/portage" SYNC="rsync://lx/gentoo-portage" USE="7zip X aac acl acpi alsa amd64 apm bash-completion berkdb bindist bonobo bzip2 cairo cal3d cddb cli cpudetection cracklib crypt cue curl custom-flags cxx dga directfb diskio dri drm encode expat faad fbcon flac fontforge fortran fuse gdbm gif gpm gtk gtk3 hscolour iconv imagemagick jpeg jpeg2k lame laptop libcaca libclamav libgda libmms libsamplerate libsndfile lm_sensors logrotate lua lzo mad mbox mmx modpack modules mp3 mpeg mplayer mudflap multilib musepack museplug ncurses noamazon nptl nsplugin nspluginwrapper ogg oggvorbis opengl openmp pam pango pcre pdf png pppd python3 qt3support readline savedconfig schroedinger screen sensord session sox sql sqlite sqlite3 sse sse2 sse3 ssl ssse3 svg tcpd tga threads tiff truetype unicode vaapi vdpau vim-syntax vorbis wavpack wifi xft xml xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON I get notifications about available updates with www-client/firefox-bin-18.0 Still happening, just now I got an alert for 18.0.1. Hmm, firefox-bin-prefs.js does set app.update.enabled = false. Why is it then marked as bold (user set) in about:config if that's already a global default? Could it be that Firefox is not picking up stuff from firefox-bin-prefs.js for some reason? (In reply to comment #3) > Could it be that Firefox is not picking up stuff from > firefox-bin-prefs.js for some reason? This appears to be the case. I just tested this on a simple option: in the Firefox GUI, it is under Preferences -> Advanced -> General -> Search for text when I start typing, and internally it is known as "accessibility.typeaheadfind". It is set to false (box unchecked in the GUI) by default. I added this line to /opt/firefox/defaults/pref/firefox-bin-prefs.js: pref("accessibility.typeaheadfind", true); and then ran Firefox with a brand new profile: firefox-bin -no-remote -P new After going through the short wizard to create the new profile, I looked in the GUI's Preferences settings, and the "Search for text when I start typing" box was still unchecked. So Firefox did not pick up this setting from firefox-bin-prefs.js. It appears that Firefox stopped honoring this file sometime between firefox-bin 10.0.11 and 15.0. Further complicating matters, it looks like the internal name of one of the relevant options has changed: it is called app.update.autoInstallEnabled in firefox-bin-prefs.js, but it is now known simply as app.update.auto in recent Firefoxes. (This bug report is filed under AMD64, but it is not limited to that platform; I'm seeing it on x86. The problem is almost certainly platform independent.) *** Bug 461590 has been marked as a duplicate of this bug. *** Created attachment 344142 [details]
mozilla.cfg
Created attachment 344144 [details] local-settings.js guys, I found the solution for that problem. Forget about firefox-bin-prefs.js Here it is: https://support.mozilla.org/en-US/questions/944982 So we need to create two additional files: /opt/firefox/defaults/pref/local-settings.js /opt/firefox/mozilla.cfg There are 3 methods available: defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes I used lockPref in my attachment, feel free to change it to defaultPref. Can somebody verify and push that change please? Created attachment 344156 [details] mozilla.cfg Reply 3 on that mozilla site is correct, the order on mozilla.cfg is important, see https://support.mozilla.org/en-US/questions/944982#answer-410465 Correct would be: lockPref("app.update.auto", false); lockPref("app.update.enabled", false); Thanks Anton! Created attachment 344158 [details] mozilla.cfg Thanks, updated. No, you need "//" http://kb.mozillazine.org/Locking_preferences : "... and make the first line start with double forward slashes." Comment on attachment 344156 [details]
mozilla.cfg
Tnx again!
With the first line being "//", the order no longer seems to matter. Obsoleted my mozilla.cfg.
I have dropped roughly these fixes into firefox-bin-20.0-r1.ebuild, but removed the keywords. If anyone would like to test please feel free. Fixed in both fx-17.0.5-r1 and 20.0.0 |