chiark / gitweb /
journal: add ability to browse journals of running OS containers
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Dec 2013 21:04:03 +0000 (22:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Dec 2013 21:04:03 +0000 (22:04 +0100)
commitb6741478e7661c7e580e5dcfd6a6fccd1899c1d0
treeb29e463c8113c914a21b45226a845424214ece21
parent842129f58752864d4433792c9c47d40508c4439a
journal: add ability to browse journals of running OS containers

This adds the new library call sd_journal_open_container() and a new
"-M" switch to journalctl. Particular care is taken that journalctl's
"-b" switch resolves to the current boot ID of the container, not the
host.
TODO
man/journalctl.xml
man/sd_journal_open.xml
src/journal/journalctl.c
src/journal/libsystemd-journal.sym
src/journal/sd-journal.c
src/libsystemd-bus/bus-container.c
src/libsystemd-bus/sd-bus.c
src/shared/logs-show.c
src/shared/logs-show.h
src/systemd/sd-journal.h