]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn.c
nspawn: permit --ephemeral with --link-journal=try-* (treat as =no)
authorIvan Shapovalov <intelfx@intelfx.name>
Sat, 20 Jan 2024 11:52:28 +0000 (12:52 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Feb 2024 18:03:41 +0000 (03:03 +0900)
commit00fcd79e65305a0d2657312b001467a055b04801
tree29b83cc46e59ef2951b2a9e8fe31a81b35609ec2
parent85686b37b098b5de4707776ad89598727bf7453f
nspawn: permit --ephemeral with --link-journal=try-* (treat as =no)

Common sense says that to "try" something means "to not fail if
something turns out not to be possible", thus do not make this
combination a hard error.

The actual implementation ignores any --link-journal= setting when
--ephemeral is in effect, so the semantics are upheld.
man/systemd-nspawn.xml
src/nspawn/nspawn.c