start sandbox without application (runtime debugging)

Marco Strigl mstrigl at suse.de
Tue Aug 16 14:32:52 UTC 2016


Hi, 

On 08/16/2016 04:13 PM, Emmanuele Bassi wrote:
> Hi;
> 
> the real question would be: why are you creating your own runtime?

because there is no suitable framework. I want to create one based on opensuse.

> 
> Runtimes are the equivalent of a (small) Linux distribution; creating
> a runtime is a considerable effort.
> 
> You should at least use the freedesktop.org runtime as the base, to
> avoid having to deal with low level components like a shell — which
> you are apparently missing from the build.
> 
> Ciao,
>  Emmanuele.
> 
> 
> On 16 August 2016 at 12:24, Marco Strigl <mstrigl at suse.de> wrote:
>> 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
> 
> 
> 




More information about the xdg-app mailing list