Skip to content

Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.

C

rc.jobs.ssh: the same wrong reason, and the line that did nothing

vcvkk66704212cda3
diff --git a/userland/rc.jobs.ssh b/userland/rc.jobs.ssh
index 5d432a7..e689a12 100644
--- a/userland/rc.jobs.ssh
+++ b/userland/rc.jobs.ssh
@@ -7,11 +7,9 @@
# (dropbear would be smaller, but its package in Procursus depends on libtomcrypt1 and libtommath1,
# which are in no suite of that repository: it cannot be installed at all.)
# The host key is made on the computer and shipped with the image (build.sh), because ssh-keygen on
-# the phone answers "No user exists for uid 0": the job that serves the user database,
-# com.apple.mobile.usermanagerd, is loaded into the user's domain and a program of root's does not
-# find it there. launchctl is asked to put it into the system domain first, since sshd must look up
-# the user it lets in. PAM is turned off on the command line: there is no pam.d for sshd in the
-# prefix, and the key is all we want anyway.
+# the phone cannot make one: it asks who uid 0 is through libiosexec, the prefix's own lookups, which
+# init now answers by building /var/jb/etc/pwd.db when it grafts the prefix. PAM is turned off on the
+# command line: there is no pam.d for sshd in the prefix, and the key is all we want anyway.
# The switcher of running applications is opened on the way, so that a run serves both purposes:
# the purple cards are there to look at while the shell is open (see rc.jobs.switcher).
/redwood/bin/sound_test springboard