1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-14 23:24:38 +03:00
Martin Pitt 574edc9006 nspawn: Add try-{host,guest} journal link modes
--link-journal={host,guest} fail if the host does not have persistent
journalling enabled and /var/log/journal/ does not exist. Even worse, as there
is no stdout/err any more, there is no error message to point that out.

Introduce two new modes "try-host" and "try-guest" which don't fail in this
case, and instead just silently skip the guest journal setup.

Change -j to mean "try-guest" instead of "guest", and fix the wrong --help
output for it (it said "host" before).

Change systemd-nspawn@.service.in to use "try-guest" so that this unit works
with both persistent and non-persistent journals on the host without failing.

https://bugs.debian.org/770275
2014-11-21 14:27:26 +01:00
..
2014-09-25 16:39:18 +02:00
2014-11-05 20:45:10 -05:00
2014-09-25 16:39:18 +02:00
2012-05-22 16:12:25 +02:00
2013-06-27 04:17:34 +02:00
2013-06-27 04:17:34 +02:00