aims team mailing list archive
-
aims team
-
Mailing list archive
-
Message #00608
Re: [Bug 1259933] Re: chromium-browser ignores CHROMIUM_FLAGS
No, the problem, was that setting CHROMIUM_FLAGS disk-cache-size to 0 does
not limit the cache to 0, instead it uses the default. Setting it to 10M
works, and even better as a policy than as a flag. So I think the bug is
invalid as chromium behaves as documented (if not entirely as expected).
On 17 December 2013 16:44, Chad Miller <chad.miller@xxxxxxxxxxxxx> wrote:
> Is CHROMIUM_USER_FLAGS set in any environment? Those take precedence
> over CHROMIUM_FLAGS .
>
> ** Changed in: chromium-browser (Ubuntu)
> Status: Invalid => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1259933
>
> Title:
> chromium-browser ignores CHROMIUM_FLAGS
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1259933/+subscriptions
>
--
.~.
/V\ Jan Groenewald
/( )\ www.aims.ac.za
^^-^^
--
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:
Incomplete
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
References