Commit ffafffdb authored by Jérome Perrin's avatar Jérome Perrin

component/chromium: run chrome with --no-sandbox

On some machines chrome refuses to start with
[6536:6536:1005/054746.213927:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.

This chrome is not intended to be used for more than running testsuites, so I
believe we can live without the extra security chrome sandbox would have
offered us.
parent 59686873
...@@ -57,7 +57,7 @@ script = ...@@ -57,7 +57,7 @@ script =
# FATAL:platform_font_linux.cc(83)] Check failed: InitDefaultFont(). Could not find the default font # FATAL:platform_font_linux.cc(83)] Check failed: InitDefaultFont(). Could not find the default font
export LD_LIBRARY_PATH=$PWD:{} export LD_LIBRARY_PATH=$PWD:{}
export PATH={}:$PATH export PATH={}:$PATH
exec ./chrome --disable-setuid-sandbox --disable-gpu $@ exec ./chrome --disable-setuid-sandbox --no-sandbox --disable-gpu $@
""".format( """.format(
chromeium, chromeium,
':'.join(part['library'].split()), ':'.join(part['library'].split()),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment