[systemd-devel] systemctl reboot/shutdown freezes client

Reindl Harald h.reindl at thelounge.net
Tue Jan 14 19:14:18 PST 2014



Am 15.01.2014 03:57, schrieb Andrey Borzenkov:
> В Wed, 15 Jan 2014 02:54:16 +0100
> Reindl Harald <h.reindl at thelounge.net> пишет:
> 
>> can someone please have a look why starting with Fedora 20/RHEL7
>> and systemd-208 after typing "systemctl reboot" no longer waits
>> until sshd is closing the client connection resulting in a completly
>> frozen VT ignoring CTRL+C and waiting for KeepAlive timeout
>>
> 
> If you mean - you ssh into VM, then reboot VM and your client ssh
> "hangs" - you can use "~." to quit it. You should always be prepared for
> something like this - nobody can guarantee your server or network won't
> die in the middle of session.

that is not the point, what someone *can* do does not fix bugs

the point is that it now *predictable* hangs and in case the VM is running
on the same machine i am sitting in front of it is very unlikely that the
newtwork dies nor does it in case of a LAN with bonding devices
_______________________

the opposite is true:

SSH-CLient:
KeepAlive            yes
ServerAliveCountMax  10
ServerAliveInterval  20

SSH-Server:
KeepAlive            yes
ClientAliveCountMax  10
ClientAliveInterval  20

hence i can even reboot the VPN server i am connected through to a different
one wihtout lose touch because of KeepAlive, but if the first systemd does
after reboot/shutdown command is killing my network session *that* hangs and
KeepAlive hardly works between reboots of the ssh-server belonging to that session

that behavior may result in all sorts of troubles in case of network-mounts
not properly unmounted and what not else - a bug is a bug and stays a bug
_______________________

>> https://bugzilla.redhat.com/show_bug.cgi?id=1023788
>>
>> systemd-208-11.fc20.x86_64
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=491024
>> still the same problem

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140115/23a9082f/attachment-0001.pgp>


More information about the systemd-devel mailing list