start sandbox without application (runtime debugging)

Jorge García jgarciao at gmail.com
Tue Aug 16 13:57:42 UTC 2016


Sorry, I just read your email again and I see you want to create and debug
your own runtime.

Maybe this other post can help you
https://smcv.pseudorandom.co.uk/2016/xdg-app/

Jorge

El dia 16 ag. 2016 3:50 p. m., "Jorge García" <jgarciao at gmail.com> va
escriure:

> Hi Marco,
>
> I don't have my laptop now but maybe it will work running "sh" instead of
> "bash".
>
> This tutorial might help you: https://blogs.gnome.org/alexl/
> 2016/02/19/building-an-xdg-app-part-1/
>
> Jorge
>
> El dia 16 ag. 2016 1:24 p. m., "Marco Strigl" <mstrigl at suse.de> va
> escriure:
>
>> Hello,
>>
>> i started working with xdg-app and created an own runtime, commited it
>> into an ostree and wrote a first sample application.
>> All fine. I can install the runtime and the application. But when i start
>> the application it states:
>>
>> execvp hello.sh: No such file or directory
>>
>> I tried to "bash" into the sandbox with: xdg-app run --command=bash
>> org.test.hello
>> But then i get:
>>
>> execvp bash: No such file or directory
>>
>> So it looks like there is something wrong with my runtime.
>> I already did a 'strace -s 1024 -f xdg-app run org.test.hello' which (as
>> far as i can judge) everything looks nice.
>> Both /usr and /app are mounted correctly.
>>
>> I do not want you to debug my runtime :) I just want to know if there is
>> a way to "boot" up a sandbox from a runtime and
>> explore it?
>>
>> Thanks in advance,
>> Marco
>>
>> --
>> Marco Strigl
>> SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nuremberg, Germany
>> GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG
>> Nürnberg)
>> _______________________________________________
>> xdg-app mailing list
>> xdg-app at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/xdg-app
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20160816/fe1ca14a/attachment.html>


More information about the xdg-app mailing list