Hi, On 29.06.2012 18:12, Michael Stapelberg wrote:
> Is there any workaround for this situation, except for installing dbus > and libpam-systemd? In case there isn’t, shouldn’t we make dbus and > libpam-systemd a hard requirement? There is a simple workaround: Install a native .service file for ssh and set KillMode=process. This way, only the main process is killed on stop, and not the complete process-group (which is the default). Copy the attached file to /etc/systemd/system/ssh.service, run systemctl daemon-reload and systemctl restart ssh.service. That should be all. That said, I would still recommend to simply install and use libpam-systemd. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
[Unit] Description=OpenBSD Secure Shell server [Service] ExecStart=/usr/sbin/sshd Type=forking PIDFile=/var/run/sshd.pid KillMode=process
signature.asc
Description: OpenPGP digital signature

