← Back to team overview

aims team mailing list archive

[Bug 1259933] Re: chromium-browser ignores CHROMIUM_FLAGS

 

[Expired for chromium-browser (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: chromium-browser (Ubuntu)
       Status: Incomplete => Expired

-- 
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 “chromium-browser” package in Ubuntu:
  Expired

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/+source/chromium-browser/+bug/1259933/+subscriptions