executor: apply LogLevelMax earlier
authorLuca Boccassi <bluca@debian.org>
Sun, 3 Dec 2023 18:30:07 +0000 (18:30 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 4 Dec 2023 02:45:22 +0000 (11:45 +0900)
commitcc9f4cad8cd759ab55048dc7a3eaa2c2fb0344da
treed7c45f1ff4500d4fb79d7ca445d445dd563e86c5
parentb88f0fdc8793dd6ab2fabfd1bb151a19736c8382
executor: apply LogLevelMax earlier

SELinux logs before we have a chance to apply it, move it up as it
breaks TEST-04-JOURNAL:

[  408.578624] testsuite-04.sh[11463]: ++ journalctl -b -q -u silent-success.service
[  408.578743] testsuite-04.sh[11098]: + [[ -z Dec 03 13:38:41 H systemd-executor[11459]: SELinux enabled state cached to: disabled ]]

Follow-up for: bb5232b6a3b8a
src/core/exec-invoke.c