]> git.proxmox.com Git - pve-container.git/commit
poststop: reboot: wait for lxc to exit before rebooting
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 Mar 2017 13:54:28 +0000 (14:54 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 9 Mar 2017 14:16:33 +0000 (15:16 +0100)
commitff867097e8a5ea1ab6ff1d5cbc381a4212c37254
tree135839235304ad8a79cb677cc52396ee98a2e0b9
parent37634d3dc7da5b3bbc7a7f7679f8fd89b9b8e99b
poststop: reboot: wait for lxc to exit before rebooting

otherwise it'll leak cgroup directories...

Note that we need to escape the lxc@.service context (by
entering a new scope) as well as close our ties to the lxc
monitor (the stdout pipe), otherwise this never finishes
properly.
src/lxc-pve-poststop-hook