[systemd-devel] ctrl-s + shutdown

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Jun 1 03:42:29 PDT 2012


On 06/01/2012 12:33 PM, Lukáš Nykrýn wrote:
> Hello,
> A customer had complained about this behavior:
> 1) login to system
> 2) press ctrl+s
> 3) log to this computer from another machine using ssh
> 4) type shutdown -h now through ssh 
> 5) ?
> 
> Their problem is that in RHEL5(sysvinit) 5) is "nothing until user press
> ctrl+q, than shutdown" but in RHEL6(upstart) system goes to shutdown
> immediately. 
> 
> I was not sure which one is correct, so I tried what would systemd
> (44-12.fc17) do in this case. 
Let's put the question in a different way: is it correct for the system
to stop responding if some user presses ctrl+s on a console? I think
that the answer is pretty obvious.

Zbyszek


More information about the systemd-devel mailing list