-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Description
Submission type
- Bug report
- Request for enhancement (RFE)
NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!
systemd version the issue has been seen with
232
NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!
Used distribution
debian stretch rc2
Expected behaviour you didn't see
stubinit should send SIGTERM to the child process if it receives SIGRTMIN+3
Unexpected behaviour you saw
stubinit process didn't send SIGTERM to the child process, it gets killed after a timeout
Steps to reproduce the problem
- run any process in a systemd-nspawn started container as pid 2 (pid1 should be the stubinit) like this:
systemd-nspawn --user=root --kill-signal=SIGRTMIN+3 --as-pid2 -D /var/lib/machines/container/ /opt/print_signals.py
- power off the container with machinectl:
machinectl poweroff container
No signal is sent to the process and it is killed after a timeout.
(i used a debian jessie system for the container but this shouldn't matter)
Reactions are currently unavailable