[elbe-devel] [PATCH] Fix silent command error in cpio examples
Olivier Dion
dion at linutronix.de
Sat Jul 6 13:09:47 CEST 2019
On 2019-07-05T22:33:53+0200, John Ogness wrote:
> THanks for all your work on this interesting issue! I really think it
> would be beneficial to create a simple python script to run in the
> initvm that reproduces the issue. With strace(1) we should be able to
> see what is going on. For example, we should be able to see someone
> (either python or the shell) using stat64(2) syscalls to locate the
> binary.
I've made a simple script that reeuse elbe code for fake filesystem. I
don't know if that's the correct approach .. pipe are always broken when
doing so.
The script is attached to this message. Just provide the absolute path
to the target filesystem as argv[1] and you can send command
interactively.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: application/octet-stream
Size: 9591 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190706/b47fa148/attachment.obj>
-------------- next part --------------
--
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-M?hlhofen
More information about the elbe-devel
mailing list