-
Notifications
You must be signed in to change notification settings - Fork 656
Ctrl + C signal not working in v0.4.2 #687
Comments
@junxy I've seen this issue too, not terribly sure what causes it. CTRL+C works fine for me, but I have seen times where it doesn't but I've never reproduced. I run Linux, so I'll try your setup on a Mac and see if it happens to me. |
Have the same issue here, but only in the (default) ephemeral console. In A quick test shows that in the ephemeral console:
Strange detail is that when you start |
I've reproduced this also, there is something up with the default console and the signal handling. |
+1, same issue here...very annoying Interesting: CTRL+C works fine on instance based on rancher-os 0.4.1, even after upgraded to 0.4.2 using ros update on instance with fresh 0.4.2 CTRL+C does not work (at least in ping and tail -f) |
Do you use |
Both instances use the ephemeral (busybox) console and never used any other console. |
Same issue here. Fresh, disk install of 0.4.2 in virtualbox 4.3 on Linux. |
I upgraded with |
Trying it again I could use CTRL + C on a machine upgraded to |
Just noticed the same thing: I installed 2 identical machines, both with a fresh 0.4.2, no custom configuration, default ephemeral console. On machine A CTRL+C worked, on machine B it didn't. Logging out and back in with SSH does not change this. However, after a reboot the situation was reversed. Some more reboot tests confirmed it's "random" if a booted machine will accept CTRL+C in the console. It really looks like some kind of race condition at boot time or when starting the |
+1 when i start RancherOS, run the folloing command |
I have to say, this issue is driving me nuts. If you do |
Just checked |
This is now working about 75% of the time. |
I might have found the root cause for this signal problem. It is explained could in this issue, this patch and this discussion I did do a quick script to check the signal mask for a given pid |
@kyzh You can boot the latest rancherOS in AWS and then use Took me a while to figure out that's all that was involved. If you want more control you can run an install from a container. Here's an example from when I was testing an RC release: sudo system-docker run --privileged -it --entrypoint=/scripts/set-disk-partitions rancher/os:v0.4.3-rc2 /dev/xvdf
sudo system-docker run --privileged -it -v /home:/home -v /opt:/opt rancher/os:v0.4.3-rc2 -d /dev/xvdf -t amazon-ebs-hvm -c $(pwd)/cloud-config.yml Contents of #cloud-config
rancher:
cloud_init:
datasources:
- ec2 |
Updating the version of Go has seemed to fix it in current master. Will be in v0.4.4 |
need some configure?
The text was updated successfully, but these errors were encountered: