The rescue and emergency modes in systemd are not working correctly. For example, if systemd boots into emergency mode: """ Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into default mode. /bin/sh: /usr/bin/sulogin: not found """ In /lib/systemd/system/rescue.service and /lib/systemd/system/emergency.service, the following line has the wrong path to sulogin: ExecStart=-/bin/sh -c "/usr/bin/sulogin; /bin/systemctl --fail --no-block default" The path to sulogin is actually /sbin/sulogin.
The services have the right path to sulogin when using the daisy release.
Fixed by https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8e19349b696d4a3e8576ba64e935cf3a43bc7940.