diff options
author | Nick Rosbrook <enr0n@ubuntu.com> | 2023-10-12 19:39:56 +0200 |
---|---|---|
committer | Nick Rosbrook <enr0n@ubuntu.com> | 2023-10-13 21:28:50 +0200 |
commit | 411d8c72ecc31f1e7ecfa70b40e7766093aa14b2 (patch) | |
tree | 131208fe7b7f2f32fe6b0de48c5402607277b999 /units/systemd-nspawn@.service.in | |
parent | man: document CoredumpReceive= setting (diff) | |
download | systemd-411d8c72ecc31f1e7ecfa70b40e7766093aa14b2.tar.xz systemd-411d8c72ecc31f1e7ecfa70b40e7766093aa14b2.zip |
nspawn: set CoredumpReceive=yes on container's scope when --boot is set
When --boot is set, and --keep-unit is not, set CoredumpReceive=yes on
the scope allocated for the container. When --keep-unit is set, nspawn
does not allocate the container's unit, so the existing unit needs to
configure this setting itself.
Since systemd-nspawn@.service sets --boot and --keep-unit, add
CoredumpReceives=yes to that unit.
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r-- | units/systemd-nspawn@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index 079d6064f6..ff66d4090a 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -26,6 +26,7 @@ SuccessExitStatus=133 Slice=machine.slice Delegate=yes DelegateSubgroup=supervisor +CoredumpReceive=yes TasksMax=16384 {{SERVICE_WATCHDOG}} |