From: Jérémie Galarneau Date: Wed, 16 Oct 2019 22:22:32 +0000 (-0400) Subject: Fix: sessiond: session destruction errors are unreported X-Git-Tag: v2.12.0-rc1~306 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=3285a971b225891df3dc7c2796176ce1f94665fe;hp=3285a971b225891df3dc7c2796176ce1f94665fe;p=lttng-tools.git Fix: sessiond: session destruction errors are unreported The session daemon does not report errors which occur while setting-up a session's destruction. For instance, if the implicit rotation or rotation to the "null" chunk fails. While the session will be destroyed (it will no longer appear in session listings), the session daemon could have failed to destroy it properly and it could be corrupted/unreadable. This reports those errors so the user does not expect the session to be readable (but it _could_ be). This was discovered while investigating another, unrelated, issue. Signed-off-by: Jérémie Galarneau ---