← Back to team overview

aims team mailing list archive

[Bug 1259933] [NEW] chromium-browser ignores CHROMIUM_FLAGS

 

You have been subscribed to a public bug by Jan Groenewald (jan-aims):

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.

** Affects: ubuntu
     Importance: Undecided
         Status: New

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