imageloader: Fix to error logging for --unmount_all.

BUG=chromium:760007
BUG=chromium:773924
TEST=test_that -b amd64-generic <ip:port> platform_ImageLoaderServer

Change-Id: Idf22cd6f52c00ce93a511c3ba54e9b9ea190e682
Reviewed-on: https://chromium-review.googlesource.com/713637
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Greg Kerr <kerrnel@chromium.org>
Reviewed-by: Greg Kerr <kerrnel@chromium.org>
(cherry picked from commit 1e51d8b63530b571c20edc37c0e336637d1f9e00)
Reviewed-on: https://chromium-review.googlesource.com/718992
Commit-Queue: Greg Kerr <kerrnel@chromium.org>
Trybot-Ready: Greg Kerr <kerrnel@chromium.org>
1 file changed
tree: 659516e4430b0b17b44c6cf840578f60ee999a60
  1. .presubmitignore
  2. README.md
  3. component.cc
  4. component.h
  5. component_unittest.cc
  6. dbus_adaptors/
  7. dbus_permissions/
  8. dbus_service/
  9. helper_process.cc
  10. helper_process.h
  11. imageloader-shutdown.conf
  12. imageloader.cc
  13. imageloader.conf
  14. imageloader.gyp
  15. imageloader.h
  16. imageloader_impl.cc
  17. imageloader_impl.h
  18. imageloader_main.cc
  19. imageloader_unittest.cc
  20. imageloader_wrapper
  21. ipc.proto
  22. mock_helper_process.h
  23. mock_verity_mounter.h
  24. mount_helper.cc
  25. mount_helper.h
  26. public_keys/
  27. run_tests.cc
  28. seccomp/
  29. test_utilities.cc
  30. test_utilities.h
  31. testdata/
  32. verity_mounter.cc
  33. verity_mounter.h
  34. verity_mounter_impl.cc
  35. verity_mounter_impl.h
  36. verity_mounter_unittest.cc
README.md

src/platform/imageloader

This aims to provide a generic utility to verify and load (mount) signed disk images through DBUS IPC.

Binaries

  • imageloader

imageloader handles the mounting of disk images. imageloader should be executed via the imageloader_wrapper script, which ensures that imageloader's storage exists and is owned by imageloaderd user. When imageloader is not running, DBus will automatically invoke it. After 20 seconds of inactivity, the service exits.