Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
running a gentoo prefix on galaxy note3[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Sat Jan 15, 2022 9:49 am    Post subject: running a gentoo prefix on galaxy note3[solved] Reply with quote

I am following the adnroid instsructions to isntall a gentoo prefix on my samsung galaxy note3:
https://wiki.gentoo.org/wiki/Project:Android/tarball

I have downloaded and extracted the tarball, then i try to run the start prefix script but I get:
Code:
127|root@ha3g:/data/gentoo # ./startprefix
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
./startprefix: line 23: /data/gentoo/bin/grep: Permission denied
./startprefix: line 37: /data/gentoo/bin/dirname: Permission denied
./startprefix: line 38: /data/gentoo/bin/mkdir: Permission denied





I have followed the exact same steps on a sony xperia M and it worked like a charm, any idea what this might be? I'm running a rooted stock android on this phone(vs a dotos android on the xperia m, maybe it's selinux?)


Last edited by Adel Ahmed on Wed Jan 19, 2022 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Tue Jan 18, 2022 5:52 am    Post subject: Reply with quote

it seems the problem lies within the bash executable, I can run the executables in the prefix normally under the android shell, once I run the bash executable in the prefix no more executables are running(I get premission denied):
Code:
126|root@ha3g:/data/gentoo # bin/ls
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
bin  etc  lib  root  run  sbin  startprefix  tmp  usr  var
root@ha3g:/data/gentoo # bin/bash
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
localhost /data/hdd/32-root # bin/ls
bash: bin/ls: Permission denied
localhost /data/hdd/32-root #


I suspect selinux or some other security suite is preventing me from running executables within bash
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Wed Jan 19, 2022 1:38 pm    Post subject: Reply with quote

I think it might have been selinux, I have installed a custom rom where SELINUX is set to permissive and nwo I can run the prefix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum