[lxc-devel] [lxc/lxc] d4b5d7: monitor: send SIGTERM to the container when SIGHUP...
GitHub
noreply at github.com
Mon Feb 5 15:00:28 UTC 2018
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: d4b5d7a8b418a14f6f97bc00df9b529eb09ea4f8
https://github.com/lxc/lxc/commit/d4b5d7a8b418a14f6f97bc00df9b529eb09ea4f8
Author: Tycho Andersen <tycho at tycho.ws>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
monitor: send SIGTERM to the container when SIGHUP is received
For the ->execute() case, we want to make sure the application dies when
SIGHUP is received. The next patch will ignore SIGHUP in the lxc monitor,
because tasks inside the container send SIGHUP to init to have it reload
its config sometimes, and we don't want to do that with init.lxc, since it
might actually kill the container if it forwards SIGHUP to the child and
the child can't handle it.
Signed-off-by: Tycho Andersen <tycho at tycho.ws>
Commit: 186dfb166aeddb92ef2e52a3bcad17ae05fa2030
https://github.com/lxc/lxc/commit/186dfb166aeddb92ef2e52a3bcad17ae05fa2030
Author: Tycho Andersen <tycho at tycho.ws>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lxc/lxc_init.c
Log Message:
-----------
lxc.init: ignore SIGHUP
see comment for details.
Signed-off-by: Tycho Andersen <tycho at tycho.ws>
Commit: af3f9cc96e951394c566762d6f874acb1bf9fd76
https://github.com/lxc/lxc/commit/af3f9cc96e951394c566762d6f874acb1bf9fd76
Author: Serge Hallyn <serge at hallyn.com>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/lxc/lxc_init.c
M src/lxc/start.c
Log Message:
-----------
Merge pull request #2130 from tych0/sigterm-handling
Sigterm handling
Compare: https://github.com/lxc/lxc/compare/05f2fed73168...af3f9cc96e95
More information about the lxc-devel
mailing list