← Back to team overview

aims team mailing list archive

[Bug 1259933] Re: chromium-browser ignores CHROMIUM_FLAGS

 

0 jan@muizenberg:/var/autofs/misc/home/jan$lsb_release -d
Description:	Ubuntu 12.04.3 LTS
0 jan@muizenberg:/var/autofs/misc/home/jan$dpkg -l chromium-browser
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                                  Description
+++-========================================-========================================-================================================================================================
ii  chromium-browser                         31.0.1650.63-0ubuntu0.12.04.1~20131204.1 Chromium browser
0 jan@muizenberg:/var/autofs/misc/home/jan$

Though the bug is confirmed on version previous to this recent upgrade:
0 jan@muizenberg:/var/autofs/misc/home/jan$cat /var/log/apt/history.log |tail -n3
Commandline: apt-get -y dist-upgrade
Upgrade: chromium-browser:amd64 (30.0.1599.114-0ubuntu0.12.04.3, 31.0.1650.63-0ubuntu0.12.04.1~20131204.1), chromium-browser-l10n:amd64 (30.0.1599.114-0ubuntu0.12.04.3, 31.0.1650.63-0ubuntu0.12.04.1~20131204.1), flashplugin-installer:amd64 (11.2.202.327ubuntu0.12.04.1, 11.2.202.332ubuntu0.12.04.1), libpq-dev:amd64 (9.1.10-0ubuntu12.04, 9.1.11-0ubuntu0.12.04), libpq5:amd64 (9.1.10-0ubuntu12.04, 9.1.11-0ubuntu0.12.04), chromium-codecs-ffmpeg-extra:amd64 (30.0.1599.114-0ubuntu0.12.04.3, 31.0.1650.63-0ubuntu0.12.04.1~20131204.1)
End-Date: 2013-12-11  07:55:58
0 jan@muizenberg:/var/autofs/misc/home/jan$

-- 
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1259933

Title:
  chromium-browser ignores CHROMIUM_FLAGS

Status in Ubuntu:
  New

Bug description:
  I have this,

  0 jan@muizenberg:/var/autofs/misc/home/jan$grep FLAG /etc/chromium-browser/default 
  #CHROMIUM_FLAGS=""
  CHROMIUM_FLAGS="--disk-cache-size=0"
  0 jan@muizenberg:/var/autofs/misc/home/jan$

  And yet chromium uses disk cache in .cache/chromium/Default/Cache

  
  Here http://www.chromium.org/developers/how-tos/run-chromium-with-flags
  it says that

  Current switches may be found at http://peter.sh/examples/?/chromium-switches.html
  redirects to http://peter.sh/experiments/chromium-command-line-switches/
  which says
  --disk-cache-size ⊗ 	Forces the maximum disk space to be used by the disk cache, in bytes. ↪

  and chromium seems to read the file, if not respect the option:
  0 jan@muizenberg:/var/autofs/misc/home/jan$strace -e open chromium-browser 2>&1 |grep /etc/chromium-browser/default
  open("/etc/chromium-browser/default", O_RDONLY) = 3
  0 jan@muizenberg:/var/autofs/misc/home/jan$

  Use case: university computer lab with disk quotas on a nfs home
  server, running a campus wide proxy, wishes to disable chromium cache
  on all university desktops.

  Attempted workaround, was to edit /usr/share/applications/chromium-
  browser after each upgrade, point Exec= lines in the chromium-
  browser.desktop file at our own /usr/local/bin/chromium-browser-
  wrapper.sh, which calls /usr/bin/chromium-browser --disk-cache-size=0
  "$@" which also seems NOT to work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1259933/+subscriptions