[systemd-devel] ssh.service in rescue.target

Lennart Poettering lennart at poettering.net
Mon Nov 2 14:46:24 UTC 2020


On Do, 29.10.20 14:31, Phillip Susi (phill at thesusis.net) wrote:

> I used to just have to add-wants ssh.service to rescue.target and I
> could isolate to rescue mode for remote system maintainence without
> loosing remote access to the server.  After an upgrade, even though
> ssh.service is wanted by rescue.target, it is still killed if I
> isolate.  How can I figure out why?

Look at the logs?

if they are not immeidately helpful, consider turning on debug logging
in systemd first, and then redoing the action and then looking at the
logs. You can use "systemd-analyze log-level debug" to turn on debug
logging in PID 1 any time.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list