Giter VIP home page Giter VIP logo

Comments (4)

krzksz avatar krzksz commented on August 18, 2024

Hey @Hector68, thanks for raising the issue.
I will check if there are any downsides in always adding --no-sandbox so we don't need another option to be added. On the other hand, are you sure you need to run magepack as root user?

from magepack.

Hector68 avatar Hector68 commented on August 18, 2024

I use a docker . But if I run it by another user I will get error

 ERROR  Failed to launch the browser process!                                                                 12:24:07
[0407/122406.949479: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.
#0 0x556d8f89e219 base::debug::CollectStackTrace()
#1 0x556d8f802363 base::debug::StackTrace::StackTrace()
#2 0x556d8f814195 logging::LogMessage::~LogMessage()
#3 0x556d9109000e service_manager::ZygoteHostImpl::Init()
#4 0x556d8f40bf27 content::ContentMainRunnerImpl::Initialize()
#5 0x556d8f45aafa service_manager::Main()
#6 0x556d8f40a501 content::ContentMain()
#7 0x556d8f4598f5 headless::(anonymous namespace)::RunContentMain()
#8 0x556d8f45959d headless::HeadlessShellMain()
#9 0x556d8cfceaa7 ChromeMain
#10 0x7f5f6ffe72e1 __libc_start_main
#11 0x556d8cfce8ea _start

from magepack.

vbuck avatar vbuck commented on August 18, 2024

Can confirm that this solves the same issue:

Since this is a tool intended for use with build pipelines, I see no harm in disabling sandbox functionality. If you serve an application from source code that is infected with XSS or CSRF content which could exploit the the host, then you have a larger problem than to worry about!

from magepack.

krzksz avatar krzksz commented on August 18, 2024

Released in 2.2.1

from magepack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.