diff --git a/init.d/00_ptyd.service b/init.d/00_ptyd.service index 2879c8ad70..6ed4ed8164 100644 --- a/init.d/00_ptyd.service +++ b/init.d/00_ptyd.service @@ -3,4 +3,9 @@ description = "PTY daemon" [service] cmd = "ptyd" -type = "notify" +# ptyd registers the "pty" scheme and signals readiness by sending its scheme +# cap fd back to init (redox_scheme ready_sync_scheme / ready_with_fd), so init +# must receive that fd via call_ro(FD) — i.e. type must be {scheme="pty"}, NOT +# "notify". With "notify" init waits for a readiness byte ptyd never sends and +# blocks forever at ptyd, before the console/login stack. See ptyd/src/main.rs. +type = { scheme = "pty" }