Unfortunately strace didn't reveal much. However, I created a small program to show the signal.
Using test.c I can see that when testing with Ubuntu 14.10 the program always creates the "testing.txt" file on restart. However, if I test with Ubuntu 15.04, that file is never created in the same use case. Contrary to my previous claim, it behaves the same way in reboot & shutdown: Mosh gets the error on reconnect and "test.c" never creates the testing.txt file. SIGTERM is never received. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446982 Title: Wrong kill mode on shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/mosh/+bug/1446982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs