start sandbox without application (runtime debugging)

Marco Strigl mstrigl at suse.de
Tue Aug 16 13:56:53 UTC 2016


Hi Jorge, 

On 08/16/2016 03:50 PM, Jorge García wrote:
> Hi Marco,
> 
> I don't have my laptop now but maybe it will work running "sh" instead of "bash".

I tried. Nope. sh not found.

> 
> This tutorial might help you: https://blogs.gnome.org/alexl/2016/02/19/building-an-xdg-app-part-1/


Thanks. But i know this already. If i run my application with any other runtime it works. Just with my own runtime it fails. 
So I think it is not the application that is wrong. It's my runtime. 


> 
> Jorge
> 
> 
> El dia 16 ag. 2016 1:24 p. m., "Marco Strigl" <mstrigl at suse.de <mailto: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 <mailto:xdg-app at lists.freedesktop.org>
>     https://lists.freedesktop.org/mailman/listinfo/xdg-app <https://lists.freedesktop.org/mailman/listinfo/xdg-app>
> 




More information about the xdg-app mailing list