tree: 18ad28441929c19b0e808f36003c7df00cc15a15 [path history] [tgz]
  1. dbus/
  2. encryption/
  3. init/
  4. proto/
  5. scheduler/
  6. storage/
  7. util/
  11. missive_daemon.h
  13. OWNERS

Missive Daemon

The Missive Daemon encrypts, stores, and forwards reporting records enqueued on its DBus interface. The interface allows other CrOS daemons and Chrome to enqueue records which are then encrypted and stored on disk. Records are enqueued in different priority queues, which have different upload periods. Once the storage daemon determines that a queue is ready for upload (i.e. the requisite period has elapsed), it sends records to Chrome to be uploaded to the Reporting Server. On successful upload, records are deleted from disk.

Note: This is a complementary daemon to the //chrome/browser/policy/messaging_layer package in chromium.

Build and Deploy

# HOST (inside chroot)
~$ cros_workon-${BOARD} start missive
~$ emerge-${BOARD} missive
~$ cros deploy root@${IP_ADDRESS} missive

# Until the missived ebuild is added to the overlay
# before starting missived copy the passwd/group
~$ scp /build/${BOARD}/etc/passwd  root@{IP_ADDRESS}:/etc/passwd
~$ scp /build/${BOARD}/etc/group  root@{IP_ADDRESS}:/etc/group

~# start missived

Original design docs

Note that aspects of the design may have evolved since the original design docs were written.