kit/ForKit.cpp | 4 ++++ wsd/LOOLWSD.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
New commits: commit 894c5f2cc256d9db69add9c0922dd937e297fb98 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Aug 10 11:11:05 2017 +0200 Warn more about missing capabilities, and advise what to do on SLES11. Change-Id: I93587db6fa32c1c505877c20857799be71ee162f diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp index 5dde307f..32ee85e1 100644 --- a/kit/ForKit.cpp +++ b/kit/ForKit.cpp @@ -501,7 +501,11 @@ int main(int argc, char** argv) LOG_INF("Note: LD_BIND_NOW is not set."); if (!NoCapsForKit && !haveCorrectCapabilities()) + { + std::cerr << "FATAL: Capabilities are not set for the loolforkit program." << std::endl; + std::cerr << "If you are on SLES11, please set 'file_caps=1' as kernel boot option." << std::endl << std::endl; return Application::EXIT_SOFTWARE; + } // Initialize LoKit if (!globalPreinit(loTemplate)) diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 17eb4ff6..8cc04d37 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -2597,7 +2597,7 @@ int LOOLWSD::innerMain() { const auto msg = "Failed to fork child processes."; LOG_FTL(msg); - std::cerr << msg << std::endl; + std::cerr << "FATAL: " << msg << std::endl; throw std::runtime_error(msg); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits