#sfdroid log for Sunday, 2017-01-15

*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid01:34
*** cvp[mobile] <cvp[mobile]!~sailfish@pD9EE31A9.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)06:31
*** krnlyng <krnlyng!~liar@77.117.99.4.wireless.dyn.drei.com> has quit IRC (Ping timeout: 252 seconds)09:19
*** krnlyng <krnlyng!~liar@178.112.144.37.wireless.dyn.drei.com> has joined #sfdroid09:33
*** ChanServ sets mode: +o krnlyng09:33
Tofesaidinesh5: can't you just use LD_LIBRARY_PATH?10:22
saidinesh5Tofe: that was attempt#1. i had one in the init.sfdroid.rc itself. it was somehow messing up other services which were loading10:23
Tofeoh. ok. That's not very reassuring for the future overlay attempt...10:23
saidinesh5i did try LD_LIBRARY_PATH/LD_PRELOAD only for services in init.sfdroid.rc too. it wasnt working though. half the system was taking stuff from /usr/libexec/droid-hybris/system . half from /system. then there was also /usr/libexec/sfdroid/system10:25
saidinesh5hence the need to run the thing in a container/chroot. As a bonus, it not touching my data partition means debugging should be easier + no annoying "Optimizing applications" everytime i try to boot into android10:26
Tofeah I thought you were already in the context of a lxc container10:26
saidinesh5nah. lxc wasnt starting yet for me. was getting some odd cgroup errors10:28
saidinesh5i did try running the stripped down init + system in a chroot , but i think it was very stripped down (built using core_minimal.mk in android's build target) to show any GUI10:29
saidinesh5it was just spawning some 15-20 dex2opt processes which was quickly overheating the phone10:30
saidinesh5So now my options are: using overlayfs to get a nice system partition with just the modified bits from SFdroid + the base system.  or trial and error till i get a nice stripped down android10:31
saidinesh5as of day before yesterday, just one libpac dependency was trying to pull in the whole of chromium , which i was trying to get rid of10:32
Tofesaidinesh5: for lxc you need specific kernel features10:34
Tofethere's a lxc tool to check them, iirc10:34
saidinesh5the lxc-checkconfig was mostly positive10:34
Tofewell, either way, it'll require some time10:36
saidinesh5https://paste.kde.org/pp2azqkaw10:36
saidinesh5my lxc-checkconfig10:36
saidinesh5yeah it is such a pain .. especially the slow slow slow build times of android10:37
saidinesh5let me get you the error from lxc too 1 sec10:37
Tofeon LuneOS we are starting a basic CM12.1 init from lxc, so I confirm it can work (on mako & maguro) :)10:38
saidinesh5could you tell me what could be going wrong here;? https://paste.kde.org/pmbkizc3m10:39
saidinesh5yeah, i got my init pre-script from lune-os itself10:39
Tofesaidinesh5: could it be lxc is blocked by some apparmor/selinux mechanism?10:40
saidinesh5https://paste.kde.org/p4hjhvxqg10:40
saidinesh5my pre-init script btw.10:40
saidinesh5and there is no apparmour/selinux in my sailfish btw.10:40
Tofeok10:40
saidinesh5do i have to do something else other than put the lxc-config and the pre-start post-stop files in /var/lib/lxc/sfdroid?10:41
saidinesh5and then calling: # lxc-start -n sfdroid -- /init10:41
TofeI don't think so10:42
saidinesh5what/where do i look for tips on debugging this?10:42
TofeNot sure; but there might be some cgroup configuration to do here10:44
saidinesh5hmm..10:45
*** nh1402 <nh1402!~nh1402@95.148.89.10> has joined #sfdroid11:27
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a79.dyn.telefonica.de> has joined #sfdroid11:46
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-vkjcvrmxkedkxkzr> has quit IRC (Quit: Connection closed for inactivity)12:09
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a79.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds)13:00
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8ae4.dyn.telefonica.de> has joined #sfdroid13:09
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-gdmnvgykzylczndd> has joined #sfdroid13:36
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8ae4.dyn.telefonica.de> has quit IRC (Ping timeout: 245 seconds)13:47
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a2b.dyn.telefonica.de> has joined #sfdroid13:54
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a2b.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer)14:24
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc895b.dyn.telefonica.de> has joined #sfdroid14:29
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc895b.dyn.telefonica.de> has quit IRC (Ping timeout: 256 seconds)14:54
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a8c.dyn.telefonica.de> has joined #sfdroid14:58
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a8c.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds)16:05
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Ping timeout: 240 seconds)18:08
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid18:11
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Remote host closed the connection)18:27
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid18:27
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Read error: Connection reset by peer)18:35
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid18:36
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-gdmnvgykzylczndd> has quit IRC (Quit: Connection closed for inactivity)18:39
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Remote host closed the connection)18:45
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid18:49
nh1402saidinesh5: how's it going?18:53
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid19:48
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Read error: Connection reset by peer)20:17
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Remote host closed the connection)21:11
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid21:11
saidinesh5nh1402: on a 4-5 day break since saturday. It was the kite festival here + working on a little something for the coding competition21:13
*** nh1402 <nh1402!~nh1402@95.148.89.10> has quit IRC (Ping timeout: 252 seconds)21:51
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 252 seconds)21:52

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!