Giter VIP home page Giter VIP logo

Comments (3)

gabriel-v avatar gabriel-v commented on May 28, 2024 1

runsc can be set up to do extensive logging

Found docs - works like this

    runsc --network none -unprivileged -ignore-cgroups --debug --debug-log=/dev/stderr do ls

which spams a stack trace and also says

    panic: unable to attach: operation not permitted

which means ptrace - which you also said.

Adding ptrace cap fixes the issue:

    docker run -it --cap-add=SYS_PTRACE gristlabs/grist /bin/bash

Maybe add SYS_PTRACE to the docs page faq section as well as the XSAVE processor flag?

Thanks!

from grist-core.

paulfitz avatar paulfitz commented on May 28, 2024

Hmm, do you know if you have the SYS_PTRACE capability?

One option for debugging is to run /bin/bash on the container, and then try running runsc in various ways, outside of Grist. runsc can be set up to do extensive logging.

For example, for me this command succeeds and shows a directory listing:

paulfitz@entwash:~/cvs/grist-core$ docker run -it gristlabs/grist /bin/bash
root@203def292848:/grist# runsc --network none -unprivileged -ignore-cgroups do ls
...

If it fails for you, then maybe you could enable logging on it (I forget the details but runsc documentation should be clear) and see what is up?

from grist-core.

paulfitz avatar paulfitz commented on May 28, 2024

@gabriel-v there was a documentation update based in part on your suggestion, thanks.
gristlabs/grist-help#330

from grist-core.

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.