[systemd-devel] systemctl stuck when run restart

Michael Biebl mbiebl at gmail.com
Sat Oct 5 15:40:27 UTC 2019


Am Sa., 5. Okt. 2019 um 17:06 Uhr schrieb Hongyi Zhao <hongyi.zhao at gmail.com>:
> Type=notify

> $ sudo systemctl start ssh
> ^C
> werner at localhost:~/software/openssh$ sudo systemctl restart ssh
> ^C
>
> If I don't hit ^C, the command will stuck there for ever.

I don't think the upstream openssh supports sd_notify.
E.g in Debian it's a custom patch
https://salsa.debian.org/ssh-team/openssh/blob/master/debian/patches/systemd-readiness.patch

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list