Closed deliciouslytyped closed 3 years ago
That's right, sans for the part why we use ptrace: it's to avoid recompiling the world to move /nix/store
, /etc
and other stuff into the Nix-on-Droid writable directory.
Fixing strace inside proot is out of the scope of the project, sorry.
And, please, don't bother Termux folks too much with Nix-on-Droid shenanigans, I'm sure they have lots of other stuff to worry about.
While working on https://github.com/t184256/nix-on-droid/issues/75 , I was unable to debug Xvfb with strace due to the following error:
(I think the
proot warning
line isn't coming from the child process)Googling, and the termux IRC suggest it is a proot issue. The only other instance (TODO) f a
PTRACE_???
I've been able to find is https://github.com/t184256/nix-on-droid/issues/75 . (TODO:check more thoroughly) but unsurprisingly, the workaround there doesn't help because I find it exceedingly unlikely that random processes are preventing themselves from being inspected.I got the following input from the termux people, and I'm not sure where to go from here: