Im trying to open adb shell through the container, but it is not working.
I tried (with root)
lxc-attach aliendalvik -- /system/bin/sh
and
lxc-attach -n aliendalvik /system/bin/sh
Both gives the same error:
lxc-attach: aliendalvik: attach.c: get_attach_context: 403 Failed to get init pid
lxc-attach: aliendalvik: attach.c: lxc_attach: 1430 Failed to get attach context
I also tried pointing it to the default.conf file (if this actually is it) with devel-su lxc-attach -n aliendalvik -f /etc/lxc/
:
lxc-attach: aliendalvik: parse.c: lxc_file_for_each_line_mmap: 98 Is a directory - Failed to copy config file “/etc/lxc/”
lxc-attach: aliendalvik: attach.c: get_attach_context: 403 Failed to get init pid
lxc-attach: aliendalvik: attach.c: lxc_attach: 1430 Failed to get attach context
default.conf contents:
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
Some notes: I dont know if its remotely related, but for some reason Android support refuses to start upon booting the device(option checked/rechecked). Android Support was up and running normal. system.img was not tinkered with (except for installing Microg).
OS version: 4.5.0.24
Any help would be much appreciated. I know @DrYak is well informed about this stuff, if he could lend his insight, I’d be grateful