https://bugzilla.kernel.org/show_bug.cgi?id=218266 --- Comment #5 from Alexander (aralni@xxxxxxx) --- Thanks for the code, I tested it. On my machine it does not respond to system reboots. That is, the SIGTERM signal does not reach the program. In the log there is only "ok..". If I send a signal explicitly (killall -sTERM a.out) “Received signal is: 15” appears in the log. I tested it on different kernels: both distribution and self-assembled ones. Both with user rights for the program and with superuser rights by setting set uid root. Maybe it's a distribution feature (I'm using Debian sid) that the signal reaches systemd, but not other programs? -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.