[Halium 9 Kernel Patching][GSI] Ubports fails to boot
-
@Flohack I got an idea. Instead of using ssh can't we just make a script to run the command at boot and then store it to a file? like
lxc-checkconfig >> /home/phablet/lxc-checkconfig
-
@nitanmarcel Sure you can craft a one-time upstart job in /etc/init. Go for it
-
@Flohack I've tried and with no success. Nothing got saved which is strange because I tried echoing to a file and same thing happened. Nothing
-
@Flohack I've tried modifying the ssh.override to create the log when the ssh starts but nothing happens:
pre start script lxc-checkconfig >> /home/phablet/lxcout.txt exec /usr/sbin/sshd -D -o PasswordAuthentication=yes end script
Am I doing something wrong?
-
@nitanmarcel DOes it crash too early maybe?
-
@nitanmarcel sshd has start conditions in the main upstart conf file, maybe its just not ready. I know what to do next, lemme get home
-
@Flohack If it crashed to early should't ssh not enable at all?
Ok we'll see later when you get home
-
Just to also mention: I've also tried editing the /etc/init.d/rc file and the same result. I can't get to get the command's output
-
@Flohack Anything new? ^^
-
@Flohack https://del.dog/ghogimohun.txt I did a verbose log on sshing and I've noticed it hands at pledging the network.
Also using
ssh -vvvv -p22 phablet@10.15.19.82 /bin/bash -i --noprofile --norc
doesn't seem to freeze my terminal but it still hangs -
@Flohack Finally I did it.
dmesg: https://paste.ubuntu.com/p/JBwm33jz6s/
lxc-checkconfig: https://paste.ubuntu.com/p/HVWmTjW9BP/Finally. I edited every upstart config to get this :))
-
@nitanmarcel I encountered the same problem, how did you solve it?