"a stop job is running for User Manager for 0"

Paul Wouters paul at nohats.ca
Thu Feb 6 21:02:26 UTC 2014


On Thu, 6 Feb 2014, Reindl Harald wrote:

> which is user 0
> that is yours, an not only yours
> https://bugzilla.redhat.com/show_bug.cgi?id=1023820

This workaround solved my problem: https://bugzilla.redhat.com/show_bug.cgi?id=1023788#c2

basically:

cat > /etc/systemd/system/sshd-shutdown.service [Unit]
Description=kill all sshd sessions
Requires=mutil-user.target

[Service]
ExecStart=/usr/bin/killall sshd
Type=oneshot

[Install]
WantedBy=shutdown.target reboot.target poweroff.target

systemctl daemon-reload
systemctl enable sshd-shutdown.service


Thanks for the pointer Harald!

I do hope the systemd people can fix the real problem with sshd.

Paul


More information about the devel mailing list